HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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 444 of file GR_DecorationRender.h.

Constructor & Destructor Documentation

GR_VisualizerInfo::GR_VisualizerInfo ( )
inline

Definition at line 447 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 458 of file GR_DecorationRender.h.

Member Function Documentation

void GR_VisualizerInfo::attachOptions ( UT_Options opts)
inline

Definition at line 531 of file GR_DecorationRender.h.

void GR_VisualizerInfo::destroyOptions ( )
inline

Definition at line 532 of file GR_DecorationRender.h.

const char* GR_VisualizerInfo::getDecorAttrib ( ) const
inline

Definition at line 502 of file GR_DecorationRender.h.

GA_AttributeOwner GR_VisualizerInfo::getDecorAttribOwner ( ) const
inline

Definition at line 498 of file GR_DecorationRender.h.

int GR_VisualizerInfo::getDecorAttribSize ( ) const
inline

Definition at line 507 of file GR_DecorationRender.h.

GT_Storage GR_VisualizerInfo::getDecorAttribStorage ( ) const
inline

Definition at line 511 of file GR_DecorationRender.h.

const char* GR_VisualizerInfo::getMaskAttrib ( ) const
inline

Definition at line 515 of file GR_DecorationRender.h.

const UT_Options* GR_VisualizerInfo::getOptions ( ) const
inline

Definition at line 533 of file GR_DecorationRender.h.

int GR_VisualizerInfo::getOwnerId ( ) const
inline

Definition at line 544 of file GR_DecorationRender.h.

GR_SelectMode GR_VisualizerInfo::getSelectMode ( ) const
inline

Definition at line 524 of file GR_DecorationRender.h.

GR_VisualizerDecorStyle GR_VisualizerInfo::getStyle ( ) const
inline

Definition at line 520 of file GR_DecorationRender.h.

GR_DecorVisibility GR_VisualizerInfo::getVisibility ( ) const
inline

Definition at line 526 of file GR_DecorationRender.h.

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

Definition at line 481 of file GR_DecorationRender.h.

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

Definition at line 505 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setDecorAttribOwner ( GA_AttributeOwner  owner)
inline

Definition at line 500 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setDecorAttribSize ( int  size)
inline

Definition at line 509 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setDecorAttribStorage ( GT_Storage  store)
inline

Definition at line 513 of file GR_DecorationRender.h.

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

Definition at line 518 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 543 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setStyle ( GR_VisualizerDecorStyle  style)
inline

Definition at line 522 of file GR_DecorationRender.h.

void GR_VisualizerInfo::setVisibility ( GR_DecorVisibility  vis)
inline

Definition at line 528 of file GR_DecorationRender.h.


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