1 #ifndef __FBMODEL_PATH3D_H__
2 #define __FBMODEL_PATH3D_H__
46 #define FBSDK_DLL K_DLLIMPORT
53 #ifdef FBSDKUseNamespace
139 void ShowCurveControls(
bool pShow);
144 void ShowCurvePoints(
bool pShow);
151 int PathKeyGetCount();
164 void PathKeySet(
int pKeyIndex,
FBVector4d pTLocal,
bool pUpdate=
true);
173 void PathKeySetLeftRightTangent(
int pKeyIndex,
FBVector4d pKeyTLocal,
FBVector4d pLeftTangentTLocal,
FBVector4d pRightTangentTLocal,
bool pUpdate=
true);
178 void PathKeyRemove(
int pKeyIndex);
191 void PathKeySetLeftTangent(
int pKeyIndex,
FBVector4d pTLocal,
bool pUpdate=
true);
198 void PathKeySetRightTangent(
int pKeyIndex,
FBVector4d pTLocal,
bool pUpdate=
true);
204 FBVector4d PathKeyGetLeftTangent(
int pKeyIndex);
210 FBVector4d PathKeyGetRightTangent(
int pKeyIndex);
217 void PathKeySetXDerivative(
int pKeyIndex,
double pDerivative,
bool pUpdate);
224 void PathKeySetYDerivative(
int pKeyIndex,
double pDerivative,
bool pUpdate);
231 void PathKeySetZDerivative(
int pKeyIndex,
double pDerivative,
bool pUpdate);
238 void PathKeySetXYZDerivative(
int pKeyIndex,
FBVector4d pDerivative,
bool pUpdate);
244 FBVector4d PathKeyGetXYZDerivative(
int pKeyIndex);
250 double PathKeyGetLeftTangentLength(
int pKeyIndex);
256 double PathKeyGetRightTangentLength(
int pKeyIndex);
263 int GetSelectedPathKeyCount();
267 void PathKeyRemoveSelected();
274 int InsertNewStartKey();
279 int InsertNewEndKey();
298 int PathKeyInsertAfter(
int pKeyIndex,
FBVector4d pTLocal);
306 FBProperty* PathKeyGetProperty(
int pKeyIndex);
312 FBModel* PathKeyGetControlNode(
int pKeyIndex);
319 bool PathKeySetControlNode(
int pKeyIndex,
FBModel* pControlNode);
406 double ConvertTotalPercentToSegmentPercent(
double pPercent,
FBEvaluateInfo* pEvaluateInfo=
NULL);
412 double ConvertSegmentPercentToTotalPercent(
double pPercent,
FBEvaluateInfo* pEvaluateInfo=
NULL);
417 double ConvertToSegmentPercentFactor();
422 double ConvertToTotalPercentFactor();
426 void UpdateGeometry();
429 #ifdef FBSDKUseNamespace
FBPropertyDouble PathEndCapScale
Read Write Property: Path end cap display scale.
#define __FBClassDeclare(Name, Parent)
For internal use only.
class FBVector4< double > FBVector4d
4D vector
class FBPropertyBase< double, kFBPT_double > FBPropertyDouble
Property: double
FBPropertyBool PathLengthShow
Read Write Property: Path length label display or not.
FBPropertyColorAndAlpha TextBackground
Read Write Property: Path Length label display background color.
AnimationNodeNotify evaluation information.
Contains definitions for devices, boxes and models.
#define K_DEPRECATED_2017
Property class: const char * (String).
FBPropertyBool AutoControlNode
Read Write Property: Automatically create key control nodes.
class FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
class FBPropertyBase< FBColorAndAlpha, kFBPT_ColorRGBA > FBPropertyColorAndAlpha
FBPropertyColorAndAlpha type definition.
FBPropertyDouble TextScale
Read Write Property: Path Length label display scale.
FBPropertyBaseEnum< ELengthUnitType > PropertyUnitType
EPathEndCapStyle
Path end cap style enum.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
Property: Base property class.
PropertyKeyPropertyBehavior KeyPropertyBehavior
Read Only Property: Key property behavior.
FBPropertyString PathLengthInString
Read Only Property: Path Length Display String According To The Current Unit.
PropertyUnitType PathLengthUnit
Read Write Property: Path Length Unit.
#define FBSDKNamespace
FBSDKNamespace define.
FBPropertyBaseEnum< EKeyPropertyBehavior > PropertyKeyPropertyBehavior
class FBPropertyBaseAnimatable< FBColor, kFBPT_ColorRGB > FBPropertyAnimatableColor
FBPropertyAnimatableColor type definition.
PropertyPathEndCapStyle PathEndCapStyle
Read Write Property: Path end cap display style.
FBPropertyAnimatableColor Color
Read Write Property: Path display color in viewport.
FBPropertyDouble PathLength
Read Only Property: Path Length In Centimeter.
EKeyPropertyBehavior
Key property behavior.
FBPropertyBaseEnum< EPathEndCapStyle > PropertyPathEndCapStyle
ELengthUnitType
Path Length Unit enum.