Open Reality Reference Guide
FBModelPath3D Class Reference

Path 3D model class. More...

#include <fbmodelpath3d.h>

Inheritance diagram for FBModelPath3D:

Public Types

enum  EKeyPropertyBehavior {
  eLegacyVector4 ,
  eVector
}
 Key property behavior. More...
 
enum  ELengthUnitType {
  eArchitectural = 0 ,
  eMI ,
  eCM ,
  eM ,
  eKM
}
 Path Length Unit enum. More...
 
enum  EPathEndCapStyle {
  eNone ,
  eArrow
}
 Path end cap style enum. More...
 
typedef FBPropertyBaseEnum< EKeyPropertyBehaviorPropertyKeyPropertyBehavior
 
typedef FBPropertyBaseEnum< ELengthUnitTypePropertyUnitType
 
typedef FBPropertyBaseEnum< EPathEndCapStylePropertyPathEndCapStyle
 
- Public Types inherited from FBBox
enum  ECandidateAction {
  eCandidateAccept ,
  eCandidateIntercept ,
  eCandidateInterceptAfterEvaluation
}
 Resolving action for candidates. More...
 

Public Member Functions

 FBModelPath3D (const char *pName, HIObject pObject=NULL)
 Constructor. More...
 
void ShowCurveControls (bool pShow)
 Enable or disable displaying Curve Controls for the 3D model path. More...
 
void ShowCurvePoints (bool pShow)
 Enable or disable displaying Curve Points for the 3D model path. More...
 
int PathKeyGetCount ()
 Query the number of keys present in the path. More...
 
FBVector4d PathKeyGet (int pKeyIndex)
 Get path's key vector for at a particular key index. More...
 
void PathKeySet (int pKeyIndex, FBVector4d pTLocal, bool pUpdate=true)
 Set the local coordinate vector values for path at a particular key index. More...
 
void PathKeySetLeftRightTangent (int pKeyIndex, FBVector4d pKeyTLocal, FBVector4d pLeftTangentTLocal, FBVector4d pRightTangentTLocal, bool pUpdate=true)
 Set path's vectors for key, left tangent and right tangent at a particular key index. More...
 
void PathKeyRemove (int pKeyIndex)
 Remove key at a particular index. More...
 
void PathKeyClear ()
 Clear the path keys. More...
 
void PathKeySetLeftTangent (int pKeyIndex, FBVector4d pTLocal, bool pUpdate=true)
 Set path's key left tangent vector for designated index. More...
 
void PathKeySetRightTangent (int pKeyIndex, FBVector4d pTLocal, bool pUpdate=true)
 Set 3D path's key right tangent vector for designated index. More...
 
FBVector4d PathKeyGetLeftTangent (int pKeyIndex)
 Get the path key left tangent's vector value for designated index. More...
 
FBVector4d PathKeyGetRightTangent (int pKeyIndex)
 Get the path key right tangent's vector value for designated index. More...
 
void PathKeySetXDerivative (int pKeyIndex, double pDerivative, bool pUpdate)
 Set derivative in X coordinate for a path tangent. More...
 
void PathKeySetYDerivative (int pKeyIndex, double pDerivative, bool pUpdate)
 Set derivative in Y coordinate for a path tangent. More...
 
void PathKeySetZDerivative (int pKeyIndex, double pDerivative, bool pUpdate)
 Set derivative in Z coordinate for a path tangent. More...
 
void PathKeySetXYZDerivative (int pKeyIndex, FBVector4d pDerivative, bool pUpdate)
 Set derivative in XYZ coordinates for a path tangent. More...
 
FBVector4d PathKeyGetXYZDerivative (int pKeyIndex)
 Get vector in XYZ coordinates for a path tangent. More...
 
double PathKeyGetLeftTangentLength (int pKeyIndex)
 Query the length of the left tangent. More...
 
double PathKeyGetRightTangentLength (int pKeyIndex)
 Query the value of the right tangent. More...
 
int GetSelectedPathKeyCount ()
 Query the number of keys present in the selected path. More...
 
void PathKeyRemoveSelected ()
 Remove the selected keys from the path. More...
 
int InsertNewStartKey ()
 Insert a new key at the start of the path. More...
 
int InsertNewEndKey ()
 Insert a new key at the end of the path. More...
 
int PathKeyStartAdd (FBVector4d pTLocal)
 Adds a new key to the start of the path (with time gap of 1 sec). More...
 
int PathKeyEndAdd (FBVector4d pTLocal)
 Adds a new key to the end of the path (with time gap of 1 sec). More...
 
int PathKeyInsertAfter (int pKeyIndex, FBVector4d pTLocal)
 Adds a new key immediately after the specified key ID (with time gap of 1 sec). More...
 
FBPropertyPathKeyGetProperty (int pKeyIndex)
 Get the path key's corresponding property. More...
 
FBModelPathKeyGetControlNode (int pKeyIndex)
 Get the path key's control node. More...
 
bool PathKeySetControlNode (int pKeyIndex, FBModel *pControlNode)
 Set the path key's control node. More...
 
int Total_IsPathKey (double pTotalPercent, FBEvaluateInfo *pEvaluateInfo=NULL)
 Query whether a percentage value has a key associated at that point in the path. More...
 
FBVector4d Total_GlobalPathEvaluate (double pTotalPercent, FBEvaluateInfo *pEvaluateInfo=NULL)
 Get the path's vector at a particular point within the curve, in global coordinates. More...
 
FBVector4d Total_LocalPathEvaluate (double pTotalPercent, FBEvaluateInfo *pEvaluateInfo=NULL)
 Get the path's vector at a particular point within the curve, in local coordinates. More...
 
FBVector4d Total_GlobalPathEvaluateDerivative (double pTotalPercent, FBEvaluateInfo *pEvaluateInfo=NULL)
 Get the path's derivative at a particular point within the curve, in global coordinates. More...
 
FBVector4d Total_LocalPathEvaluateDerivative (double pTotalPercent, FBEvaluateInfo *pEvaluateInfo=NULL)
 Get the path's derivative at a particular point within the curve, in local coordinates. More...
 
int Segment_IsPathKey (double pSegmentPercent, FBEvaluateInfo *pEvaluateInfo=NULL)
 Query whether a percentage value has a key associated at that point in the path. More...
 
FBVector4d Segment_GlobalPathEvaluate (double pSegmentPercent, FBEvaluateInfo *pEvaluateInfo=NULL)
 Get the path's vector at a particular point within the curve, in global coordinates. More...
 
FBVector4d Segment_LocalPathEvaluate (double pSegmentPercent, FBEvaluateInfo *pEvaluateInfo=NULL)
 Get the path's vector at a particular point within the curve, in local coordinates. More...
 
FBVector4d Segment_GlobalPathEvaluateDerivative (double pSegmentPercent, FBEvaluateInfo *pEvaluateInfo=NULL)
 Get the path's derivative at a particular point within the curve, in global coordinates. More...
 
FBVector4d Segment_LocalPathEvaluateDerivative (double pSegmentPercent, FBEvaluateInfo *pEvaluateInfo=NULL)
 Get the path's derivative at a particular point within the curve, in local coordinates. More...
 
double ConvertTotalPercentToSegmentPercent (double pPercent, FBEvaluateInfo *pEvaluateInfo=NULL)
 Converting one key type Total (percent) to Segment (time). More...
 
double ConvertSegmentPercentToTotalPercent (double pPercent, FBEvaluateInfo *pEvaluateInfo=NULL)
 Converting one key type Segment (time) to Total (percent). More...
 
double ConvertToSegmentPercentFactor ()
 Get factor for multiplying the derivative of a key for segment mode. More...
 
double ConvertToTotalPercentFactor ()
 Get factor for multiplying the derivative of a key for total mode. More...
 
void UpdateGeometry ()
 Update path geometry explicitly. More...
 
- Public Member Functions inherited from FBModel
 FBModel (const char *pName, HIObject pObject=NULL)
 Constructor. More...
 
virtual void FBDelete () override
 Open Reality deletion function. More...
 
 IQuery_Declare (override)
 Interface to IObject. More...
 
 ICallback_Declare (override)
 Interface to ICallback. More...
 
virtual FBModelClone ()
 Clone the model. More...
 
void SetMatrix (FBMatrix pMatrix, FBModelTransformationType pWhat=kModelTransformation, bool pGlobalInfo=true, bool pPushUndo=false, FBEvaluateInfo *pEvaluateInfo=NULL)
 Set a matrix for the model. More...
 
void GetMatrix (FBMatrix &pMatrix, FBModelTransformationType pWhat=kModelTransformation, bool pGlobalInfo=true, FBEvaluateInfo *pEvaluateInfo=NULL)
 Get a matrix from the model. More...
 
void GetLocalTransformationMatrixWithGlobalRotationDoF (FBMatrix &pMatrix, bool pInverse=false, FBEvaluateInfo *pEvaluateInfo=NULL)
 Get the local transformation (or local inverse transformation) matrix with the global Rotation DoF values from the model. More...
 
void SetVector (FBVector3d pVector, FBModelTransformationType pWhat=kModelTranslation, bool pGlobalInfo=true, bool pPushUndo=false, FBEvaluateInfo *pEvaluateInfo=NULL)
 Set a vector for the model. More...
 
void GetVector (FBVector3d &pVector, FBModelTransformationType pWhat=kModelTranslation, bool pGlobalInfo=true, FBEvaluateInfo *pEvaluateInfo=NULL)
 Get a vector from the model. More...
 
bool IsEvaluationReady (FBModelEvaluationTaskType pWhat, FBEvaluateInfo *pEvaluateInfo=NULL) const
 Is the model's evaluation task result ready. More...
 
void MatrixToRotation (FBRVector &pRotation, const FBMatrix &pMatrix)
 Convert Rotation Matrix to Euler Vector based on model's rotation order. More...
 
void RotationToMatrix (FBMatrix &pMatrix, const FBRVector &pRotation)
 Convert Euler Vector to Rotation Matrix based on model's rotation order. More...
 
void LRMToDof (FBRVector &pDof, const FBMatrix &pLM)
 Convert local matrix to object space vector. More...
 
void DofToLRM (FBMatrix &pLM, const FBRVector &pDof)
 Convert object space vector to local matrix. More...
 
void SetSchematicPosition (int pX, int pY)
 Set the position in the schematic view for the model. More...
 
void SetSchematicPosition (FBVector2d pVector2d)
 Set the position in the schematic view for the model. More...
 
FBVector2d GetSchematicPosition ()
 Get the position in the schematic view for the model. More...
 
void GetBoundingBox (FBVector3d &pMin, FBVector3d &pMax)
 Get the bounding box of the model. More...
 
bool IsVisible (FBEvaluateInfo *pEvaluateInfo=NULL)
 If the model is visible. More...
 
FBModelCullingMode GetCullingMode () const
 Get Model Culling Mode. More...
 
void SetCullingMode (FBModelCullingMode pCullingMode)
 Set Model Cullin Mode. More...
 
void ForceAlwaysEvaluate ()
 Force Always Evaluate. More...
 
bool IsForceAlwaysEvaluate ()
 Return Force Always Evaluate status. More...
 
int NoFrustumCullingRequire ()
 Acquire no frustum culling request. More...
 
int NoFrustumCullingRelease ()
 Release no frustum culling request. More...
 
bool UseFrustumCulling ()
 Get the current Frustum Culling Status. More...
 
virtual bool HasCustomDisplay ()
 Function to overload to handle custom display. More...
 
virtual void CustomModelDisplay (FBCamera *pCamera, FBModelShadingMode pShadingMode, FBModelRenderPass pRenderPass, float pPickingAreaWidth, float pPickingAreaHeight)
 Custom display function, called when HasCustomDisplay returns true;. More...
 
virtual bool CustomModelPicking (int pNbHits, unsigned int *pSelectBuffer, FBCamera *pCamera, int pMouseX, int pMouseY, FBTVector *pLocalRaySrc, FBTVector *pLocalRayDir, FBTVector *pWorldRaySrc, FBTVector *pWorldRayDir, FBMatrix *pGlobalInverseMatrix, FBTVector *pOutPickedPoint)
 Custom picking for selection, called when HasCustomDisplay returns true;. More...
 
virtual bool ClosestRayIntersection (const FBTVector &pRayOrigin, const FBTVector &pRayEnd, FBTVector &pIntersectPos, FBNormal &pIntersectNormal)
 Determines the first intersection point's position and normal between ray and model surface
More...
 
unsigned char * GetSelectedPoints ()
 Get the list of the points selection state. More...
 
int GetSelectedPointsCount ()
 Get the number of selected points in the model. More...
 
bool SetAdditionalUniqueColorIDCount (unsigned int pCount)
 Request additional Unique color IDs. More...
 
unsigned int GetAdditionalUniqueColorIDCount () const
 Get additional unique color count. More...
 
FBColor GetAdditionalUniqueColorID (unsigned int pIndex) const
 Get Additional Unique Color Id. More...
 
virtual bool FbxStore (FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
 Store and Retrieve function that can be overloaded. More...
 
virtual bool FbxRetrieve (FBFbxObject *pFbxObject, kFbxObjectStore pStoreWhat) override
 Request additional Unique color IDs. More...
 
void SetupPropertiesForShapes ()
 Setup Shape Properties. More...
 
bool RayCast (FBCamera *pCamera, int pMouseX, int pMouseY, FBVector3d &pHitPosition, FBVector3d &pHitNormal)
 Ray cast test. More...
 
virtual const char * FbxGetObjectType () override
 Returns the class type inherited by the class of an object, for example: 'Model'. More...
 
virtual const char * FbxGetObjectSubType () override
 Returns the class sub type inherited by the class of an object, for example: 'Default', 'Mesh'. More...
 
void SetMatrixWithPrecision (FBMatrix pMatrix, FBModelTransformationType pWhat=kModelTransformation, bool pGlobalInfo=true, bool pPushUndo=false, FBEvaluateInfo *pEvaluateInfo=NULL, double pPrecision=FBMat2EulerDegenerateForPrecision10)
 Set a matrix for the model. More...
 
unsigned int GetHierarchyWorldMatrices (FBMatrix *pMatricesArray, unsigned int pMatricesArrayCount, FBModelHiercharyTraverserType pHiercharyTraverserType, FBEvaluateInfo *pEvaluateInfo=NULL)
 Computes the global transform matrices between this model and all its children (all levels). More...
 
void CollapseInSchematic ()
 Collapse the model in the schematic view. More...
 
void ExpandInSchematic ()
 Expand the model in the schematic view. More...
 
bool IsCollapsedInSchematic () const
 Returns if the model is collapsed or not (expanded) in the schematic view. More...
 
virtual bool ManipulatorNotify (FBSelectionAction pAction)
 Callback for component selection in custom FBModel. More...
 
- Public Member Functions inherited from FBBox
 FBBox (const char *pName, HIObject pObject=NULL)
 Constructor. More...
 
virtual FBAnimationNodeAnimationNodeInCreate (kReference pUserId, const char *pName, const char *pDataType, bool pIsPublic=false, double *pMin=NULL, double *pMax=NULL, bool pUserData=false)
 Creation of IN/OUT Animation Nodes. More...
 
virtual FBAnimationNodeAnimationNodeOutCreate (kReference pUserId, const char *pName, const char *pDataType, bool pIsPublic=false, double *pMin=NULL, double *pMax=NULL, bool pUserData=false)
 
virtual bool EvaluateAnimationNodes (FBEvaluateInfo *pEvaluateInfo)
 Evaluation of non TRS nodes that needs to be evaluated. More...
 
virtual bool AnimationNodeNotify (FBAnimationNode *pAnimationNode, FBEvaluateInfo *pEvaluateInfo)
 Notification function for animation thread. More...
 
virtual bool ResolveCandidate (FBAnimationNode *pAnimationNode, FBEvaluateInfo *pEvaluateInfo)
 Function is call when candidate needs to be resolved (like global to local). More...
 
virtual ECandidateAction SetGlobalCandidate (FBAnimationNode *pAnimationNode, double *pData, FBEvaluateInfo *pEvaluateInfo)
 Function is call when a global candidate is set on an animation node. More...
 
virtual ECandidateAction SetStdCandidate (FBAnimationNode *pAnimationNode, double *pData, FBEvaluateInfo *pEvaluateInfo)
 Function is call when a non-global candidate is set on an animation node. More...
 
virtual bool AnimationNodeDestroy (FBAnimationNode *pAnimationNode)
 Destroy an animation node. More...
 
virtual bool AnimationNodeIsUserData (FBAnimationNode *pAnimationNode)
 Is the animation node user data? More...
 
virtual void AnimationNodesOutDisableIfNotWritten (FBEvaluateInfo *pEvaluateInfo)
 This call will disable all out animation nodes from being pull by system (animation thread) for given pEvaluateInfo. More...
 
virtual FBAnimationNodeAnimationNodeInGet ()
 Get the (IN/OUT) animation node for this box. More...
 
virtual FBAnimationNodeAnimationNodeOutGet ()
 
 IObject_Declare (override)
 
virtual int GetOutConnectorCount () const
 Get the number of animation node outputs for this box. More...
 
virtual int GetInConnectorCount () const
 Get the number of animation node inputs for this box. More...
 
virtual FBAnimationNodeGetOutConnector (int pIndex) const
 Get the animation node output associated with the given index. More...
 
virtual FBAnimationNodeGetInConnector (int pIndex) const
 Get the animation node input associated with the given index. More...
 
- Public Member Functions inherited from FBComponent
 FBComponent (HIObject pObject)
 Constructor. More...
 
virtual ~FBComponent ()
 Destructor. More...
 
virtual bool FBCreate ()
 Open Reality Creation function. More...
 
virtual void FBDestroy ()
 Open Reality destruction function. More...
 
virtual bool SetHIObject (HIObject pObject, bool pSDKComponent) override
 Assign component to an internal pointer. More...
 
virtual int PropertyAdd (FBProperty *pProperty)
 Add a property to the component's property manager. More...
 
bool PropertyAddReferenceProperty (FBProperty *pReferenceProperty)
 Add a reference property to the component's property manager. More...
 
void PropertyRemove (FBProperty *pProperty)
 Remove a Property from the component's Property manager. More...
 
void PropertyGetModifiedList (FBArrayTemplate< FBProperty * > &pPropList, FBPlugModificationFlag pModificationFlags)
 Get list of properties which have been modified since last loading. More...
 
FBPropertyPropertyCreate (const char *pName, FBPropertyType pType, const char *pDataType, bool pAnimatable, bool pIsUser=false, FBProperty *pReferenceSource=NULL)
 Create user or dynamic property. More...
 
FBObjectFlag GetObjectFlags ()
 Get all Object Flags (concatenated). More...
 
void SetObjectFlags (FBObjectFlag pFlags)
 SetObjectFlags. More...
 
bool HasObjectFlags (FBObjectFlag pFlags)
 Check whether a specific object flag is enabled. More...
 
void EnableObjectFlags (FBObjectFlag pFlags)
 Enable a specific Object Flags. More...
 
void DisableObjectFlags (FBObjectFlag pFlags)
 Disable a specific Object Flags. More...
 
void SetObjectStatus (FBObjectStatus pStatus, bool pValue)
 Enable/Disable a specific Object Status. More...
 
bool GetObjectStatus (FBObjectStatus pStatus)
 Check to see if an object status is enabled. More...
 
bool ProcessNamespaceHierarchy (FBNamespaceAction pNamespaceAction, const char *pNamespaceName, const char *pReplaceTo=NULL, bool pAddRight=true)
 ProcessNamespaceHierarchy. More...
 
bool ProcessObjectNamespace (FBNamespaceAction pNamespaceAction, const char *pNamespaceName, const char *pReplaceTo=NULL, bool pAddRight=true)
 ProcessObjectNamespace. More...
 
virtual const char * ClassName () override
 Get the class name. More...
 
virtual bool UseCustomPropertyViewSet () const
 Use the custom property viewSet or not. More...
 
const char * GetFullName (void)
 Get the full name. More...
 
void SetOwnerNamespace (FBNamespace *pOwnerNSObj)
 Set the owner Namespace object. More...
 
FBNamespaceGetOwnerNamespace (void)
 Get the owner Namespace object. More...
 
FBFileReferenceGetOwnerFileReference (void)
 Get the owner FileReference object. More...
 
void HardSelect ()
 HardSelect. More...
 
virtual bool Is (int pTypeId) override
 Returns true if object is of type TypeId. More...
 
virtual int GetTypeId () override
 GetTypeId( int pTypeId ) More...
 
- Public Member Functions inherited from FBWrapperHolder
FBScriptWrapperGetWrapper ()
 Return the wrapper interface of this FBObject. More...
 
void AddWrapper (FBScriptWrapper *)
 
void RemoveWrapper (FBScriptWrapper *)
 

Public Attributes

PropertyKeyPropertyBehavior KeyPropertyBehavior
 Read Only Property: Key property behavior. More...
 
FBPropertyBool AutoControlNode
 Read Write Property: Automatically create key control nodes. More...
 
FBPropertyDouble PathLength
 Read Only Property: Path Length In Centimeter. More...
 
FBPropertyString PathLengthInString
 Read Only Property: Path Length Display String According To The Current Unit. More...
 
PropertyUnitType PathLengthUnit
 Read Write Property: Path Length Unit. More...
 
FBPropertyBool PathLengthShow
 Read Write Property: Path length label display or not. More...
 
FBPropertyDouble TextScale
 Read Write Property: Path Length label display scale. More...
 
FBPropertyColorAndAlpha TextBackground
 Read Write Property: Path Length label display background color. More...
 
PropertyPathEndCapStyle PathEndCapStyle
 Read Write Property: Path end cap display style. More...
 
FBPropertyDouble PathEndCapScale
 Read Write Property: Path end cap display scale. More...
 
FBPropertyAnimatableColor Color
 Read Write Property: Path display color in viewport. More...
 
- Public Attributes inherited from FBModel
FBPropertyListModel Children
 List: Children for model. More...
 
FBPropertyListShader Shaders
 List: Shaders for model. More...
 
FBPropertyListMaterial Materials
 List: Materials for model. More...
 
FBPropertyListTexture Textures
 List: Textures with Special UseType (Other than "Color" which should connect to materials). More...
 
FBPropertyListDeformer Deformers
 List: Deformers (Skeleton Deformer or Point Cache Deformer). More...
 
FBPropertyBool Icon3D
 Read Write Property: Is model a 3D icon? More...
 
FBPropertyBool SoftSelected
 Read Write Property: Is model Soft selected? More...
 
FBPropertyBool IsDeformable
 Read Only Property: Is model deformable? More...
 
FBPropertyBool IsConstrained
 Read Only Property: Is model constrained? More...
 
FBPropertyBool SkeletonDeformable
 Read Write Property: Model skeleton deformable. Not Savable More...
 
FBPropertyBool BlendShapeDeformable
 Read Write Property: Model blend-shape deformable. Not Savable More...
 
FBPropertyBool ConstrainDeformable
 Read Write Property: Model constraint deformable. Not Savable More...
 
FBPropertyBool PointCacheDeformable
 Read Write Property: Model point cache deformable. Not Savable More...
 
FBPropertyBool PointCacheRecord
 Read Write Property: Record Point Cache for model? Not Savable More...
 
FBPropertyModel Parent
 Read Write Property: Parent model. More...
 
FBPropertyModel LookAt
 Read Write Property: Look at model (interest point). More...
 
FBPropertyModel UpVector
 Read Write Property: UpVector model. More...
 
FBPropertyGeometry Geometry
 Read Write Property: Geometry for the model. More...
 
FBPropertyInt GeometryUpdateId
 Read Only Property: model geometry (vertex data) related update id. More...
 
FBPropertyMesh TessellatedMesh
 Read Only Property: Tessellated Mesh for the model. More...
 
FBPropertyModelVertexData ModelVertexData
 Read Only Property: ModelVertexData for the model. More...
 
FBPropertyCluster Cluster
 Read Only Property: Link Cluster for the model. More...
 
FBPropertyScene Scene
 Read Only Property: Scene containing the model. More...
 
FBPropertyModelShadingMode ShadingMode
 Read Write Property: Shading mode for the model. More...
 
FBPropertyAnimationNode AnimationNode
 Read Only Property: Animation node of the model. More...
 
FBPropertyModelRotationOrder RotationOrder
 Read Write Property: Rotation order. More...
 
FBPropertyBool RotationSpaceForLimitOnly
 Read Write Property: Apply Post Rotation Matrix only for Limits? More...
 
FBPropertyBool RotationActive
 Read Write Property: Is model using Rotation Limits? More...
 
FBPropertyVector3d PreRotation
 Read Write Property: Pre Rotation (considered if RotationActive is true) More...
 
FBPropertyVector3d PostRotation
 Read Write Property: Post Rotation (considered if RotationActive is true) More...
 
FBPropertyVector3d RotationMin
 Read Write Property: Min Rotation Limit (considered if RotationActive is true) More...
 
FBPropertyVector3d RotationMax
 Read Write Property: Max Rotation Limit (considered if RotationActive is true) More...
 
FBPropertyBool RotationMinX
 Read Write Property: Is model using Minimum Rotation Limits On X? More...
 
FBPropertyBool RotationMinY
 Read Write Property: Is model using Minimum Rotation Limits On Y? More...
 
FBPropertyBool RotationMinZ
 Read Write Property: Is model using Minimum Rotation Limits On Z? More...
 
FBPropertyBool RotationMaxX
 Read Write Property: Is model using Maximum Rotation Limits On X? More...
 
FBPropertyBool RotationMaxY
 Read Write Property: Is model using Maximum Rotation Limits On Y? More...
 
FBPropertyBool RotationMaxZ
 Read Write Property: Is model using Maximum Rotation Limits On Z? More...
 
FBPropertyBool TranslationActive
 Read Write Property: Is model using Translation Limits? More...
 
FBPropertyVector3d TranslationMin
 Read Write Property: Translation Limit Min. More...
 
FBPropertyVector3d TranslationMax
 Read Write Property: Translation Limit Max. More...
 
FBPropertyBool TranslationMinX
 Read Write Property: Is model using Translation Limits on Min X. More...
 
FBPropertyBool TranslationMinY
 Read Write Property: Is model using Translation Limits on Min Y. More...
 
FBPropertyBool TranslationMinZ
 Read Write Property: Is model using Translation Limits on Min Z. More...
 
FBPropertyBool TranslationMaxX
 Read Write Property: Is model using Translation Limits on Max X. More...
 
FBPropertyBool TranslationMaxY
 Read Write Property: Is model using Translation Limits on Max Y.
More...
 
FBPropertyBool TranslationMaxZ
 Read Write Property: Is model using Translation Limits on Max Z.
More...
 
FBPropertyAnimatableBool Visibility
 Read Write Property: Visibility of model. This can be overridden by the 'Show' property. More...
 
FBPropertyBool VisibilityInheritance
 Read Write Property: //!< When this value is set to True the Visibility of this model is also applied to all its descendants More...
 
FBPropertyAnimatableVector3d Translation
 Read Write Property: Lcl translation. More...
 
FBPropertyAnimatableVector3d Rotation
 Read Write Property: Lcl rotation. More...
 
FBPropertyAnimatableVector3d Scaling
 Read Write Property: Lcl scaling. More...
 
FBPropertyVector3d GeometricTranslation
 Read Write Property: Geometric translation. More...
 
FBPropertyVector3d GeometricRotation
 Read Write Property: Geometric rotation. More...
 
FBPropertyVector3d GeometricScaling
 Read Write Property: Geometric scaling. More...
 
FBPropertyBool QuaternionInterpolate
 Read Write Property: Use quaternion interpolation. More...
 
FBPropertyBool Show
 Read Write Property: Indicate if the viewer should show the object, according to its visibility value. This has a default value of 'false'. More...
 
FBPropertyBool Pickable
 Read Write Property: Indicate if a model can be picked in the viewer. This has a default value of 'true'. More...
 
FBPropertyBool Transformable
 Read Write Property: Indicate if a model can be transformable in the viewer. This has a default value of 'true'. More...
 
FBPropertyColor UniqueColorId
  Read Only Property: Unique Color Id for color based viewer picking. Color channel values are in the range [0, 1] with 1.0/255 precision.
More...
 
FBPropertyBool PrimaryVisibility
 Read Write Property: Control the geometry render state. Geometry can still cast shadows even if this is turned off. More...
 
FBPropertyBool CastsShadows
 Read Write Property: If true, the geometry will produce shadows. More...
 
FBPropertyBool ReceiveShadows
 Read Write Property: If true, the geometry will receive shadows. More...
 
- Public Attributes inherited from FBBox
const char * UniqueName
 internal Unique name. More...
 
FBPropertyBool Animatable
 Read Write Property: Is the box animatable. More...
 
FBPropertyBool Live
 Read Write Property: Is live? More...
 
FBPropertyBool RecordMode
 Read Write Property: Is recording? More...
 
- Public Attributes inherited from FBComponent
FBPropertyManager PropertyList
 Read Only Property: Manages all of the properties for the component. More...
 
FBPropertyListComponent Components
 List: List of components. More...
 
FBPropertyListComponent Parents
 List: Parents. More...
 
FBPropertyBool Selected
 Read Write Property: Selected property. More...
 
FBPropertyString Name
 Read Write Property: Unique name of object. More...
 
FBPropertyString LongName
 Read Write Property: Name and namespace for object.
More...
 
FBPropertyFolder Folder
 Read Write Property: The folder that contain this component. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from FBComponent
static int GetInternalClassId ()
 
static void FBComponentSetName (FBComponent *pObject, const char *pName)
 
static const char * FBComponentGetName (FBComponent *pObject)
 
static void FBComponentSetLongName (FBComponent *pObject, const char *pName)
 
static const char * FBComponentGetLongName (FBComponent *pObject)
 
- Static Public Attributes inherited from FBComponent
static int TypeInfo
 Contains the Type information of the object. More...
 
- Protected Member Functions inherited from FBPlug
bool IsSDKComponent ()
 Return whether or not item is an SDK component. More...
 
bool ConnectSrc (FBPlug *pSrc, FBConnectionType pConnectionType=kFBConnectionTypeNone)
 Add a source connection. More...
 
bool ConnectDst (FBPlug *pDst, FBConnectionType pConnectionType=kFBConnectionTypeNone)
 Add a destination connection. More...
 
bool ConnectSrcAt (int pDst_SrcIndex, FBPlug *pSrc, FBConnectionType pConnectionType=kFBConnectionTypeNone)
 Add a source connection. More...
 
bool ConnectDstAt (int pSrc_DstIndex, FBPlug *pDst, FBConnectionType pConnectionType=kFBConnectionTypeNone)
 Add a destination connection. More...
 
bool DisconnectDst (FBPlug *pDst)
 Remove a destination connection. More...
 
bool DisconnectSrc (FBPlug *pSrc)
 Remove a source connection. More...
 
void DisconnectAllSrc ()
 Remove all source connections. More...
 
void DisconnectAllDst ()
 Remove all destination connections. More...
 
bool DisconnectDstAt (int pIndex)
 Remove a destination connection at a specified index. More...
 
bool DisconnectSrcAt (int pIndex)
 Remove a source connection at a specified index. More...
 
bool ReplaceDstAt (int pIndex, FBPlug *pDst)
 Replace a destination connection at a specified index. More...
 
bool ReplaceSrcAt (int pIndex, FBPlug *pSrc)
 Replace a source connection at a specified index. More...
 
bool SwapSrc (int pIndexA, int pIndexB)
 Swap source connection at index A with source connection at index B. More...
 
bool MoveSrcAt (int pIndex, int pAtIndex)
 Move source connection at pIndex to pAtIndex. More...
 
bool MoveSrcAt (FBPlug *pSrc, FBPlug *pAtSrc)
 Move source connection pSrc to the position of pAtSrc. More...
 
int GetSrcCount ()
 Get source connection count. More...
 
FBPlugGetSrc (int pIndex)
 Get a source connection's plug at specified index. More...
 
FBConnectionType GetSrcType (int pIndex)
 Get a source connection's type at specified index. More...
 
int GetDstCount ()
 Get destination connection count. More...
 
FBPlugGetDst (int pIndex)
 Get a destination connection's plug at specified index. More...
 
FBConnectionType GetDstType (int pIndex)
 Get a destination connection's type at specified index. More...
 
bool BeginChange ()
 Begins a change on multiple plugs. More...
 
void EndChange ()
 Ends a change on multiple plugs. More...
 
void SetSelfModified (FBPlugModificationFlag pFlag, bool pBool)
 Set the plug's self modification flag. More...
 
bool GetSelfModified (FBPlugModificationFlag pFlag)
 Tell if the plug's self has changed. More...
 
void SetContentModified (FBPlugModificationFlag pFlag, bool pBool)
 Set the plug's owned property/object's modification flag. More...
 
bool GetContentModified (FBPlugModificationFlag pFlag)
 Tell if the plug's content has changed. More...
 
int GetPlugConnectionModifiedList (FBPlugList &pPlugList, FBPlugModificationFlag pConnectionModificatonFlag, bool pAddRemove)
 Get plug's modified src/dst property/object connection added/removed List. More...
 
bool RevertModification (FBPlugModificationFlag pFlag=kFBAllModifiedMask)
 Revert the plug's modification to original status. More...
 
void SetStatusFlag (FBPlugStatusFlag pStatus, bool pValue)
 Set the plug's status flag. More...
 
bool GetStatusFlag (FBPlugStatusFlag pStatus) const
 Tell if the plug's status has changed. More...
 
FBPlugGetOwner ()
 Get the owner of this plug. More...
 
FBPlugGetOwned (int pIndex)
 Get the owned plug at specified index. More...
 
int GetOwnedCount ()
 Get the owned plug count. More...
 
virtual bool PlugDataNotify (FBConnectionAction pAction, FBPlug *pThis, void *pData=NULL, void *pDataOld=NULL, int pDataSize=0)
 PlugDataNotify when overloaded is equivalent of FBSystem.OnConnectionDataNotify but in the context of the derived object only. More...
 
virtual bool PlugStateNotify (FBConnectionAction pAction, FBPlug *pThis, void *pData=NULL, void *pDataOld=NULL, int pDataSize=0)
 PlugStateNotify when overloaded is equivalent of FBSystem.OnConnectionStateNotify but in the context of the derived object only. More...
 
virtual bool PlugNotify (FBConnectionAction pAction, FBPlug *pThis, int pIndex, FBPlug *pPlug=NULL, FBConnectionType pConnectionType=kFBConnectionTypeNone, FBPlug *pNewPlug=NULL)
 PlugNotify when overloaded is equivalent of FBSystem.OnConnectionNotify but in the context of the derived object only. More...
 
- Static Protected Member Functions inherited from FBPlug
static int GetInternalClassId ()
 Internal class Id. More...
 
- Protected Attributes inherited from FBPlug
bool mAllocated
 Contain the Allocation State of the Component. More...
 
HIObject mObject
 Handle on the Plug. More...
 
bool mSDKComponent
 bool Plug is an SDK component.
More...
 
- Static Protected Attributes inherited from FBPlug
static const char * ClassGroupName
 ClassGroupName of the object. More...
 
static int TypeInfo
 TypeInfo. More...
 
static int mGlobalTypeInfo
 Represente the Type Index. More...
 

Detailed Description

Path 3D model class.

Definition at line 63 of file fbmodelpath3d.h.

Member Enumeration Documentation

◆ EKeyPropertyBehavior

Key property behavior.

Enumerator
eLegacyVector4 

2014, 2015, 2016. Key property type is Vector4.

eVector 

Introduced after 2016. Key property type is Vector, has improved control node behavior and support for auto control node.

Definition at line 95 of file fbmodelpath3d.h.

◆ ELengthUnitType

Path Length Unit enum.

Definition at line 103 of file fbmodelpath3d.h.

◆ EPathEndCapStyle

Path end cap style enum.

Definition at line 114 of file fbmodelpath3d.h.

Constructor & Destructor Documentation

◆ FBModelPath3D()

FBModelPath3D ( const char *  pName,
HIObject  pObject = NULL 
)

Constructor.

Parameters
pNameName of Path 3D.
pObjectFor internal use only(default=NULL).

Python sample code:

from pyfbsdk import *
path = FBModelPath3D("Test")
## After creation, a path always contain two default keys.
## At this point, path.PathKeyGetCount() will be 2.
path.Show = True
## Reposition the two default keys
path.PathKeySet(0,FBVector4d(0,0,50,0))
path.PathKeySet(1,FBVector4d(50,0,0,0))
## Add new keys at start and end of the path
path.PathKeyStartAdd(FBVector4d(0,0,100,0))
path.PathKeyEndAdd(FBVector4d(100,0,0,0))
## Insert keys inbetween existing keys
path.PathKeyInsertAfter(1,FBVector4d(0,25,50,0))
path.PathKeyInsertAfter(2,FBVector4d(50,25,0,0))
FBModelPath3D(const char *pName, HIObject pObject=NULL)
Constructor.
class K_DLLIMPORT FBVector4< double > FBVector4d
4D vector
Definition: fbtypes.h:441

Member Function Documentation

◆ ConvertSegmentPercentToTotalPercent()

double ConvertSegmentPercentToTotalPercent ( double  pPercent,
FBEvaluateInfo pEvaluateInfo = NULL 
)

Converting one key type Segment (time) to Total (percent).

Parameters
pPercentDouble value (as time)
Returns
Double value which represents the corresponding percentage

◆ ConvertToSegmentPercentFactor()

double ConvertToSegmentPercentFactor ( )

Get factor for multiplying the derivative of a key for segment mode.

Returns
Returns the derivative multiplication factor

◆ ConvertTotalPercentToSegmentPercent()

double ConvertTotalPercentToSegmentPercent ( double  pPercent,
FBEvaluateInfo pEvaluateInfo = NULL 
)

Converting one key type Total (percent) to Segment (time).

Parameters
pPercentDouble value (as percentage)
Returns
Double value which represents the corresponding time.

◆ ConvertToTotalPercentFactor()

double ConvertToTotalPercentFactor ( )

Get factor for multiplying the derivative of a key for total mode.

Returns
Returns the time factor

◆ GetSelectedPathKeyCount()

int GetSelectedPathKeyCount ( )

Query the number of keys present in the selected path.

Returns
Returns the number of keys in the selected path

◆ InsertNewEndKey()

int InsertNewEndKey ( )

Insert a new key at the end of the path.

Returns
Returns (N) where (N+1) is the new total number of keys, and since the new key becomes the Nth key (index starts from 0). If path is invalid, returns 0.

◆ InsertNewStartKey()

int InsertNewStartKey ( )

Insert a new key at the start of the path.

Returns
Returns 0 since the new key becomes the first key. If path is invalid, returns 0.

◆ PathKeyClear()

void PathKeyClear ( )

Clear the path keys.

◆ PathKeyEndAdd()

int PathKeyEndAdd ( FBVector4d  pTLocal)

Adds a new key to the end of the path (with time gap of 1 sec).

The derivative value for the new key is copied from the left tangent of the last key.

Parameters
pTLocalVector value for the new added Key
Returns
Returns (N) where (N+1) is the new total number of keys, and since the new key becomes the Nth key (index starts from 0). If path is invalid, returns 0.

◆ PathKeyGet()

FBVector4d PathKeyGet ( int  pKeyIndex)

Get path's key vector for at a particular key index.

Parameters
pKeyIndexKey ID to set with
Returns
Return the vector containing the value of the path key.

◆ PathKeyGetControlNode()

FBModel* PathKeyGetControlNode ( int  pKeyIndex)

Get the path key's control node.

Only works when KeyPropertyBehavior is eVector.

Parameters
pKeyIndexKey ID to get
Returns
Path key's corresponding control node if successful, otherwise NULL.

◆ PathKeyGetCount()

int PathKeyGetCount ( )

Query the number of keys present in the path.

Returns
Number of keys present in the path

◆ PathKeyGetLeftTangent()

FBVector4d PathKeyGetLeftTangent ( int  pKeyIndex)

Get the path key left tangent's vector value for designated index.

Parameters
pKeyIndexKey ID at which left tangent value is required
Returns
Vector containing value of left tangent

◆ PathKeyGetLeftTangentLength()

double PathKeyGetLeftTangentLength ( int  pKeyIndex)

Query the length of the left tangent.

Parameters
pKeyIndexKey ID to set with
Returns
Double value of the length of left tangent

◆ PathKeyGetProperty()

FBProperty* PathKeyGetProperty ( int  pKeyIndex)

Get the path key's corresponding property.

Only works when KeyPropertyBehavior is eVector.

Parameters
pKeyIndexKey ID to get
Returns
Path key's corresponding property if successful, otherwise NULL.

◆ PathKeyGetRightTangent()

FBVector4d PathKeyGetRightTangent ( int  pKeyIndex)

Get the path key right tangent's vector value for designated index.

Parameters
pKeyIndexKey ID to set with
Returns
Vector containing value of left tangent

◆ PathKeyGetRightTangentLength()

double PathKeyGetRightTangentLength ( int  pKeyIndex)

Query the value of the right tangent.

Parameters
pKeyIndexKey ID to set with
Returns
Double value of the length of right tangent

◆ PathKeyGetXYZDerivative()

FBVector4d PathKeyGetXYZDerivative ( int  pKeyIndex)

Get vector in XYZ coordinates for a path tangent.

This works only if key interpolation type is CUBIC and tangent mode is User, Break or Auto.

Parameters
pKeyIndexKey ID to set with
Returns
Vector with value for path's tangent XYZ derivatives

◆ PathKeyInsertAfter()

int PathKeyInsertAfter ( int  pKeyIndex,
FBVector4d  pTLocal 
)

Adds a new key immediately after the specified key ID (with time gap of 1 sec).

The following keys are all shifted by 1 sec.

Parameters
pKeyIndexKey ID to insert after. If key ID < 0 then the behavior is the same as PathKeyStartAdd. If key ID >= PathKeyGetCount-1 then the behavior is the same as PathKeyEndAdd.
pTLocalVector value for the new added Key
Returns
Returns the newly inserted key ID.

◆ PathKeyRemove()

void PathKeyRemove ( int  pKeyIndex)

Remove key at a particular index.

Parameters
pKeyIndexKey ID at which key is to be removed.

◆ PathKeyRemoveSelected()

void PathKeyRemoveSelected ( )

Remove the selected keys from the path.

◆ PathKeySet()

void PathKeySet ( int  pKeyIndex,
FBVector4d  pTLocal,
bool  pUpdate = true 
)

Set the local coordinate vector values for path at a particular key index.


Parameters
pKeyIndexKey ID to set with
pTLocalVector to use to set values to Key
pUpdatetrue if geometry update is required, false if not required (default=true)

◆ PathKeySetControlNode()

bool PathKeySetControlNode ( int  pKeyIndex,
FBModel pControlNode 
)

Set the path key's control node.

Only works when KeyPropertyBehavior is eVector and AutoControlNode is disabled.

Parameters
pKeyIndexKey ID to set
pControlNodeModel to set as path key's control node.
Returns
True if successful, otherwise false.

◆ PathKeySetLeftRightTangent()

void PathKeySetLeftRightTangent ( int  pKeyIndex,
FBVector4d  pKeyTLocal,
FBVector4d  pLeftTangentTLocal,
FBVector4d  pRightTangentTLocal,
bool  pUpdate = true 
)

Set path's vectors for key, left tangent and right tangent at a particular key index.

Parameters
pKeyIndexKey ID to set key for left and right tangents
pKeyTLocalVector to use to set values to Key
pLeftTangentTLocalVector to use to set values to Key Left Tangent
pRightTangentTLocalVector to use to set values to Key Right Tangent
pUpdatetrue if geometry update is required, false if not required (default=true)

◆ PathKeySetLeftTangent()

void PathKeySetLeftTangent ( int  pKeyIndex,
FBVector4d  pTLocal,
bool  pUpdate = true 
)

Set path's key left tangent vector for designated index.

Parameters
pKeyIndexKey ID at which left tangent is to be set
pTLocalVector to use to set values to Key
pUpdatetrue if geometry update is required, false if not required (default=true)

◆ PathKeySetRightTangent()

void PathKeySetRightTangent ( int  pKeyIndex,
FBVector4d  pTLocal,
bool  pUpdate = true 
)

Set 3D path's key right tangent vector for designated index.

Parameters
pKeyIndexKey ID at which right tangent is to be set
pTLocalVector to use to set values to Key
pUpdatetrue if geometry update is required, false if not required (default=true)

◆ PathKeySetXDerivative()

void PathKeySetXDerivative ( int  pKeyIndex,
double  pDerivative,
bool  pUpdate 
)

Set derivative in X coordinate for a path tangent.

This works only if key interpolation type is CUBIC and tangent mode is User, Break or Auto.

Parameters
pKeyIndexKey ID to set with
pDerivativeValue of the derivative to apply to tangent
pUpdatetrue if geometry update is required, false if not required (default=true)

◆ PathKeySetXYZDerivative()

void PathKeySetXYZDerivative ( int  pKeyIndex,
FBVector4d  pDerivative,
bool  pUpdate 
)

Set derivative in XYZ coordinates for a path tangent.

This works only if key interpolation type is CUBIC and tangent mode is User, Break or Auto.

Parameters
pKeyIndexKey ID to set with
pDerivativeValue of the derivative to apply to tangent
pUpdatetrue if geometry update is required, false if not required (default=true)

◆ PathKeySetYDerivative()

void PathKeySetYDerivative ( int  pKeyIndex,
double  pDerivative,
bool  pUpdate 
)

Set derivative in Y coordinate for a path tangent.

This works only if key interpolation type is CUBIC and tangent mode is User, Break or Auto.

Parameters
pKeyIndexKey ID to set with
pDerivativeValue of the derivative to apply to tangent
pUpdatetrue if geometry update is required, false if not required (default=true)

◆ PathKeySetZDerivative()

void PathKeySetZDerivative ( int  pKeyIndex,
double  pDerivative,
bool  pUpdate 
)

Set derivative in Z coordinate for a path tangent.

This works only if key interpolation type is CUBIC and tangent mode is User, Break or Auto.

Parameters
pKeyIndexKey ID to set with
pDerivativeValue of the derivative to apply to tangent
pUpdatetrue if geometry update is required, false if not required (default=true)

◆ PathKeyStartAdd()

int PathKeyStartAdd ( FBVector4d  pTLocal)

Adds a new key to the start of the path (with time gap of 1 sec).

The derivative value for the new key is copied from the right tangent of the first key.

Parameters
pTLocalVector value for the new added Key
Returns
Returns 0 since the new key becomes the first key. If path is invalid, returns 0.

◆ Segment_GlobalPathEvaluate()

FBVector4d Segment_GlobalPathEvaluate ( double  pSegmentPercent,
FBEvaluateInfo pEvaluateInfo = NULL 
)

Get the path's vector at a particular point within the curve, in global coordinates.


Parameters
pSegmentPercentDouble value (as time) at which the path vector would be computed
Returns
Vector value at the required point in the path

◆ Segment_GlobalPathEvaluateDerivative()

FBVector4d Segment_GlobalPathEvaluateDerivative ( double  pSegmentPercent,
FBEvaluateInfo pEvaluateInfo = NULL 
)

Get the path's derivative at a particular point within the curve, in global coordinates.


Parameters
pSegmentPercentDouble value (as time) at which the path derivative would be computed
Returns
Vector value at the required point in the path

◆ Segment_IsPathKey()

int Segment_IsPathKey ( double  pSegmentPercent,
FBEvaluateInfo pEvaluateInfo = NULL 
)

Query whether a percentage value has a key associated at that point in the path.

Parameters
pSegmentPercentDouble value (as time) at which the path would be queried for existence of key
Returns
A valid key index in integer if key is present, otherwise -1

◆ Segment_LocalPathEvaluate()

FBVector4d Segment_LocalPathEvaluate ( double  pSegmentPercent,
FBEvaluateInfo pEvaluateInfo = NULL 
)

Get the path's vector at a particular point within the curve, in local coordinates.


Parameters
pSegmentPercentDouble value (as time) at which the path vector would be computed
Returns
Vector value at the required point in the path

◆ Segment_LocalPathEvaluateDerivative()

FBVector4d Segment_LocalPathEvaluateDerivative ( double  pSegmentPercent,
FBEvaluateInfo pEvaluateInfo = NULL 
)

Get the path's derivative at a particular point within the curve, in local coordinates.


Parameters
pSegmentPercentDouble value (as time) at which the path derivative would be computed
Returns
Vector value at the required point in the path

◆ ShowCurveControls()

void ShowCurveControls ( bool  pShow)

Enable or disable displaying Curve Controls for the 3D model path.

Parameters
pShowtrue if curve controls are to be displayed false if not required

◆ ShowCurvePoints()

void ShowCurvePoints ( bool  pShow)

Enable or disable displaying Curve Points for the 3D model path.

Parameters
pShowtrue if curve points are to be displayed false if not required

◆ Total_GlobalPathEvaluate()

FBVector4d Total_GlobalPathEvaluate ( double  pTotalPercent,
FBEvaluateInfo pEvaluateInfo = NULL 
)

Get the path's vector at a particular point within the curve, in global coordinates.


Parameters
pTotalPercentDouble value (as percentage) at which the path vector would be computed
Returns
Vector value at the required point in the path

◆ Total_GlobalPathEvaluateDerivative()

FBVector4d Total_GlobalPathEvaluateDerivative ( double  pTotalPercent,
FBEvaluateInfo pEvaluateInfo = NULL 
)

Get the path's derivative at a particular point within the curve, in global coordinates.


Parameters
pTotalPercentDouble value (as percentage) at which the path derivative would be computed
Returns
Derivative value at the required point in the path

◆ Total_IsPathKey()

int Total_IsPathKey ( double  pTotalPercent,
FBEvaluateInfo pEvaluateInfo = NULL 
)

Query whether a percentage value has a key associated at that point in the path.

Parameters
pTotalPercentDouble value (as percentage) at which the path would be queried for existence of key
Returns
A valid key index in integer if key is present, otherwise -1

◆ Total_LocalPathEvaluate()

FBVector4d Total_LocalPathEvaluate ( double  pTotalPercent,
FBEvaluateInfo pEvaluateInfo = NULL 
)

Get the path's vector at a particular point within the curve, in local coordinates.


Parameters
pTotalPercentDouble value (as percentage) at which the path vector would be computed
Returns
Vector value at the required point in the path

◆ Total_LocalPathEvaluateDerivative()

FBVector4d Total_LocalPathEvaluateDerivative ( double  pTotalPercent,
FBEvaluateInfo pEvaluateInfo = NULL 
)

Get the path's derivative at a particular point within the curve, in local coordinates.


Parameters
pTotalPercentDouble value (as percentage) at which the path derivative would be computed
Returns
Derivative value at the required point in the path

◆ UpdateGeometry()

void UpdateGeometry ( )

Update path geometry explicitly.

Member Data Documentation

◆ AutoControlNode

FBPropertyBool AutoControlNode

Read Write Property: Automatically create key control nodes.

Definition at line 123 of file fbmodelpath3d.h.

◆ Color

Read Write Property: Path display color in viewport.

Definition at line 132 of file fbmodelpath3d.h.

◆ KeyPropertyBehavior

PropertyKeyPropertyBehavior KeyPropertyBehavior

Read Only Property: Key property behavior.

Definition at line 122 of file fbmodelpath3d.h.

◆ PathEndCapScale

FBPropertyDouble PathEndCapScale

Read Write Property: Path end cap display scale.

Definition at line 131 of file fbmodelpath3d.h.

◆ PathEndCapStyle

PropertyPathEndCapStyle PathEndCapStyle

Read Write Property: Path end cap display style.

Definition at line 130 of file fbmodelpath3d.h.

◆ PathLength

FBPropertyDouble PathLength

Read Only Property: Path Length In Centimeter.

Definition at line 124 of file fbmodelpath3d.h.

◆ PathLengthInString

FBPropertyString PathLengthInString

Read Only Property: Path Length Display String According To The Current Unit.

Definition at line 125 of file fbmodelpath3d.h.

◆ PathLengthShow

FBPropertyBool PathLengthShow

Read Write Property: Path length label display or not.

Definition at line 127 of file fbmodelpath3d.h.

◆ PathLengthUnit

PropertyUnitType PathLengthUnit

Read Write Property: Path Length Unit.

Definition at line 126 of file fbmodelpath3d.h.

◆ TextBackground

FBPropertyColorAndAlpha TextBackground

Read Write Property: Path Length label display background color.

Definition at line 129 of file fbmodelpath3d.h.

◆ TextScale

FBPropertyDouble TextScale

Read Write Property: Path Length label display scale.

Definition at line 128 of file fbmodelpath3d.h.


The documentation for this class was generated from the following file: