00001 #ifndef __domFx_sampler_h__ 00002 #define __domFx_sampler_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domFx_sampler_states.h> 00009 #include <dom/domInstance_image.h> 00010 class DAE; 00011 00016 class domFx_sampler : public daeElement 00017 { 00018 public: 00019 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLER; } 00020 static daeInt ID() { return 122; } 00021 virtual daeInt typeID() const { return ID(); } 00022 00023 protected: // Elements 00024 domInstance_imageRef elemInstance_image; 00025 domFx_sampler_statesRef elemFx_sampler_states; 00026 00027 public: //Accessors and Mutators 00032 const domInstance_imageRef getInstance_image() const { return elemInstance_image; } 00037 const domFx_sampler_statesRef getFx_sampler_states() const { return elemFx_sampler_states; } 00038 protected: 00042 domFx_sampler(DAE& dae) : daeElement(dae), elemInstance_image(), elemFx_sampler_states() {} 00046 virtual ~domFx_sampler() {} 00050 virtual domFx_sampler &operator=( const domFx_sampler &cpy ) { (void)cpy; return *this; } 00051 00052 public: // STATIC METHODS 00057 static DLLSPEC daeElementRef create(DAE& dae); 00063 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00064 }; 00065 00066 00067 #endif