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

#include <GR_DecorationRender.h>

Public Member Functions

 GR_VisualizerInfo ()
 
 GR_VisualizerInfo (GA_AttributeOwner dec_attrib_owner, int dec_attrib_size, const char *dec_attrib, GT_Storage dec_attrib_store, bool overlay=false, GR_VisualizerDecorStyle style=GR_VISUALIZER_DECOR_TEXT, GR_SelectMode select_mode=GR_SELECT_NONE, GR_DecorVisibility visibility=GR_DECOR_ALWAYS_VISIBLE, int owner_id=-1)
 
GR_VisualizerInfooperator= (const GR_VisualizerInfo &src)
 
GA_AttributeOwner getDecorAttribOwner () const
 
void setDecorAttribOwner (GA_AttributeOwner owner)
 
const char * getDecorAttrib () const
 
void setDecorAttrib (const char *attrib)
 
int getDecorAttribSize () const
 
void setDecorAttribSize (int size)
 
GT_Storage getDecorAttribStorage () const
 
void setDecorAttribStorage (GT_Storage store)
 
const char * getMaskAttrib () const
 
void setMaskAttrib (const char *attrib)
 
GR_VisualizerDecorStyle getStyle () const
 
void setStyle (GR_VisualizerDecorStyle style)
 
GR_SelectMode getSelectMode () const
 
GR_DecorVisibility getVisibility () const
 
void setVisibility (GR_DecorVisibility vis)
 
void attachOptions (UT_Options *opts)
 
void destroyOptions ()
 
const UT_OptionsgetOptions () const
 
void setOwnerId (int owner_id)
 
int getOwnerId () const
 

Detailed Description

Definition at line 314 of file GR_DecorationRender.h.

Constructor & Destructor Documentation

GR_VisualizerInfo::GR_VisualizerInfo ( )
inline

Definition at line 317 of file GR_DecorationRender.h.

GR_VisualizerInfo::GR_VisualizerInfo ( GA_AttributeOwner  dec_attrib_owner,
int  dec_attrib_size,
const char *  dec_attrib,
GT_Storage  dec_attrib_store,
bool  overlay = false,
GR_VisualizerDecorStyle  style = GR_VISUALIZER_DECOR_TEXT,
GR_SelectMode  select_mode = GR_SELECT_NONE,
GR_DecorVisibility  visibility = GR_DECOR_ALWAYS_VISIBLE,
int  owner_id = -1 
)
inline

Definition at line 328 of file GR_DecorationRender.h.

Member Function Documentation

void GR_VisualizerInfo::attachOptions ( UT_Options opts)
inline

Definition at line 399 of file GR_DecorationRender.h.

void GR_VisualizerInfo::destroyOptions ( )
inline

Definition at line 400 of file GR_DecorationRender.h.

const char* GR_VisualizerInfo::getDecorAttrib ( ) const
inline

Definition at line 372 of file GR_DecorationRender.h.

GA_AttributeOwner GR_VisualizerInfo::getDecorAttribOwner ( ) const
inline

Definition at line 368 of file GR_DecorationRender.h.

int GR_VisualizerInfo::getDecorAttribSize ( ) const
inline

Definition at line 376 of file GR_DecorationRender.h.

GT_Storage GR_VisualizerInfo::getDecorAttribStorage ( ) const
inline

Definition at line 380 of file GR_DecorationRender.h.

const char* GR_VisualizerInfo::getMaskAttrib ( ) const
inline

Definition at line 384 of file GR_DecorationRender.h.

const UT_Options* GR_VisualizerInfo::getOptions ( ) const
inline

Definition at line 401 of file GR_DecorationRender.h.

int GR_VisualizerInfo::getOwnerId ( ) const
inline

Definition at line 412 of file GR_DecorationRender.h.

GR_SelectMode GR_VisualizerInfo::getSelectMode ( ) const
inline

Definition at line 392 of file GR_DecorationRender.h.

GR_VisualizerDecorStyle GR_VisualizerInfo::getStyle ( ) const
inline

Definition at line 388 of file GR_DecorationRender.h.

GR_DecorVisibility GR_VisualizerInfo::getVisibility ( ) const
inline

Definition at line 394 of file GR_DecorationRender.h.

GR_VisualizerInfo& GR_VisualizerInfo::operator= ( const GR_VisualizerInfo src)
inline

Definition at line 351 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setDecorAttrib ( const char *  attrib)
inline

Definition at line 374 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setDecorAttribOwner ( GA_AttributeOwner  owner)
inline

Definition at line 370 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setDecorAttribSize ( int  size)
inline

Definition at line 378 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setDecorAttribStorage ( GT_Storage  store)
inline

Definition at line 382 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setMaskAttrib ( const char *  attrib)
inline

Definition at line 386 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setOwnerId ( int  owner_id)
inline

If an owner id other than -1 is set, then passing this object to GUI_DecorationRender::customDecorationRender() will only cause decoration rendering on VIS_Primitives created by the visualizer with the given unique id. This way, a visualizer can trigger rendering of decorations only on primitives it itself has created.

Definition at line 411 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setStyle ( GR_VisualizerDecorStyle  style)
inline

Definition at line 390 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setVisibility ( GR_DecorVisibility  vis)
inline

Definition at line 396 of file GR_DecorationRender.h.


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