00001 /** 00002 * \file gre/extrudedparms.h 00003 * \brief GRE EXTRUDED...PARMS definitions 00004 * 00005 * \if NODOC 00006 * $Id: extrudedparms.h_v 1.1 2006/09/27 16:17:22 mju Exp $ 00007 * 00008 * $Log: extrudedparms.h_v $ 00009 * Revision 1.1 2006/09/27 16:17:22 mju 00010 * Initial revision 00011 * 00012 * \endif 00013 **/ 00014 00015 #ifndef INC_GRE_EXTRUDEDPARMS_H 00016 #define INC_GRE_EXTRUDEDPARMS_H 00017 00018 #ifndef INC_GRE_ELEMPARMS_H 00019 #include <gre/elemparms.h> 00020 #endif 00021 00022 namespace GRE { 00023 00024 //! Parameters for extruded 3d points 00025 struct EXTRUDEDPOINTPARMS { 00026 public: 00027 00028 enum MODE { 00029 MODE_None = 0, 00030 MODE_Height = 1, 00031 MODE_Elevation = 2 00032 }; 00033 00034 MODE Mode; 00035 RVC::OBJECTNAME TableName; //!< table for z value 00036 RVC::OBJECTNAME FieldName; //!< field for z value 00037 UINT8 Unit; //!< unit for distance 00038 LINEPARMS Line; 00039 POINTPARMS Point; 00040 bool UseColorStack; 00041 COLOR BelowColor; //!< Color to display wireframe below surface 00042 COLOR AboveColor; //!< Color to display wireframe above surface 00043 00044 EXTRUDEDPOINTPARMS (); 00045 EXTRUDEDPOINTPARMS (const EXTRUDEDPOINTPARMS& rhs); 00046 ~EXTRUDEDPOINTPARMS (); 00047 00048 EXTRUDEDPOINTPARMS& operator= (const EXTRUDEDPOINTPARMS& rhs); 00049 }; 00050 00051 //! Parameters for extruded 3d polygons 00052 struct EXTRUDEDPOLYGONPARMS { 00053 public: 00054 00055 enum MODE { 00056 MODE_None = 0, 00057 MODE_Height = 1, 00058 MODE_Elevation = 2 00059 }; 00060 enum BASE { 00061 BASE_Minimum = 0, 00062 BASE_Maximum = 1 00063 }; 00064 00065 MODE Mode; 00066 BASE Base; 00067 RVC::OBJECTNAME TableName; //!< table for z value 00068 RVC::OBJECTNAME FieldName; //!< field for z value 00069 UINT8 Unit; //!< unit for distance 00070 POLYPARMS Poly; 00071 bool UseColorStack; 00072 COLOR BelowColor; //!< Color to display wireframe below surface 00073 COLOR AboveColor; //!< Color to display wireframe above surface 00074 00075 EXTRUDEDPOLYGONPARMS (); 00076 EXTRUDEDPOLYGONPARMS (const EXTRUDEDPOLYGONPARMS& rhs); 00077 ~EXTRUDEDPOLYGONPARMS (); 00078 00079 EXTRUDEDPOLYGONPARMS& operator= (const EXTRUDEDPOLYGONPARMS& rhs); 00080 }; 00081 00082 } // End namespace GRE 00083 00084 #endif // INC_GRE_EXTRUDEDPARMS_H
1.5.2