fbxnull.h

Go to the documentation of this file.
00001 /****************************************************************************************
00002  
00003    Copyright (C) 2012 Autodesk, Inc.
00004    All rights reserved.
00005  
00006    Use of this software is subject to the terms of the Autodesk license agreement
00007    provided at the time of installation or download, or which otherwise accompanies
00008    this software in either electronic or hard copy form.
00009  
00010 ****************************************************************************************/
00011 
00013 #ifndef _FBXSDK_SCENE_GEOMETRY_NULL_H_
00014 #define _FBXSDK_SCENE_GEOMETRY_NULL_H_
00015 
00016 #include <fbxsdk/fbxsdk_def.h>
00017 
00018 #include <fbxsdk/scene/geometry/fbxnodeattribute.h>
00019 
00020 #include <fbxsdk/fbxsdk_nsbegin.h>
00021 
00022 class FbxManager;
00023 
00027 class FBXSDK_DLL FbxNull : public FbxNodeAttribute
00028 {
00029     FBXSDK_OBJECT_DECLARE(FbxNull,FbxNodeAttribute);
00030 
00031 public:
00033     virtual FbxNodeAttribute::EType GetAttributeType() const;
00034 
00036     void Reset();
00037 
00042 
00047     enum ELook
00048     {
00049         eNone,
00050         eCross,
00051     };
00052 
00056     double GetSizeDefaultValue() const;
00057 
00059 
00064     static const char*          sSize;
00065     static const char*          sLook;
00067 
00072     static const FbxDouble     sDefaultSize;
00073     static const ELook      sDefaultLook;
00075 
00076 
00078     //
00079     // Properties
00080     //
00082 
00090     FbxPropertyT<FbxDouble>       Size;
00091 
00099     FbxPropertyT<ELook>            Look;
00100 
00101 
00103 //
00104 //  WARNING!
00105 //
00106 //  Anything beyond these lines may not be documented accurately and is
00107 //  subject to change without notice.
00108 //
00110 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00111     virtual FbxObject& Copy(const FbxObject& pObject);
00112 
00113 protected:
00114     FbxNull(FbxManager& pManager, char const* pName);
00115 
00116     virtual void Construct(const FbxNull* pFrom);
00117     virtual bool ConstructProperties(bool pForceSet);
00118 
00119 public:
00120     virtual FbxStringList GetTypeFlags() const;
00121 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
00122 };
00123 
00124 inline EFbxType FbxTypeOf(const FbxNull::ELook&){ return eFbxEnum; }
00125 
00126 #include <fbxsdk/fbxsdk_nsend.h>
00127 
00128 #endif /* _FBXSDK_SCENE_GEOMETRY_NULL_H_ */