TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/host/attribute/ParamInteger3D.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_HOST_CORE_ATTRIBUTE_PARAMINTEGER3D_HPP_
00002 #define _TUTTLE_HOST_CORE_ATTRIBUTE_PARAMINTEGER3D_HPP_
00003 
00004 #include "Param.hpp"
00005 #include "ParamInteger.hpp"
00006 
00007 #include <tuttle/host/ofx/attribute/OfxhMultiDimParam.hpp>
00008 
00009 namespace tuttle {
00010 namespace host {
00011 namespace attribute {
00012 
00013 class ParamInteger3D : public Param
00014         , public ofx::attribute::OfxhMultiDimParam<ParamInteger, 3 >
00015 {
00016 public:
00017         ParamInteger3D( INode& effect, const std::string& name, const ofx::attribute::OfxhParamDescriptor& descriptor );
00018         ParamInteger3D* clone() const { return new ParamInteger3D( *this ); }
00019 
00020         Ofx3DPointI getDefault() const;
00021 
00022         void getValue( int& x, int& y, int& z ) const OFX_EXCEPTION_SPEC;
00023         void getValueAtTime( const OfxTime time, int& x, int& y, int& z ) const OFX_EXCEPTION_SPEC;
00024         void setValue( const int& x, const int& y, const int& z, const ofx::attribute::EChange change ) OFX_EXCEPTION_SPEC;
00025         void setValueAtTime( const OfxTime time, const int& x, const int& y, const int& z, const ofx::attribute::EChange change ) OFX_EXCEPTION_SPEC;
00026 };
00027 
00028 }
00029 }
00030 }
00031 
00032 #endif