00001 /**************************************************************************************** 00002 00003 Copyright (C) 2013 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_SHADING_LAYER_ENTRY_VIEW_H_ 00014 #define _FBXSDK_SCENE_SHADING_LAYER_ENTRY_VIEW_H_ 00015 00016 #include <fbxsdk/fbxsdk_def.h> 00017 00018 #include <fbxsdk/scene/shading/fbxentryview.h> 00019 #include <fbxsdk/scene/shading/fbxbindingtableentry.h> 00020 #include <fbxsdk/scene/geometry/fbxlayer.h> 00021 00022 #include <fbxsdk/fbxsdk_nsbegin.h> 00023 00024 class FbxLayerContainer; 00025 00033 class FBXSDK_DLL FbxLayerEntryView : public FbxEntryView 00034 { 00035 public: 00036 00040 static const char* sEntryType; 00041 00047 FbxLayerEntryView(FbxBindingTableEntry* pEntry, bool pAsSource, bool pCreate = false ); 00048 00050 virtual ~FbxLayerEntryView(); 00051 00057 void SetLayerElement( int pLayerIndex, FbxLayerElement::EType pType, bool pUVSet ); 00058 00064 void GetLayerElement( int &pLayerIndex, FbxLayerElement::EType& pType, bool& pUVSet ) const; 00065 00070 FbxLayerElement* GetLayerElement( FbxLayerContainer* pContainer ) const; 00071 00076 virtual const char* EntryType() const; 00077 00078 /***************************************************************************************************************************** 00079 ** WARNING! Anything beyond these lines is for internal use, may not be documented and is subject to change without notice! ** 00080 *****************************************************************************************************************************/ 00081 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00082 protected: 00083 static const char* sDelimiter; 00084 #endif /* !DOXYGEN_SHOULD_SKIP_THIS *****************************************************************************************/ 00085 }; 00086 00087 #include <fbxsdk/fbxsdk_nsend.h> 00088 00089 #endif /* _FBXSDK_SCENE_SHADING_LAYER_ENTRY_VIEW_H_ */