00001 00006 #ifndef _CUBE_GRAPHIC_SETTINGS_H_ 00007 #define _CUBE_GRAPHIC_SETTINGS_H_ 00008 00009 //#include "Point3D.h" 00010 //#include "Color.h" 00011 //#include <cmath> 00012 // 00013 //namespace FemViewer 00014 //{ 00015 // class CubeGprahicSetts 00016 // { 00017 // public: // methods 00018 // 00019 // // default constructor 00020 // CubeGprahicSetts(); 00021 // 00022 // // destructor 00023 // ~CubeGprahicSetts() {}; 00024 // 00025 // // resets settings to default values 00026 // void defaults(); 00027 // 00028 // public: // members 00029 // 00030 // typedef enum { 00031 // CUBE_NONE = 0x00, 00032 // CUBE_FILL = 0x01, 00033 // CUBE_LINE = 0x02, 00034 // CUBE_POINTS = 0x04, 00035 // } cube_mask; 00036 // 00037 // struct CubeDims 00038 // { 00039 // static const int max_cells; 00040 // float x, y, z; 00041 // short x_cell, y_cell, z_cell; 00042 // 00043 // CubeDims(float x_ = 1.2f, float y_ = 1.2f, float z_ = 1.2f, 00044 // short xc_ = 4, short yc_ = 4, short zc_ = 4) 00045 // { 00046 // x = fabs(x_); y = fabs(y_); z = fabs(z_); 00047 // x_cell = ::Clump2Type<short>(xc_,2,max_cells); 00048 // y_cell = ::Clump2Type<short>(yc_,2,max_cells); 00049 // z_cell = ::Clump2Type<short>(zc_,2,max_cells); 00050 // } 00051 // }; 00052 // 00053 // // dimensions 00054 // CubeDims dims; 00055 // 00056 // // point of cube orig 00057 // Point3D<float> originPt; 00058 // 00059 // // color for fill background of cube 00060 // ColorRGBA bkgColor; 00061 // 00062 // // color for cube lines in gray-scale 00063 // float lineColor; 00064 // 00065 // // size of cube lines 00066 // float lineWidth; 00067 // 00068 // // color for cube points 00069 // float pointColor; 00070 // 00071 // // size of cube points 00072 // float pointSize; 00073 // 00074 // // mask for element drawing 00075 // cube_mask cubeMask; 00076 // 00077 // protected: 00078 // 00079 // 00080 // 00081 // private: // not implemented 00082 // 00083 // // copy constructor 00084 // CubeGprahicSetts(const CubeGprahicSetts&); 00085 // 00086 // // asigmend operator 00087 // //CubeGprahicSetts& operator=(const CubeGprahicSetts&); 00088 // 00089 // // 00090 // 00091 // }; 00092 //} 00093 00094 #endif /* _CUBE_GRAPHIC_SETTINGS_H_ 00095 */