00001
00015 #ifndef INC_MIE_SETTINGSEDIT_H
00016 #define INC_MIE_SETTINGSEDIT_H
00017
00018 #ifndef INC_MIE_SETTINGS_H
00019 #include <mie/settings.h>
00020 #endif
00021
00022 namespace MIE {
00023
00024 class SETTINGS_EDIT : public SETTINGS {
00025 public:
00026
00027 SETTINGS_EDIT (
00028 const FORMAT& format,
00029 MODE mode,
00030 OBJTYPEFLAG ObjType
00031 ) :
00032 SETTINGS(format, mode, ObjType),
00033 m_HasPoints(true),
00034 m_HasLines(true),
00035 m_HasPolygons(true),
00036 m_HasLabels(true),
00037 m_MaxLineVertices(0),
00038 m_Allow3D(true)
00039 {}
00040
00041 virtual ~SETTINGS_EDIT () {}
00042
00043 bool Allow3D (
00044 ) const { return (m_Allow3D); }
00045
00046 INT32 GetMaxLineVertices (
00047 ) const { return (m_MaxLineVertices); }
00048
00049 bool HasPoints (
00050 ) const { return (m_HasPoints); }
00051
00052 bool HasLines (
00053 ) const { return (m_HasLines); }
00054
00055 bool HasPolygons (
00056 ) const { return (m_HasPolygons); }
00057
00058 bool HasLabels (
00059 ) const { return (m_HasLabels); }
00060
00061 void SetAllow3D (
00062 bool value
00063 ) { m_Allow3D = value; }
00064
00065 void SetMaxLineVertices (
00066 INT32 value
00067 ) { m_MaxLineVertices = value; }
00068
00069 void SetHasPoints (
00070 bool value
00071 ) { m_HasPoints = value; }
00072
00073 void SetHasLines (
00074 bool value
00075 ) { m_HasLines = value; }
00076
00077 void SetHasPolygons (
00078 bool value
00079 ) { m_HasPolygons = value; }
00080
00081 void SetHasLabels (
00082 bool value
00083 ) { m_HasLabels = value; }
00084
00085 private:
00086 #ifndef GENERATING_DOXYGEN_OUTPUT
00087 bool m_HasPoints;
00088 bool m_HasLines;
00089 bool m_HasPolygons;
00090 bool m_HasLabels;
00091 INT32 m_MaxLineVertices;
00092 bool m_Allow3D;
00093 #endif // GENERATING_DOXYGEN_OUTPUT
00094 };
00095
00096 }
00097 #endif // INC_MIE_SETTINGSEDIT_H