GR_DisplayOption Class Reference

#include <GR_DisplayOption.h>

List of all members.

Classes

class  gr_UserOptionRef
struct  grDrawFlags

Public Member Functions

 GR_DisplayOption (GR_CommonDispOption *common_options=0)
 ~GR_DisplayOption ()
 GR_DisplayOption (const GR_DisplayOption &s)
GR_DisplayOptionoperator= (const GR_DisplayOption &opt)
void copyNonCommon (const GR_DisplayOption &opt)
void copyUserOptions (const GR_DisplayOption &opt)
void refreshUserOptionVersions ()
bool userOptionStatesEqual (const GR_DisplayOption &opt) const
void matchUserOptionStates (const GR_DisplayOption &opt)
bool gdpOptionsEqual (const GR_DisplayOption &opt, bool compare_common=true) const
bool save (ostream &, int indent=0) const
bool load (UT_IStream &)
const char * className () const
void shadingMode (GR_ShadingMode shading_mode)
GR_ShadingMode shadingMode () const
bool drawPointMarkers () const
bool drawPointNums () const
bool drawPointNmls () const
bool drawPointTxtNums () const
bool drawPointPos () const
bool drawVertexNums () const
bool drawVertexTxtNums () const
bool drawVertexGrips () const
bool drawPrimNums () const
bool drawPrimNmls () const
bool drawPrimHulls () const
bool drawPrimBreakpoints () const
bool drawProfiles () const
bool drawProfNums () const
bool drawFaded () const
bool boundBox () const
bool wireHiddenLine () const
bool flatShaded () const
bool wireOverShaded () const
bool vexShaded () const
bool appliesToSelection () const
bool hlGhostFill () const
int drawMode () const
bool uvFillBackFaces () const
void drawPointMarkers (bool onoff)
void drawPointNums (bool onoff)
void drawPointNmls (bool onoff)
void drawPointTxtNums (bool onoff)
void drawPointPos (bool onoff)
void drawVertexNums (bool onoff)
void drawVertexTxtNums (bool onoff)
void drawVertexGrips (bool onoff)
void drawPrimNums (bool onoff)
void drawPrimNmls (bool onoff)
void drawPrimHulls (bool onoff)
void drawPrimBreakpoints (bool onoff)
void drawProfiles (bool onoff)
void drawProfNums (bool onoff)
void drawFaded (bool onoff)
void boundBox (bool onoff)
void wireHiddenLine (bool onoff)
void flatShaded (bool onoff)
void wireOverShaded (bool onoff)
void vexShaded (bool onoff)
void appliesToSelection (bool onoff)
void hlGhostFill (bool onoff)
void drawMode (int mode)
void uvFillBackFaces (bool onoff)
const UT_ColorregAuxColor () const
UT_ColorregAuxColor ()
const UT_ColorselAuxColor () const
UT_ColorselAuxColor ()
const UT_ColorprimInfoColor () const
UT_ColorprimInfoColor ()
const UT_ColorselPrimInfoColor () const
UT_ColorselPrimInfoColor ()
const UT_ColorselPrimColor () const
UT_ColorselPrimColor ()
const UT_ColorauxSelPrimColor1 () const
UT_ColorauxSelPrimColor1 ()
const UT_ColorauxSelPrimColor2 () const
UT_ColorauxSelPrimColor2 ()
const UT_ColorprimClosureColor () const
UT_ColorprimClosureColor ()
const UT_ColorpointColor () const
UT_ColorpointColor ()
const UT_ColorselPointColor () const
UT_ColorselPointColor ()
const UT_ColorauxSelPointColor1 () const
UT_ColorauxSelPointColor1 ()
const UT_ColorauxSelPointColor2 () const
UT_ColorauxSelPointColor2 ()
const UT_ColorpointClosureColor () const
UT_ColorpointClosureColor ()
const UT_Colorguide1Color () const
UT_Colorguide1Color ()
const UT_Colorguide2Color () const
UT_Colorguide2Color ()
const UT_ColorguideSelColor () const
const UT_ColortemplateColor () const
UT_ColortemplateColor ()
const UT_ColorbackgndColor () const
UT_ColorbackgndColor ()
const UT_ColorwireColor () const
UT_ColorwireColor ()
const UT_ColoraxesColor () const
UT_ColoraxesColor ()
const UT_ColorxAxesColor () const
UT_ColorxAxesColor ()
const UT_ColoryAxesColor () const
UT_ColoryAxesColor ()
const UT_ColorzAxesColor () const
UT_ColorzAxesColor ()
const UT_ColorghostFillColor ()
const UT_ColoruvBackFaceFillColor () const
const UT_ColoruvSelBackFaceFillColor () const
GR_CommonDispOptioncommon ()
const GR_CommonDispOptioncommon () const
GR_AlphaPass alphaPass () const
void alphaPass (GR_AlphaPass p)
bool getUseShader (RE_Render *r) const
int getTextureAnisotropy (RE_Render *r) const
unsigned cullOf () const
unsigned cullDraw () const
float pointSize () const
const char * colorAttrib () const
int colorType () const
void cullOf (int o)
void cullDraw (int d)
void setColors (const GR_DisplayOption &opt)
const UT_ColorcrtAuxColor () const
const UT_ColorcrtAuxColor ()
void useRegularAuxColor ()
void useSelectedAuxColor ()
void setColorAttrib (const char *name)
void setColorType (int type)
void enableUserOption (const char *name, bool onoff)
bool getUserOptionState (const char *name)
void disableAllUserOptions ()
void removeUserOption (int option_id)
int getNumUserOptions () const
const GR_UserOptiongetUserOption (int i) const
const GR_UserOptiongetOption (const char *name) const
void clearNonCachedDrawFlag () const
void setNonCachedDrawFlag () const
bool hasNonCachedDraw () const
void setNonCachedPass (bool nc_pass)
bool isNonCachedPass () const

Static Public Member Functions

static void saveShadingMode (ostream &os, GR_ShadingMode mode)
static int parseShadingMode (const char *token)


Detailed Description

Examples:

GR/GR_BaryCenter.C, GR/GR_BoundingBox.C, GR/GR_SimpleNoise.C, and SOP/MSS_CustomBrushState.C.

Definition at line 51 of file GR_DisplayOption.h.


Constructor & Destructor Documentation

GR_DisplayOption::GR_DisplayOption ( GR_CommonDispOption common_options = 0  ) 

GR_DisplayOption::~GR_DisplayOption (  ) 

GR_DisplayOption::GR_DisplayOption ( const GR_DisplayOption s  ) 


Member Function Documentation

void GR_DisplayOption::alphaPass ( GR_AlphaPass  p  )  [inline]

Definition at line 265 of file GR_DisplayOption.h.

GR_AlphaPass GR_DisplayOption::alphaPass (  )  const [inline]

Definition at line 264 of file GR_DisplayOption.h.

void GR_DisplayOption::appliesToSelection ( bool  onoff  )  [inline]

Definition at line 157 of file GR_DisplayOption.h.

bool GR_DisplayOption::appliesToSelection (  )  const [inline]

Definition at line 130 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::auxSelPointColor1 (  )  [inline]

Definition at line 206 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::auxSelPointColor1 (  )  const [inline]

Definition at line 204 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::auxSelPointColor2 (  )  [inline]

Definition at line 210 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::auxSelPointColor2 (  )  const [inline]

Definition at line 208 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::auxSelPrimColor1 (  )  [inline]

Definition at line 186 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::auxSelPrimColor1 (  )  const [inline]

Definition at line 184 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::auxSelPrimColor2 (  )  [inline]

Definition at line 190 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::auxSelPrimColor2 (  )  const [inline]

Definition at line 188 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::axesColor (  )  [inline]

Definition at line 240 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::axesColor (  )  const [inline]

Definition at line 238 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::backgndColor (  )  [inline]

Definition at line 232 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::backgndColor (  )  const [inline]

Definition at line 230 of file GR_DisplayOption.h.

void GR_DisplayOption::boundBox ( bool  onoff  )  [inline]

Definition at line 152 of file GR_DisplayOption.h.

bool GR_DisplayOption::boundBox (  )  const [inline]

Definition at line 125 of file GR_DisplayOption.h.

const char* GR_DisplayOption::className (  )  const

void GR_DisplayOption::clearNonCachedDrawFlag (  )  const [inline]

Definition at line 381 of file GR_DisplayOption.h.

const char* GR_DisplayOption::colorAttrib (  )  const [inline]

Definition at line 340 of file GR_DisplayOption.h.

int GR_DisplayOption::colorType (  )  const [inline]

Definition at line 341 of file GR_DisplayOption.h.

const GR_CommonDispOption& GR_DisplayOption::common (  )  const [inline]

Definition at line 262 of file GR_DisplayOption.h.

GR_CommonDispOption& GR_DisplayOption::common (  )  [inline]

Definition at line 261 of file GR_DisplayOption.h.

void GR_DisplayOption::copyNonCommon ( const GR_DisplayOption opt  ) 

void GR_DisplayOption::copyUserOptions ( const GR_DisplayOption opt  ) 

const UT_Color& GR_DisplayOption::crtAuxColor (  )  [inline]

Definition at line 355 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::crtAuxColor (  )  const [inline]

Definition at line 353 of file GR_DisplayOption.h.

void GR_DisplayOption::cullDraw ( int  d  )  [inline]

Definition at line 347 of file GR_DisplayOption.h.

unsigned GR_DisplayOption::cullDraw (  )  const [inline]

Definition at line 335 of file GR_DisplayOption.h.

void GR_DisplayOption::cullOf ( int  o  )  [inline]

Definition at line 345 of file GR_DisplayOption.h.

unsigned GR_DisplayOption::cullOf (  )  const [inline]

Definition at line 333 of file GR_DisplayOption.h.

void GR_DisplayOption::disableAllUserOptions (  ) 

void GR_DisplayOption::drawFaded ( bool  onoff  )  [inline]

Definition at line 151 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawFaded (  )  const [inline]

Definition at line 124 of file GR_DisplayOption.h.

void GR_DisplayOption::drawMode ( int  mode  )  [inline]

Definition at line 160 of file GR_DisplayOption.h.

int GR_DisplayOption::drawMode (  )  const [inline]

Definition at line 132 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointMarkers ( bool  onoff  )  [inline]

Definition at line 136 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointMarkers (  )  const [inline]

Definition at line 110 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointNmls ( bool  onoff  )  [inline]

Definition at line 138 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointNmls (  )  const [inline]

Definition at line 112 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointNums ( bool  onoff  )  [inline]

Definition at line 137 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointNums (  )  const [inline]

Definition at line 111 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointPos ( bool  onoff  )  [inline]

Definition at line 140 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointPos (  )  const [inline]

Definition at line 114 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointTxtNums ( bool  onoff  )  [inline]

Definition at line 139 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointTxtNums (  )  const [inline]

Definition at line 113 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPrimBreakpoints ( bool  onoff  )  [inline]

Definition at line 147 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPrimBreakpoints (  )  const [inline]

Definition at line 121 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPrimHulls ( bool  onoff  )  [inline]

Definition at line 146 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPrimHulls (  )  const [inline]

Examples:
GR/GR_BoundingBox.C.

Definition at line 120 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPrimNmls ( bool  onoff  )  [inline]

Definition at line 145 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPrimNmls (  )  const [inline]

Definition at line 119 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPrimNums ( bool  onoff  )  [inline]

Definition at line 144 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPrimNums (  )  const [inline]

Definition at line 118 of file GR_DisplayOption.h.

void GR_DisplayOption::drawProfiles ( bool  onoff  )  [inline]

Definition at line 149 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawProfiles (  )  const [inline]

Definition at line 122 of file GR_DisplayOption.h.

void GR_DisplayOption::drawProfNums ( bool  onoff  )  [inline]

Definition at line 150 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawProfNums (  )  const [inline]

Definition at line 123 of file GR_DisplayOption.h.

void GR_DisplayOption::drawVertexGrips ( bool  onoff  )  [inline]

Definition at line 143 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawVertexGrips (  )  const [inline]

Definition at line 117 of file GR_DisplayOption.h.

void GR_DisplayOption::drawVertexNums ( bool  onoff  )  [inline]

Definition at line 141 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawVertexNums (  )  const [inline]

Definition at line 115 of file GR_DisplayOption.h.

void GR_DisplayOption::drawVertexTxtNums ( bool  onoff  )  [inline]

Definition at line 142 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawVertexTxtNums (  )  const [inline]

Definition at line 116 of file GR_DisplayOption.h.

void GR_DisplayOption::enableUserOption ( const char *  name,
bool  onoff 
)

void GR_DisplayOption::flatShaded ( bool  onoff  )  [inline]

Definition at line 154 of file GR_DisplayOption.h.

bool GR_DisplayOption::flatShaded (  )  const [inline]

Definition at line 127 of file GR_DisplayOption.h.

bool GR_DisplayOption::gdpOptionsEqual ( const GR_DisplayOption opt,
bool  compare_common = true 
) const

int GR_DisplayOption::getNumUserOptions (  )  const [inline]

Definition at line 376 of file GR_DisplayOption.h.

const GR_UserOption* GR_DisplayOption::getOption ( const char *  name  )  const

int GR_DisplayOption::getTextureAnisotropy ( RE_Render r  )  const [inline]

Definition at line 327 of file GR_DisplayOption.h.

const GR_UserOption* GR_DisplayOption::getUserOption ( int  i  )  const

bool GR_DisplayOption::getUserOptionState ( const char *  name  ) 

bool GR_DisplayOption::getUseShader ( RE_Render r  )  const [inline]

Definition at line 321 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::ghostFillColor (  )  [inline]

Definition at line 254 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::guide1Color (  )  [inline]

Definition at line 218 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::guide1Color (  )  const [inline]

Definition at line 216 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::guide2Color (  )  [inline]

Definition at line 222 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::guide2Color (  )  const [inline]

Definition at line 220 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::guideSelColor (  )  const [inline]

Definition at line 224 of file GR_DisplayOption.h.

bool GR_DisplayOption::hasNonCachedDraw (  )  const [inline]

Definition at line 383 of file GR_DisplayOption.h.

void GR_DisplayOption::hlGhostFill ( bool  onoff  )  [inline]

Definition at line 159 of file GR_DisplayOption.h.

bool GR_DisplayOption::hlGhostFill (  )  const [inline]

Definition at line 131 of file GR_DisplayOption.h.

bool GR_DisplayOption::isNonCachedPass (  )  const [inline]

Definition at line 386 of file GR_DisplayOption.h.

bool GR_DisplayOption::load ( UT_IStream  ) 

void GR_DisplayOption::matchUserOptionStates ( const GR_DisplayOption opt  ) 

GR_DisplayOption& GR_DisplayOption::operator= ( const GR_DisplayOption opt  ) 

static int GR_DisplayOption::parseShadingMode ( const char *  token  )  [static]

UT_Color& GR_DisplayOption::pointClosureColor (  )  [inline]

Definition at line 214 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::pointClosureColor (  )  const [inline]

Definition at line 212 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::pointColor (  )  [inline]

Definition at line 198 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::pointColor (  )  const [inline]

Definition at line 196 of file GR_DisplayOption.h.

float GR_DisplayOption::pointSize (  )  const [inline]

Definition at line 337 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::primClosureColor (  )  [inline]

Definition at line 194 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::primClosureColor (  )  const [inline]

Definition at line 192 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::primInfoColor (  )  [inline]

Definition at line 174 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::primInfoColor (  )  const [inline]

Definition at line 172 of file GR_DisplayOption.h.

void GR_DisplayOption::refreshUserOptionVersions (  ) 

UT_Color& GR_DisplayOption::regAuxColor (  )  [inline]

Definition at line 166 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::regAuxColor (  )  const [inline]

Definition at line 164 of file GR_DisplayOption.h.

void GR_DisplayOption::removeUserOption ( int  option_id  ) 

bool GR_DisplayOption::save ( ostream &  ,
int  indent = 0 
) const

static void GR_DisplayOption::saveShadingMode ( ostream &  os,
GR_ShadingMode  mode 
) [static]

UT_Color& GR_DisplayOption::selAuxColor (  )  [inline]

Definition at line 170 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::selAuxColor (  )  const [inline]

Definition at line 168 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::selPointColor (  )  [inline]

Definition at line 202 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::selPointColor (  )  const [inline]

Definition at line 200 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::selPrimColor (  )  [inline]

Definition at line 182 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::selPrimColor (  )  const [inline]

Definition at line 180 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::selPrimInfoColor (  )  [inline]

Definition at line 178 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::selPrimInfoColor (  )  const [inline]

Definition at line 176 of file GR_DisplayOption.h.

void GR_DisplayOption::setColorAttrib ( const char *  name  )  [inline]

Definition at line 361 of file GR_DisplayOption.h.

void GR_DisplayOption::setColors ( const GR_DisplayOption opt  )  [inline]

Definition at line 350 of file GR_DisplayOption.h.

void GR_DisplayOption::setColorType ( int  type  )  [inline]

Definition at line 363 of file GR_DisplayOption.h.

void GR_DisplayOption::setNonCachedDrawFlag (  )  const [inline]

Definition at line 382 of file GR_DisplayOption.h.

void GR_DisplayOption::setNonCachedPass ( bool  nc_pass  )  [inline]

Definition at line 385 of file GR_DisplayOption.h.

GR_ShadingMode GR_DisplayOption::shadingMode (  )  const

void GR_DisplayOption::shadingMode ( GR_ShadingMode  shading_mode  ) 

UT_Color& GR_DisplayOption::templateColor (  )  [inline]

Definition at line 228 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::templateColor (  )  const [inline]

Definition at line 226 of file GR_DisplayOption.h.

void GR_DisplayOption::useRegularAuxColor (  )  [inline]

Definition at line 357 of file GR_DisplayOption.h.

bool GR_DisplayOption::userOptionStatesEqual ( const GR_DisplayOption opt  )  const

void GR_DisplayOption::useSelectedAuxColor (  )  [inline]

Definition at line 359 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::uvBackFaceFillColor (  )  const [inline]

Definition at line 256 of file GR_DisplayOption.h.

void GR_DisplayOption::uvFillBackFaces ( bool  onoff  )  [inline]

Definition at line 161 of file GR_DisplayOption.h.

bool GR_DisplayOption::uvFillBackFaces (  )  const [inline]

Definition at line 133 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::uvSelBackFaceFillColor (  )  const [inline]

Definition at line 258 of file GR_DisplayOption.h.

void GR_DisplayOption::vexShaded ( bool  onoff  )  [inline]

Definition at line 156 of file GR_DisplayOption.h.

bool GR_DisplayOption::vexShaded (  )  const [inline]

Definition at line 129 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::wireColor (  )  [inline]

Definition at line 236 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::wireColor (  )  const [inline]

Examples:
GR/GR_BoundingBox.C, and SOP/MSS_CustomBrushState.C.

Definition at line 234 of file GR_DisplayOption.h.

void GR_DisplayOption::wireHiddenLine ( bool  onoff  )  [inline]

Definition at line 153 of file GR_DisplayOption.h.

bool GR_DisplayOption::wireHiddenLine (  )  const [inline]

Definition at line 126 of file GR_DisplayOption.h.

void GR_DisplayOption::wireOverShaded ( bool  onoff  )  [inline]

Definition at line 155 of file GR_DisplayOption.h.

bool GR_DisplayOption::wireOverShaded (  )  const [inline]

Definition at line 128 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::xAxesColor (  )  [inline]

Definition at line 244 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::xAxesColor (  )  const [inline]

Definition at line 242 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::yAxesColor (  )  [inline]

Definition at line 248 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::yAxesColor (  )  const [inline]

Definition at line 246 of file GR_DisplayOption.h.

UT_Color& GR_DisplayOption::zAxesColor (  )  [inline]

Definition at line 252 of file GR_DisplayOption.h.

const UT_Color& GR_DisplayOption::zAxesColor (  )  const [inline]

Definition at line 250 of file GR_DisplayOption.h.


The documentation for this class was generated from the following file:

Generated on Mon Jan 28 00:48:25 2013 for HDK by  doxygen 1.5.9