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

seDRMHSVColour.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:02 2004
00005 
00006  *  DO NOT EDIT THIS FILE! (Autogenerated)
00007  */
00008 

00010 

00012 
00018 #ifndef _seDRMHSVColour_h
00019 #define _seDRMHSVColour_h
00020 
00021 #include "seDRMColourData.h"
00022 
00023 namespace sedris {
00024 
00030 class seDRMHSVColour : public seDRMColourData
00031 {
00032 public:
00033 
00035     seDRMHSVColour() {}
00036 
00038     seDRMHSVColour( const seObject &other ) : seDRMColourData(other) {}
00039 
00041     const SE_HSV_Data& get_hsv_data() { DRMBASE_RET_FIELDS(HSV_Colour, hsv_data); }
00042 
00044     void set_hsv_data( const SE_HSV_Data &val ) { DRMBASE_SET_FIELDS(HSV_Colour, hsv_data, val); }
00045     
00047     void set_hsv_data( SE_Long_Float hue, SE_Long_Float saturation, SE_Long_Float value ) {
00048         DRMBASE_ALLOC_FIELDS;
00049         DRMBASE_SET_FIELDS_S(HSV_Colour, hsv_data, hue, hue);
00050         DRMBASE_SET_FIELDS_S(HSV_Colour, hsv_data, saturation, saturation);
00051         DRMBASE_SET_FIELDS_S(HSV_Colour, hsv_data, value, value);
00052     }
00053     
00055     virtual SE_DRM_Class getClassType() const { return SE_DRM_CLS_HSV_COLOUR; }
00056 
00057 };
00058 
00059 } // namespace sedris
00060 
00061 #endif // _seDRMHSVColour_h

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