Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

seDRMColourIndex.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (c) 2004 Accent Geographic. All rights reserved.
00003  *  See the license file for licensing information.
00004  *  Created: Mon Jul 12 23:48:01 2004
00005 
00006  *  DO NOT EDIT THIS FILE! (Autogenerated)
00007  */
00008 

00010 

00012 
00018 #ifndef _seDRMColourIndex_h
00019 #define _seDRMColourIndex_h
00020 
00021 #include "seDRMColour.h"
00022 
00023 namespace sedris {
00024 
00030 class seDRMColourIndex : public seDRMColour
00031 {
00032 public:
00033 
00035     seDRMColourIndex() {}
00036 
00038     seDRMColourIndex( const seObject &other ) : seDRMColour(other) {}
00039 
00041     const SE_Colour_Mapping& get_colour_mapping() { DRMBASE_RET_FIELDS(Colour_Index, colour_mapping); }
00042 
00044     void set_colour_mapping( const SE_Colour_Mapping &val ) { DRMBASE_SET_FIELDS(Colour_Index, colour_mapping, val); }
00045     
00047     void set_colour_mapping( SE_Integer_Unsigned Front_Primary, SE_Integer_Unsigned Front_Distance_Blend, SE_Integer_Unsigned Front_Image_Blend, SE_Integer_Unsigned Back_Primary, SE_Integer_Unsigned Back_Distance_Blend, SE_Integer_Unsigned Back_Image_Blend, SE_Integer_Unsigned Lgt_Render_Bhvr_Primary, SE_Integer_Unsigned Lgt_Render_Bhvr_Secondary ) {
00048         DRMBASE_ALLOC_FIELDS;
00049         DRMBASE_SET_FIELDS_S(Colour_Index, colour_mapping, Front_Primary, Front_Primary);
00050         DRMBASE_SET_FIELDS_S(Colour_Index, colour_mapping, Front_Distance_Blend, Front_Distance_Blend);
00051         DRMBASE_SET_FIELDS_S(Colour_Index, colour_mapping, Front_Image_Blend, Front_Image_Blend);
00052         DRMBASE_SET_FIELDS_S(Colour_Index, colour_mapping, Back_Primary, Back_Primary);
00053         DRMBASE_SET_FIELDS_S(Colour_Index, colour_mapping, Back_Distance_Blend, Back_Distance_Blend);
00054         DRMBASE_SET_FIELDS_S(Colour_Index, colour_mapping, Back_Image_Blend, Back_Image_Blend);
00055         DRMBASE_SET_FIELDS_S(Colour_Index, colour_mapping, Lgt_Render_Bhvr_Primary, Lgt_Render_Bhvr_Primary);
00056         DRMBASE_SET_FIELDS_S(Colour_Index, colour_mapping, Lgt_Render_Bhvr_Secondary, Lgt_Render_Bhvr_Secondary);
00057     }
00058     
00060     SE_Integer_Positive get_index() { DRMBASE_RET_FIELDS(Colour_Index, index); }
00061 
00063     void set_index( SE_Integer_Positive val ) { DRMBASE_SET_FIELDS(Colour_Index, index, val); }
00064 
00066     SE_Long_Float get_intensity_level() { DRMBASE_RET_FIELDS(Colour_Index, intensity_level); }
00067 
00069     void set_intensity_level( SE_Long_Float val ) { DRMBASE_SET_FIELDS(Colour_Index, intensity_level, val); }
00070 
00072     virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_COLOUR_INDEX; }
00073 
00074 };
00075 
00076 } // namespace sedris
00077 
00078 #endif // _seDRMColourIndex_h

SEDRIS Transmittal Access C++ API 4.0.0 beta - 14 Jul 2004
Copyright © 2004 SEDRIS Docs by Doxygen 1.3.2