fbxsdk/scene/geometry/fbxmarker.h Source File

fbxmarker.h
Go to the documentation of this file.
1 /****************************************************************************************
2 
3  Copyright (C) 2015 Autodesk, Inc.
4  All rights reserved.
5 
6  Use of this software is subject to the terms of the Autodesk license agreement
7  provided at the time of installation or download, or which otherwise accompanies
8  this software in either electronic or hard copy form.
9 
10 ****************************************************************************************/
11 
13 #ifndef _FBXSDK_SCENE_GEOMETRY_MARKER_H_
14 #define _FBXSDK_SCENE_GEOMETRY_MARKER_H_
15 
16 #include <fbxsdk/fbxsdk_def.h>
17 
19 
20 #include <fbxsdk/fbxsdk_nsbegin.h>
21 
27 {
29 
30 public:
33 
35  void Reset();
36 
43  enum EType
44  {
48  eEffectorIK
49  };
50 
54  void SetType(EType pType);
55 
59  EType GetType() const;
60 
74  enum ELook
75  {
86  eNone
87  };
88 
98 
103  double GetDefaultOcclusion() const;
104 
109  void SetDefaultOcclusion(double pOcclusion);
110 
115  double GetDefaultIKReachTranslation() const;
116 
121  void SetDefaultIKReachTranslation(double pIKReachTranslation);
122 
127  double GetDefaultIKReachRotation() const;
128 
133  void SetDefaultIKReachRotation(double pIKReachRotation);
134 
139  double GetDefaultIKPull() const;
140 
145  void SetDefaultIKPull(double pIKPull);
146 
151  double GetDefaultIKPullHips() const;
152 
157  void SetDefaultIKPullHips(double pIKPullHips);
158 
160 
165 
171  FbxColor& GetDefaultColor(FbxColor& pColor) const;
172 
177  void SetDefaultColor(FbxColor& pColor);
178 
180 
182  //
183  // Properties
184  //
186 
195 
204 
213 
222 
231 
232  // Dynamic properties
233 
238  FbxProperty GetOcclusion() const;
239 
244  FbxProperty GetIKReachTranslation() const;
245 
250  FbxProperty GetIKReachRotation() const;
251 
256  FbxProperty GetIKPull() const;
257 
262  FbxProperty GetIKPullHips() const;
263 
264 /*****************************************************************************************************************************
265 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
266 *****************************************************************************************************************************/
267 #ifndef DOXYGEN_SHOULD_SKIP_THIS
268  virtual FbxObject& Copy(const FbxObject& pObject);
269 
270 protected:
271  virtual void ConstructProperties(bool pForceSet);
272  virtual const char* GetTypeName() const;
273  virtual FbxStringList GetTypeFlags() const;
274 
275  EType mType;
276 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
277 };
278 
279 inline EFbxType FbxTypeOf(const FbxMarker::ELook&){ return eFbxEnum; }
280 
281 #include <fbxsdk/fbxsdk_nsend.h>
282 
283 #endif /* _FBXSDK_SCENE_GEOMETRY_MARKER_H_ */
#define FBXSDK_OBJECT_DECLARE(Class, Parent)
Macro used to declare a new class derived from FbxObject.
Definition: fbxobject.h:61
EFbxType FbxTypeOf(const FbxMarker::ELook &)
Definition: fbxmarker.h:279
FBX SDK environment definition.
ELook
Marker look.
Definition: fbxmarker.h:74
EType
Marker types.
Definition: fbxmarker.h:43
virtual FbxObject & Copy(const FbxObject &pObject)
Copy an object content into this object.
Array that stores pairs of FbxString and a pointer.
FbxPropertyT< FbxDouble > Size
This property handles the marker's size.
Definition: fbxmarker.h:212
Class to represent colors in RGBA format using doubles.
EType
Node attribute types.
This node attribute contains the properties of a marker.
Definition: fbxmarker.h:26
FbxPropertyT< ELook > Look
This property handles the marker's look.
Definition: fbxmarker.h:194
FbxPropertyT< FbxBool > DrawLink
This property handles the marker's link visibility.
Definition: fbxmarker.h:203
FbxPropertyT< FbxBool > ShowLabel
This property handles the marker's label visibility.
Definition: fbxmarker.h:221
EFbxType
Type identifier constants.
The base class of most FBX objects.
Definition: fbxobject.h:157
Enumeration.
Class to hold user properties.
Definition: fbxproperty.h:37
FbxPropertyT< FbxDouble3 > IKPivot
This property handles the marker's pivot position.
Definition: fbxmarker.h:230
virtual FbxNodeAttribute::EType GetAttributeType() const
Return the type of node attribute.
#define FBXSDK_DLL
Definition: fbxarch.h:173
This class is the base class to all types of node attributes.
virtual void ConstructProperties(bool pForceSet)
Optional property constructor override, automatically called by default constructor.