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

#include <GR_DisplayOption.h>

Public Member Functions

 GR_DisplayOption (GR_CommonDispOption *common_options=0, int t=0)
 
 ~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 appliesToSelection () const
 
bool toggleAffectsSet () const
 
bool boundBox () const
 
bool hlGhostFill () const
 
bool hlXray () const
 
int drawMode () const
 
bool wireHiddenLine () const
 
bool flatShaded () const
 
bool wireOverShaded () const
 
bool lockShadingMode () const
 
bool uvFillBackFaces () const
 
bool uvFillOverlap () 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 appliesToSelection (bool onoff)
 
void toggleAffectsSet (bool onoff)
 
void lockShadingMode (bool onoff)
 
void uvFillBackFaces (bool onoff)
 
void uvFillOverlap (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_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
 
void setLightList (const RE_LightList *list)
 
const RE_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)
 
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 
)
GR_DisplayOption::~GR_DisplayOption ( )
GR_DisplayOption::GR_DisplayOption ( const GR_DisplayOption s)

Member Function Documentation

bool GR_DisplayOption::appliesToSelection ( ) const
inline

Definition at line 118 of file GR_DisplayOption.h.

void GR_DisplayOption::appliesToSelection ( bool  onoff)
inline

Definition at line 158 of file GR_DisplayOption.h.

GR_BoundaryMode GR_DisplayOption::boundaryMode ( ) const
inline

Definition at line 196 of file GR_DisplayOption.h.

void GR_DisplayOption::boundaryMode ( GR_BoundaryMode  mode)
inline

Definition at line 197 of file GR_DisplayOption.h.

bool GR_DisplayOption::boundBox ( ) const
inline

Definition at line 447 of file GR_DisplayOption.h.

void GR_DisplayOption::bumpRefineSerial ( )
inline

Definition at line 241 of file GR_DisplayOption.h.

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

Definition at line 228 of file GR_DisplayOption.h.

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

Definition at line 206 of file GR_DisplayOption.h.

const GR_CommonDispOption& GR_DisplayOption::common ( ) const
inline

Definition at line 207 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 115 of file GR_DisplayOption.h.

void GR_DisplayOption::drawFaded ( bool  onoff)
inline

Definition at line 155 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawGhosted ( ) const
inline

Definition at line 116 of file GR_DisplayOption.h.

void GR_DisplayOption::drawGhosted ( bool  onoff)
inline

Definition at line 156 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawLit ( ) const
inline

Definition at line 114 of file GR_DisplayOption.h.

void GR_DisplayOption::drawLit ( bool  onoff)
inline

Definition at line 154 of file GR_DisplayOption.h.

int GR_DisplayOption::drawMode ( ) const
inline

Definition at line 466 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointCoincident ( ) const
inline

Definition at line 102 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointCoincident ( bool  onoff)
inline

Definition at line 139 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointMarkers ( ) const
inline

Definition at line 96 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointMarkers ( bool  onoff)
inline

Definition at line 133 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointNmls ( ) const
inline

Definition at line 98 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointNmls ( bool  onoff)
inline

Definition at line 135 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointNums ( ) const
inline

Definition at line 97 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointNums ( bool  onoff)
inline

Definition at line 134 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointPos ( ) const
inline

Definition at line 100 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointPos ( bool  onoff)
inline

Definition at line 137 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointTxtNums ( ) const
inline

Definition at line 99 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointTxtNums ( bool  onoff)
inline

Definition at line 136 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPointVelocity ( ) const
inline

Definition at line 101 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPointVelocity ( bool  onoff)
inline

Definition at line 138 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPrimBreakpoints ( ) const
inline

Definition at line 111 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPrimBreakpoints ( bool  onoff)
inline

Definition at line 149 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPrimHulls ( ) const
inline

Definition at line 110 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPrimHulls ( bool  onoff)
inline

Definition at line 148 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPrimNmls ( ) const
inline

Definition at line 109 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPrimNmls ( bool  onoff)
inline

Definition at line 147 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawPrimNums ( ) const
inline

Definition at line 108 of file GR_DisplayOption.h.

void GR_DisplayOption::drawPrimNums ( bool  onoff)
inline

Definition at line 146 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawProfiles ( ) const
inline

Definition at line 112 of file GR_DisplayOption.h.

void GR_DisplayOption::drawProfiles ( bool  onoff)
inline

Definition at line 152 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawProfNums ( ) const
inline

Definition at line 113 of file GR_DisplayOption.h.

void GR_DisplayOption::drawProfNums ( bool  onoff)
inline

Definition at line 153 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawVertexMarkers ( ) const
inline

Definition at line 104 of file GR_DisplayOption.h.

void GR_DisplayOption::drawVertexMarkers ( bool  onoff)
inline

Definition at line 141 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawVertexNmls ( ) const
inline

Definition at line 107 of file GR_DisplayOption.h.

void GR_DisplayOption::drawVertexNmls ( bool  onoff)
inline

Definition at line 144 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawVertexNums ( ) const
inline

Definition at line 105 of file GR_DisplayOption.h.

void GR_DisplayOption::drawVertexNums ( bool  onoff)
inline

Definition at line 143 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawVertexTxtNums ( ) const
inline

Definition at line 106 of file GR_DisplayOption.h.

void GR_DisplayOption::drawVertexTxtNums ( bool  onoff)
inline

Definition at line 145 of file GR_DisplayOption.h.

bool GR_DisplayOption::drawXRay ( ) const
inline

Definition at line 117 of file GR_DisplayOption.h.

void GR_DisplayOption::drawXRay ( bool  onoff)
inline

Definition at line 157 of file GR_DisplayOption.h.

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

Definition at line 485 of file GR_DisplayOption.h.

int GR_DisplayOption::getDisplaySet ( ) const
inline

Definition at line 44 of file GR_DisplayOption.h.

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

Definition at line 236 of file GR_DisplayOption.h.

int GR_DisplayOption::getNumUserOptions ( ) const
inline

Definition at line 222 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 240 of file GR_DisplayOption.h.

int GR_DisplayOption::getSerialNum ( ) const
inline

Definition at line 238 of file GR_DisplayOption.h.

int64 GR_DisplayOption::getUniqueID ( ) const
inline

Definition at line 242 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 251 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::getVisibilityFor ( GR_Decoration  d) const
inline

Definition at line 438 of file GR_DisplayOption.h.

bool GR_DisplayOption::hasEnabledUserOptions ( ) const
inline

Definition at line 213 of file GR_DisplayOption.h.

bool GR_DisplayOption::hasNonCachedDraw ( ) const
inline

Definition at line 230 of file GR_DisplayOption.h.

bool GR_DisplayOption::hlGhostFill ( ) const
inline

Definition at line 454 of file GR_DisplayOption.h.

bool GR_DisplayOption::hlXray ( ) const
inline

Definition at line 460 of file GR_DisplayOption.h.

bool GR_DisplayOption::isNonCachedPass ( ) const
inline

Definition at line 233 of file GR_DisplayOption.h.

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

Definition at line 128 of file GR_DisplayOption.h.

void GR_DisplayOption::lockShadingMode ( bool  onoff)
inline

Definition at line 161 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)
static
static int GR_DisplayOption::parseShadingMode ( const char *  token)
static
void GR_DisplayOption::pointMarkersVisible ( GR_DecorVisibility  m)
inline

Definition at line 334 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::pointMarkersVisible ( ) const
inline

Definition at line 386 of file GR_DisplayOption.h.

void GR_DisplayOption::pointNmlsVisible ( GR_DecorVisibility  m)
inline

Definition at line 342 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::pointNmlsVisible ( ) const
inline

Definition at line 394 of file GR_DisplayOption.h.

void GR_DisplayOption::pointNumsVisible ( GR_DecorVisibility  m)
inline

Definition at line 338 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::pointNumsVisible ( ) const
inline

Definition at line 390 of file GR_DisplayOption.h.

void GR_DisplayOption::pointPosVisible ( GR_DecorVisibility  m)
inline

Definition at line 350 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::pointPosVisible ( ) const
inline

Definition at line 402 of file GR_DisplayOption.h.

void GR_DisplayOption::pointTxtNumsVisible ( GR_DecorVisibility  m)
inline

Definition at line 346 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::pointTxtNumsVisible ( ) const
inline

Definition at line 398 of file GR_DisplayOption.h.

void GR_DisplayOption::pointVelocityVisible ( GR_DecorVisibility  m)
inline

Definition at line 354 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::pointVelocityVisible ( ) const
inline

Definition at line 406 of file GR_DisplayOption.h.

void GR_DisplayOption::primBreakpointsVisible ( GR_DecorVisibility  m)
inline

Definition at line 382 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::primBreakpointsVisible ( ) const
inline

Definition at line 434 of file GR_DisplayOption.h.

void GR_DisplayOption::primNmlsVisible ( GR_DecorVisibility  m)
inline

Definition at line 378 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::primNmlsVisible ( ) const
inline

Definition at line 430 of file GR_DisplayOption.h.

void GR_DisplayOption::primNumsVisible ( GR_DecorVisibility  m)
inline

Definition at line 374 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::primNumsVisible ( ) const
inline

Definition at line 426 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::setLightList ( const RE_LightList list)
inline

Definition at line 235 of file GR_DisplayOption.h.

void GR_DisplayOption::setNonCachedDrawFlag ( ) const
inline

Definition at line 229 of file GR_DisplayOption.h.

void GR_DisplayOption::setNonCachedPass ( bool  nc_pass)
inline

Definition at line 232 of file GR_DisplayOption.h.

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

Definition at line 119 of file GR_DisplayOption.h.

void GR_DisplayOption::toggleAffectsSet ( bool  onoff)
inline

Definition at line 160 of file GR_DisplayOption.h.

bool GR_DisplayOption::userOptionStatesEqual ( const GR_DisplayOption opt) const
bool GR_DisplayOption::uvFillBackFaces ( ) const
inline

Definition at line 129 of file GR_DisplayOption.h.

void GR_DisplayOption::uvFillBackFaces ( bool  onoff)
inline

Definition at line 162 of file GR_DisplayOption.h.

bool GR_DisplayOption::uvFillOverlap ( ) const
inline

Definition at line 130 of file GR_DisplayOption.h.

void GR_DisplayOption::uvFillOverlap ( bool  onoff)
inline

Definition at line 163 of file GR_DisplayOption.h.

void GR_DisplayOption::vertexMarkersVisible ( GR_DecorVisibility  m)
inline

Definition at line 358 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::vertexMarkersVisible ( ) const
inline

Definition at line 410 of file GR_DisplayOption.h.

void GR_DisplayOption::vertexNmlsVisible ( GR_DecorVisibility  m)
inline

Definition at line 366 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::vertexNmlsVisible ( ) const
inline

Definition at line 418 of file GR_DisplayOption.h.

void GR_DisplayOption::vertexNumsVisible ( GR_DecorVisibility  m)
inline

Definition at line 362 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::vertexNumsVisible ( ) const
inline

Definition at line 414 of file GR_DisplayOption.h.

void GR_DisplayOption::vertexTxtNumsVisible ( GR_DecorVisibility  m)
inline

Definition at line 370 of file GR_DisplayOption.h.

GR_DecorVisibility GR_DisplayOption::vertexTxtNumsVisible ( ) const
inline

Definition at line 422 of file GR_DisplayOption.h.

bool GR_DisplayOption::wireHiddenLine ( ) const
inline

Definition at line 477 of file GR_DisplayOption.h.

bool GR_DisplayOption::wireOverShaded ( ) const
inline

Definition at line 492 of file GR_DisplayOption.h.


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