fbxlayerentryview.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_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 FbxManager;
00025 class FbxLayerContainer;
00026 
00034 class FBXSDK_DLL FbxLayerEntryView : public FbxEntryView
00035 {
00036 public:
00037 
00041     static const char* sEntryType;
00042 
00048     FbxLayerEntryView(FbxBindingTableEntry* pEntry, bool pAsSource, bool pCreate = false );
00049 
00051     virtual ~FbxLayerEntryView();
00052 
00058     void SetLayerElement( int pLayerIndex, FbxLayerElement::EType pType, bool pUVSet );
00059 
00065     void GetLayerElement( int &pLayerIndex, FbxLayerElement::EType& pType, bool& pUVSet ) const;
00066 
00071     FbxLayerElement* GetLayerElement( FbxLayerContainer* pContainer ) const;
00072 
00077     virtual const char* EntryType() const;
00078 
00080 //
00081 //  WARNING!
00082 //
00083 //  Anything beyond these lines may not be documented accurately and is 
00084 //  subject to change without notice.
00085 //
00087 
00088 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00089 
00090 protected:
00091 
00092     static const char* sDelimiter;
00093 
00094 private:
00095 
00096 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
00097 
00098 };
00099 
00100 #include <fbxsdk/fbxsdk_nsend.h>
00101 
00102 #endif /* _FBXSDK_SCENE_SHADING_LAYER_ENTRY_VIEW_H_ */