fbxcontainer.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /****************************************************************************************
  2. Copyright (C) 2015 Autodesk, Inc.
  3. All rights reserved.
  4. Use of this software is subject to the terms of the Autodesk license agreement
  5. provided at the time of installation or download, or which otherwise accompanies
  6. this software in either electronic or hard copy form.
  7. ****************************************************************************************/
  8. //! \file fbxcontainer.h
  9. #ifndef _FBXSDK_SCENE_CONTAINER_H_
  10. #define _FBXSDK_SCENE_CONTAINER_H_
  11. #include <fbxsdk/fbxsdk_def.h>
  12. #include <fbxsdk/core/fbxobject.h>
  13. #include <fbxsdk/scene/fbxcontainertemplate.h>
  14. #include <fbxsdk/fbxsdk_nsbegin.h>
  15. /** Generic container for object grouping and encapsulation.
  16. * \nosubgrouping
  17. */
  18. class FBXSDK_DLL FbxContainer : public FbxObject
  19. {
  20. FBXSDK_OBJECT_DECLARE(FbxContainer, FbxObject);
  21. public:
  22. /**
  23. * \name Container dynamic attributes
  24. */
  25. //@{
  26. /** Create a new property.
  27. * \param pName Name of the property
  28. * \param pType Type of the property
  29. * \param pLabel Label of the property
  30. * \return the newly created property
  31. */
  32. FbxProperty CreateProperty(FbxString pName, FbxDataType & pType, FbxString pLabel);
  33. //@}
  34. /**
  35. * \name Public and fast access Properties
  36. */
  37. //@{
  38. /** This property contains the template name information of the container
  39. *
  40. * To access this property do: TemplateName.Get().
  41. * To set this property do: TemplateName.Set(FbxString).
  42. *
  43. * Default value is "".
  44. */
  45. FbxPropertyT<FbxString> TemplateName;
  46. /** This property contains the template path information of the container
  47. *
  48. * To access this property do: TemplatePath.Get().
  49. * To set this property do: TemplatePath.Set(FbxString).
  50. *
  51. * Default value is "".
  52. */
  53. FbxPropertyT<FbxString> TemplatePath;
  54. /** This property contains the template version information of the container
  55. *
  56. * To access this property do: TemplateVersion.Get().
  57. * To set this property do: TemplateVersion.Set(FbxString).
  58. *
  59. * Default value is "".
  60. */
  61. FbxPropertyT<FbxString> TemplateVersion;
  62. /** This property contains the view name information of the container
  63. *
  64. * To access this property do: ViewName.Get().
  65. * To set this property do: ViewName.Set(FbxString).
  66. *
  67. * Default value is "".
  68. */
  69. FbxPropertyT<FbxString> ViewName;
  70. //@}
  71. /*****************************************************************************************************************************
  72. ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! **
  73. *****************************************************************************************************************************/
  74. #ifndef DOXYGEN_SHOULD_SKIP_THIS
  75. FbxContainerTemplate* mContainerTemplate;
  76. protected:
  77. virtual void Construct(const FbxObject* pFrom);
  78. virtual void ConstructProperties(bool pForceSet);
  79. #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/
  80. };
  81. #include <fbxsdk/fbxsdk_nsend.h>
  82. #endif /* _FBXSDK_SCENE_CONTAINER_H_ */