HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GR_DisplayOption Class Reference

#include <GR_DisplayOption.h>

Public Member Functions

 GR_DisplayOption (GR_CommonDispOption *common_options=0, int t=0, bool for_lops=false)
 
 ~GR_DisplayOption ()
 
 GR_DisplayOption (const GR_DisplayOption &s)
 
int getDisplaySet () const
 
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 save (std::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 drawPointVelocity () const
 
bool drawPointCoincident () const
 
bool drawVertexMarkers () const
 
bool drawVertexNums () const
 
bool drawVertexTxtNums () const
 
bool drawVertexNmls () const
 
bool drawPrimNums () const
 
bool drawPrimNmls () const
 
bool drawPrimHulls () const
 
bool drawPrimBreakpoints () const
 
bool drawProfiles () const
 
bool drawProfNums () const
 
bool drawLit () const
 
bool drawFaded () const
 
bool drawGhosted () const
 
bool drawXRay () const
 
bool drawUVMap () const
 
bool appliesToSelection () const
 
bool toggleAffectsSet () const
 
bool boundBox () const
 
bool hlGhostFill () const
 
bool hlXray () const
 
int drawMode () const
 
bool wireHiddenLine () const
 
bool flatShaded () const
 
bool matcapShaded () const
 
bool wireOverShaded () const
 
bool lockShadingMode () const
 
bool uvFillBackFaces () const
 
bool uvFillOverlap () const
 
bool tintBackfaces () const
 
void drawPointMarkers (bool onoff)
 
void drawPointNums (bool onoff)
 
void drawPointNmls (bool onoff)
 
void drawPointTxtNums (bool onoff)
 
void drawPointPos (bool onoff)
 
void drawPointVelocity (bool onoff)
 
void drawPointCoincident (bool onoff)
 
void drawVertexMarkers (bool onoff)
 
void drawVertexNums (bool onoff)
 
void drawVertexNmls (bool onoff)
 
void drawVertexTxtNums (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 drawLit (bool onoff)
 
void drawFaded (bool onoff)
 
void drawGhosted (bool onoff)
 
void drawXRay (bool onoff)
 
void drawUVMap (bool onoff)
 
void appliesToSelection (bool onoff)
 
void toggleAffectsSet (bool onoff)
 
void lockShadingMode (bool onoff)
 
void uvFillBackFaces (bool onoff)
 
void uvFillOverlap (bool onoff)
 
void tintBackfaces (bool onoff)
 
void pointMarkersVisible (GR_DecorVisibility m)
 
void pointNumsVisible (GR_DecorVisibility m)
 
void pointNmlsVisible (GR_DecorVisibility m)
 
void pointTxtNumsVisible (GR_DecorVisibility m)
 
void pointPosVisible (GR_DecorVisibility m)
 
void pointVelocityVisible (GR_DecorVisibility m)
 
void vertexMarkersVisible (GR_DecorVisibility m)
 
void vertexNumsVisible (GR_DecorVisibility m)
 
void vertexNmlsVisible (GR_DecorVisibility m)
 
void vertexTxtNumsVisible (GR_DecorVisibility m)
 
void primNumsVisible (GR_DecorVisibility m)
 
void primNmlsVisible (GR_DecorVisibility m)
 
void primBreakpointsVisible (GR_DecorVisibility m)
 
GR_DecorVisibility pointMarkersVisible () const
 
GR_DecorVisibility pointNumsVisible () const
 
GR_DecorVisibility pointNmlsVisible () const
 
GR_DecorVisibility pointTxtNumsVisible () const
 
GR_DecorVisibility pointPosVisible () const
 
GR_DecorVisibility pointVelocityVisible () const
 
GR_DecorVisibility vertexMarkersVisible () const
 
GR_DecorVisibility vertexNumsVisible () const
 
GR_DecorVisibility vertexNmlsVisible () const
 
GR_DecorVisibility vertexTxtNumsVisible () const
 
GR_DecorVisibility primNumsVisible () const
 
GR_DecorVisibility primNmlsVisible () const
 
GR_DecorVisibility primBreakpointsVisible () const
 
GR_DecorVisibility getVisibilityFor (GR_Decoration d) const
 
GR_BoundaryMode boundaryMode () const
 
void boundaryMode (GR_BoundaryMode mode)
 
GR_BoundaryMode uvBoundaryMode () const
 
void uvBoundaryMode (GR_BoundaryMode mode)
 
GR_CommonDispOptioncommon ()
 
const GR_CommonDispOptioncommon () const
 
void enableUserOption (const char *name, bool onoff)
 
bool getUserOptionState (const char *name) const
 
void disableAllUserOptions ()
 
bool hasEnabledUserOptions () const
 
void removeUserOption (int option_id)
 
int getNumUserOptions () const
 
const GR_UserOptiongetUserOption (int i) const
 
const GR_UserOptiongetOption (const char *name) const
 
int getOptionId (int i) const
 
void clearNonCachedDrawFlag () const
 
void setNonCachedDrawFlag () const
 
bool hasNonCachedDraw () const
 
void setNonCachedPass (bool nc_pass)
 
bool isNonCachedPass () const
 
const GR_LightListgetLightList () const
 
int getSerialNum () const
 
int getRefineSerial () const
 
void bumpRefineSerial ()
 
int64 getUniqueID () const
 
void print (std::ostream &os) const
 
bool compatibleWith (const GR_DisplayOption &opt) const
 
int getVisContext () const
 

Static Public Member Functions

static void saveBoundaryMode (std::ostream &os, GR_BoundaryMode mode)
 
static GR_BoundaryMode parseBoundaryMode (const char *token, bool for_uv_view=false)
 
static void saveShadingMode (std::ostream &os, GR_ShadingMode mode)
 
static int parseShadingMode (const char *token)
 

Detailed Description

Constructor & Destructor Documentation

GR_DisplayOption::GR_DisplayOption ( GR_CommonDispOption common_options = 0,
int  t = 0,
bool  for_lops = false 
)
GR_DisplayOption::~GR_DisplayOption ( )
GR_DisplayOption::GR_DisplayOption ( const GR_DisplayOption s)

Member Function Documentation

bool GR_DisplayOption::appliesToSelection ( ) const
inline

Definition at line 120 of file GR_DisplayOption.h.

void GR_DisplayOption::appliesToSelection ( bool  onoff)
inline

Definition at line 163 of file GR_DisplayOption.h.

GR_BoundaryMode GR_DisplayOption::boundaryMode ( ) const
inline

Definition at line 202 of file GR_DisplayOption.h.

void GR_DisplayOption::boundaryMode ( GR_BoundaryMode  mode)
inline

Definition at line 203 of file GR_DisplayOption.h.

bool GR_DisplayOption::boundBox ( ) const
inline

Definition at line 464 of file GR_DisplayOption.h.

void GR_DisplayOption::bumpRefineSerial ( )
inline

Definition at line 255 of file GR_DisplayOption.h.

const char* GR_DisplayOption::className ( ) const
void GR_DisplayOption::clearNonCachedDrawFlag ( ) const
inline

Definition at line 243 of file GR_DisplayOption.h.

GR_CommonDispOption& GR_DisplayOption::common ( )
inline
Examples:
GUI/GUI_PolySoupBox.C.

Definition at line 221 of file GR_DisplayOption.h.

const GR_CommonDispOption& GR_DisplayOption::common ( ) const
inline

Definition at line 222 of file GR_DisplayOption.h.

bool GR_DisplayOption::compatibleWith ( const GR_DisplayOption opt) const
void GR_DisplayOption::copyNonCommon ( const GR_DisplayOption opt)
void GR_DisplayOption::copyUserOptions ( const GR_DisplayOption opt)
void GR_DisplayOption::disableAllUserOptions ( )
bool GR_DisplayOption::drawFaded ( ) const
inline

Definition at line 116 of file GR_DisplayOption.h.

void GR_DisplayOption::drawFaded ( bool  onoff)
inline

Definition at line 159 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawGhosted ( ) const
inline

Definition at line 117 of file GR_DisplayOption.h.

void GR_DisplayOption::drawGhosted ( bool  onoff)
inline

Definition at line 160 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawLit ( ) const
inline

Definition at line 115 of file GR_DisplayOption.h.

void GR_DisplayOption::drawLit ( bool  onoff)
inline

Definition at line 158 of file GR_DisplayOption.h.

int GR_DisplayOption::drawMode ( ) const
inline

Definition at line 483 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointCoincident ( ) const
inline

Definition at line 103 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointCoincident ( bool  onoff)
inline

Definition at line 143 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointMarkers ( ) const
inline

Definition at line 97 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointMarkers ( bool  onoff)
inline

Definition at line 137 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointNmls ( ) const
inline

Definition at line 99 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointNmls ( bool  onoff)
inline

Definition at line 139 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointNums ( ) const
inline

Definition at line 98 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointNums ( bool  onoff)
inline

Definition at line 138 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointPos ( ) const
inline

Definition at line 101 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointPos ( bool  onoff)
inline

Definition at line 141 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointTxtNums ( ) const
inline

Definition at line 100 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointTxtNums ( bool  onoff)
inline

Definition at line 140 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointVelocity ( ) const
inline

Definition at line 102 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointVelocity ( bool  onoff)
inline

Definition at line 142 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPrimBreakpoints ( ) const
inline

Definition at line 112 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPrimBreakpoints ( bool  onoff)
inline

Definition at line 153 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPrimHulls ( ) const
inline

Definition at line 111 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPrimHulls ( bool  onoff)
inline

Definition at line 152 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPrimNmls ( ) const
inline

Definition at line 110 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPrimNmls ( bool  onoff)
inline

Definition at line 151 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPrimNums ( ) const
inline

Definition at line 109 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPrimNums ( bool  onoff)
inline

Definition at line 150 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawProfiles ( ) const
inline

Definition at line 113 of file GR_DisplayOption.h.

void GR_DisplayOption::drawProfiles ( bool  onoff)
inline

Definition at line 156 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawProfNums ( ) const
inline

Definition at line 114 of file GR_DisplayOption.h.

void GR_DisplayOption::drawProfNums ( bool  onoff)
inline

Definition at line 157 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawUVMap ( ) const
inline

Definition at line 119 of file GR_DisplayOption.h.

void GR_DisplayOption::drawUVMap ( bool  onoff)
inline

Definition at line 162 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawVertexMarkers ( ) const
inline

Definition at line 105 of file GR_DisplayOption.h.

void GR_DisplayOption::drawVertexMarkers ( bool  onoff)
inline

Definition at line 145 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawVertexNmls ( ) const
inline

Definition at line 108 of file GR_DisplayOption.h.

void GR_DisplayOption::drawVertexNmls ( bool  onoff)
inline

Definition at line 148 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawVertexNums ( ) const
inline

Definition at line 106 of file GR_DisplayOption.h.

void GR_DisplayOption::drawVertexNums ( bool  onoff)
inline

Definition at line 147 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawVertexTxtNums ( ) const
inline

Definition at line 107 of file GR_DisplayOption.h.

void GR_DisplayOption::drawVertexTxtNums ( bool  onoff)
inline

Definition at line 149 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawXRay ( ) const
inline

Definition at line 118 of file GR_DisplayOption.h.

void GR_DisplayOption::drawXRay ( bool  onoff)
inline

Definition at line 161 of file GR_DisplayOption.h.

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

Definition at line 502 of file GR_DisplayOption.h.

int GR_DisplayOption::getDisplaySet ( ) const
inline

Definition at line 44 of file GR_DisplayOption.h.

const GR_LightList* GR_DisplayOption::getLightList ( ) const
inline
Examples:
tetprim/GR_PrimTetra.C.

Definition at line 250 of file GR_DisplayOption.h.

int GR_DisplayOption::getNumUserOptions ( ) const
inline

Definition at line 237 of file GR_DisplayOption.h.

const GR_UserOption* GR_DisplayOption::getOption ( const char *  name) const
int GR_DisplayOption::getOptionId ( int  i) const
int GR_DisplayOption::getRefineSerial ( ) const
inline

Definition at line 254 of file GR_DisplayOption.h.

int GR_DisplayOption::getSerialNum ( ) const
inline

Definition at line 252 of file GR_DisplayOption.h.

int64 GR_DisplayOption::getUniqueID ( ) const
inline

Definition at line 256 of file GR_DisplayOption.h.

const GR_UserOption* GR_DisplayOption::getUserOption ( int  i) const
bool GR_DisplayOption::getUserOptionState ( const char *  name) const
int GR_DisplayOption::getVisContext ( ) const
inline

Definition at line 265 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::getVisibilityFor ( GR_Decoration  d) const
inline

Definition at line 455 of file GR_DisplayOption.h.

bool GR_DisplayOption::hasEnabledUserOptions ( ) const
inline

Definition at line 228 of file GR_DisplayOption.h.

bool GR_DisplayOption::hasNonCachedDraw ( ) const
inline

Definition at line 245 of file GR_DisplayOption.h.

bool GR_DisplayOption::hlGhostFill ( ) const
inline

Definition at line 471 of file GR_DisplayOption.h.

bool GR_DisplayOption::hlXray ( ) const
inline

Definition at line 477 of file GR_DisplayOption.h.

bool GR_DisplayOption::isNonCachedPass ( ) const
inline

Definition at line 248 of file GR_DisplayOption.h.

bool GR_DisplayOption::load ( UT_IStream )
bool GR_DisplayOption::lockShadingMode ( ) const
inline

Definition at line 131 of file GR_DisplayOption.h.

void GR_DisplayOption::lockShadingMode ( bool  onoff)
inline

Definition at line 166 of file GR_DisplayOption.h.

bool GR_DisplayOption::matcapShaded ( ) const
inline

Definition at line 509 of file GR_DisplayOption.h.

void GR_DisplayOption::matchUserOptionStates ( const GR_DisplayOption opt)
GR_DisplayOption& GR_DisplayOption::operator= ( const GR_DisplayOption opt)
static GR_BoundaryMode GR_DisplayOption::parseBoundaryMode ( const char *  token,
bool  for_uv_view = false 
)
static
static int GR_DisplayOption::parseShadingMode ( const char *  token)
static
void GR_DisplayOption::pointMarkersVisible ( GR_DecorVisibility  m)
inline

Definition at line 351 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::pointMarkersVisible ( ) const
inline

Definition at line 403 of file GR_DisplayOption.h.

void GR_DisplayOption::pointNmlsVisible ( GR_DecorVisibility  m)
inline

Definition at line 359 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::pointNmlsVisible ( ) const
inline

Definition at line 411 of file GR_DisplayOption.h.

void GR_DisplayOption::pointNumsVisible ( GR_DecorVisibility  m)
inline

Definition at line 355 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::pointNumsVisible ( ) const
inline

Definition at line 407 of file GR_DisplayOption.h.

void GR_DisplayOption::pointPosVisible ( GR_DecorVisibility  m)
inline

Definition at line 367 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::pointPosVisible ( ) const
inline

Definition at line 419 of file GR_DisplayOption.h.

void GR_DisplayOption::pointTxtNumsVisible ( GR_DecorVisibility  m)
inline

Definition at line 363 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::pointTxtNumsVisible ( ) const
inline

Definition at line 415 of file GR_DisplayOption.h.

void GR_DisplayOption::pointVelocityVisible ( GR_DecorVisibility  m)
inline

Definition at line 371 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::pointVelocityVisible ( ) const
inline

Definition at line 423 of file GR_DisplayOption.h.

void GR_DisplayOption::primBreakpointsVisible ( GR_DecorVisibility  m)
inline

Definition at line 399 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::primBreakpointsVisible ( ) const
inline

Definition at line 451 of file GR_DisplayOption.h.

void GR_DisplayOption::primNmlsVisible ( GR_DecorVisibility  m)
inline

Definition at line 395 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::primNmlsVisible ( ) const
inline

Definition at line 447 of file GR_DisplayOption.h.

void GR_DisplayOption::primNumsVisible ( GR_DecorVisibility  m)
inline

Definition at line 391 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::primNumsVisible ( ) const
inline

Definition at line 443 of file GR_DisplayOption.h.

void GR_DisplayOption::print ( std::ostream &  os) const
void GR_DisplayOption::refreshUserOptionVersions ( )
void GR_DisplayOption::removeUserOption ( int  option_id)
bool GR_DisplayOption::save ( std::ostream &  ,
int  indent = 0 
) const
static void GR_DisplayOption::saveBoundaryMode ( std::ostream &  os,
GR_BoundaryMode  mode 
)
static
static void GR_DisplayOption::saveShadingMode ( std::ostream &  os,
GR_ShadingMode  mode 
)
static
void GR_DisplayOption::setNonCachedDrawFlag ( ) const
inline

Definition at line 244 of file GR_DisplayOption.h.

void GR_DisplayOption::setNonCachedPass ( bool  nc_pass)
inline

Definition at line 247 of file GR_DisplayOption.h.

void GR_DisplayOption::shadingMode ( GR_ShadingMode  shading_mode)
GR_ShadingMode GR_DisplayOption::shadingMode ( ) const
bool GR_DisplayOption::tintBackfaces ( ) const
inline

Definition at line 134 of file GR_DisplayOption.h.

void GR_DisplayOption::tintBackfaces ( bool  onoff)
inline

Definition at line 169 of file GR_DisplayOption.h.

bool GR_DisplayOption::toggleAffectsSet ( ) const
inline

Definition at line 121 of file GR_DisplayOption.h.

void GR_DisplayOption::toggleAffectsSet ( bool  onoff)
inline

Definition at line 165 of file GR_DisplayOption.h.

bool GR_DisplayOption::userOptionStatesEqual ( const GR_DisplayOption opt) const
GR_BoundaryMode GR_DisplayOption::uvBoundaryMode ( ) const
inline

Definition at line 211 of file GR_DisplayOption.h.

void GR_DisplayOption::uvBoundaryMode ( GR_BoundaryMode  mode)
inline

Definition at line 212 of file GR_DisplayOption.h.

bool GR_DisplayOption::uvFillBackFaces ( ) const
inline

Definition at line 132 of file GR_DisplayOption.h.

void GR_DisplayOption::uvFillBackFaces ( bool  onoff)
inline

Definition at line 167 of file GR_DisplayOption.h.

bool GR_DisplayOption::uvFillOverlap ( ) const
inline

Definition at line 133 of file GR_DisplayOption.h.

void GR_DisplayOption::uvFillOverlap ( bool  onoff)
inline

Definition at line 168 of file GR_DisplayOption.h.

void GR_DisplayOption::vertexMarkersVisible ( GR_DecorVisibility  m)
inline

Definition at line 375 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::vertexMarkersVisible ( ) const
inline

Definition at line 427 of file GR_DisplayOption.h.

void GR_DisplayOption::vertexNmlsVisible ( GR_DecorVisibility  m)
inline

Definition at line 383 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::vertexNmlsVisible ( ) const
inline

Definition at line 435 of file GR_DisplayOption.h.

void GR_DisplayOption::vertexNumsVisible ( GR_DecorVisibility  m)
inline

Definition at line 379 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::vertexNumsVisible ( ) const
inline

Definition at line 431 of file GR_DisplayOption.h.

void GR_DisplayOption::vertexTxtNumsVisible ( GR_DecorVisibility  m)
inline

Definition at line 387 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::vertexTxtNumsVisible ( ) const
inline

Definition at line 439 of file GR_DisplayOption.h.

bool GR_DisplayOption::wireHiddenLine ( ) const
inline

Definition at line 494 of file GR_DisplayOption.h.

bool GR_DisplayOption::wireOverShaded ( ) const
inline

Definition at line 516 of file GR_DisplayOption.h.


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