00001
00002
00003
00004
00005
00006
00007
00008
00010
00012
00018 #ifndef _seDRMRenderingProperties_h
00019 #define _seDRMRenderingProperties_h
00020
00021 #include "seDRMBase.h"
00022
00023 namespace sedris {
00024
00030 class seDRMRenderingProperties : public seDRMBase
00031 {
00032 public:
00033
00035 seDRMRenderingProperties() {}
00036
00038 seDRMRenderingProperties( const seObject &other ) : seDRMBase(other) {}
00039
00041 SE_Pixel_Fill_Method get_fill_method() { DRMBASE_RET_FIELDS(Rendering_Properties, fill_method); }
00042
00044 void set_fill_method( SE_Pixel_Fill_Method val ) { DRMBASE_SET_FIELDS(Rendering_Properties, fill_method, val); }
00045
00047 SE_Shading_Method get_shading_method() { DRMBASE_RET_FIELDS(Rendering_Properties, shading_method); }
00048
00050 void set_shading_method( SE_Shading_Method val ) { DRMBASE_SET_FIELDS(Rendering_Properties, shading_method, val); }
00051
00053 SE_Colour_Binding get_colour_binding() { DRMBASE_RET_FIELDS(Rendering_Properties, colour_binding); }
00054
00056 void set_colour_binding( SE_Colour_Binding val ) { DRMBASE_SET_FIELDS(Rendering_Properties, colour_binding, val); }
00057
00059 const SE_Display_Style& get_style() { DRMBASE_RET_FIELDS(Rendering_Properties, style); }
00060
00062 void set_style( const SE_Display_Style &val ) { DRMBASE_SET_FIELDS(Rendering_Properties, style, val); }
00063
00065 void set_style( SE_Integer_Unsigned Solid, SE_Integer_Unsigned Wireframe ) {
00066 DRMBASE_ALLOC_FIELDS;
00067 DRMBASE_SET_FIELDS_S(Rendering_Properties, style, Solid, Solid);
00068 DRMBASE_SET_FIELDS_S(Rendering_Properties, style, Wireframe, Wireframe);
00069 }
00070
00072 const SE_Display_Side& get_side() { DRMBASE_RET_FIELDS(Rendering_Properties, side); }
00073
00075 void set_side( const SE_Display_Side &val ) { DRMBASE_SET_FIELDS(Rendering_Properties, side, val); }
00076
00078 void set_side( SE_Integer_Unsigned Front, SE_Integer_Unsigned Back ) {
00079 DRMBASE_ALLOC_FIELDS;
00080 DRMBASE_SET_FIELDS_S(Rendering_Properties, side, Front, Front);
00081 DRMBASE_SET_FIELDS_S(Rendering_Properties, side, Back, Back);
00082 }
00083
00085 virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_RENDERING_PROPERTIES; }
00086
00087 };
00088
00089 }
00090
00091 #endif // _seDRMRenderingProperties_h