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

#include <VISF_Visualizer.h>

+ Inheritance diagram for VISF_Visualizer:

Public Member Functions

 VISF_Visualizer ()
 
 ~VISF_Visualizer () override
 
virtual bool acceptsPrimitiveType (VISF_PrimitiveType type)
 
void updateForRender (RE_RenderContext r)
 
virtual GR_DecorVisibility getDecorVisibility ()
 
virtual void renderDecorations (RE_RenderContext r, const UT_Array< GUI_GeoRender * > &geos, const GUI_DisplayOption &disp_opts, GR_DecorRenderFlags flags) const
 
virtual bool canSetupRenderForGeo (RE_RenderContext r, GUI_DisplaySetType dset, GR_RenderMode render_mode, const GUI_GeoRender *geo, const GUI_DisplayOption &disp_opts)
 
virtual void setupRender (RE_RenderContext r, GUI_DisplaySetType dset, GR_RenderMode render_mode, const GUI_GeoRender *geo, GUI_DisplayOption &disp_opts) const
 
virtual void cleanupRender (RE_RenderContext r, GUI_DisplaySetType dset, GR_RenderMode render_mode, const GUI_GeoRender *geo, GUI_DisplayOption &disp_opts) const
 
virtual GT_PrimitiveHandle filterPrimitive (const GU_Detail *gdp, const GT_PrimitiveHandle &gt_prm, const GEO_Primitive *geo_prm, const GR_RenderInfo *info, GR_PrimAcceptResult &processed, GUI_VisFlags &vis_flags) const
 
virtual VISF_PrimitivecreatePrimitive (const GU_Detail *gdp, const GT_PrimitiveHandle &gt_prim, const GEO_Primitive *geo_prim, const GR_Primitive *gr_prim, const GR_RenderInfo *info, const char *cache_name, GR_PrimAcceptResult &processed) const
 
virtual VISF_VisualizercastToVISR ()
 
- Public Member Functions inherited from VIS_Visualizer
 VIS_Visualizer ()
 
virtual ~VIS_Visualizer ()
 
PRM_ParmListgetParmList ()
 
virtual bool updateParmsFlags ()
 
virtual PRM_TemplategetTemplateList () const =0
 
bool enableParm (const char *pn, int state, int v=-1)
 Helper methods to enable/disable or set visibility of parameters. More...
 
bool setVisibleState (const char *pn, bool state, int v=-1)
 
bool save (std::ostream &os)
 
bool load (UT_IStream &is)
 
int getTypeId () const
 
VIS_ParmsMicroNodegetParmsMicroNode ()
 
void requestRefinement ()
 
void requestUpdate ()
 
void requestAttribute (const char *attr, GA_AttributeOwner owner=GA_ATTRIB_INVALID)
 
VIS_MountgetMount () const
 
uint32 getFlags (uint32 mask) const
 Get or set one or more of the visualizer flags. More...
 
void setFlags (uint32 mask, bool onoff)
 
void updateRampFromMultiParm (fpreal t, const PRM_Parm &m, UT_Ramp &ramp, bool *time_dep=NULL)
 
int getSerialNum ()
 
void bumpSerialNum ()
 
virtual void copyParmValues (const VIS_Visualizer *other_vis)
 Set the values of common parameters to those of other_vis. More...
 
virtual VISF_VisualizercastToVISF ()
 

Protected Member Functions

 VISF_Visualizer (const VISF_Visualizer &src)
 Copy constructor. More...
 
virtual void doUpdateForRender (RE_RenderContext r)
 
- Protected Member Functions inherited from VIS_Visualizer
 VIS_Visualizer (const VIS_Visualizer &src)
 Copy constructore. More...
 
virtual void cookMyVisualizer ()=0
 
int cookVersion () const
 

Protected Attributes

int myRenderVersion
 
- Protected Attributes inherited from VIS_Visualizer
PRM_ParmListmyParmList
 

Additional Inherited Members

- Static Public Member Functions inherited from VIS_Visualizer
static void buildGroups (void *data, PRM_Name *menuEntries, int thelistsize, const PRM_SpareData *spare, const PRM_Parm *parm)
 
static void buildAttributes (void *data, PRM_Name *menuEntries, int thelistsize, const PRM_SpareData *spare, const PRM_Parm *parm)
 

Detailed Description

Definition at line 36 of file VISF_Visualizer.h.

Constructor & Destructor Documentation

VISF_Visualizer::VISF_Visualizer ( )
VISF_Visualizer::~VISF_Visualizer ( )
override
VISF_Visualizer::VISF_Visualizer ( const VISF_Visualizer src)
protected

Copy constructor.

Member Function Documentation

virtual bool VISF_Visualizer::acceptsPrimitiveType ( VISF_PrimitiveType  type)
inlinevirtual

Determines which primitive types can be passed to the visualizer for filtering or creation.

Definition at line 44 of file VISF_Visualizer.h.

virtual bool VISF_Visualizer::canSetupRenderForGeo ( RE_RenderContext  r,
GUI_DisplaySetType  dset,
GR_RenderMode  render_mode,
const GUI_GeoRender geo,
const GUI_DisplayOption disp_opts 
)
virtual
virtual VISF_Visualizer* VISF_Visualizer::castToVISR ( )
inlinevirtual

Definition at line 93 of file VISF_Visualizer.h.

virtual void VISF_Visualizer::cleanupRender ( RE_RenderContext  r,
GUI_DisplaySetType  dset,
GR_RenderMode  render_mode,
const GUI_GeoRender geo,
GUI_DisplayOption disp_opts 
) const
inlinevirtual

Definition at line 70 of file VISF_Visualizer.h.

virtual VISF_Primitive* VISF_Visualizer::createPrimitive ( const GU_Detail gdp,
const GT_PrimitiveHandle gt_prim,
const GEO_Primitive geo_prim,
const GR_Primitive gr_prim,
const GR_RenderInfo info,
const char *  cache_name,
GR_PrimAcceptResult processed 
) const
virtual
virtual void VISF_Visualizer::doUpdateForRender ( RE_RenderContext  r)
inlineprotectedvirtual

Definition at line 99 of file VISF_Visualizer.h.

virtual GT_PrimitiveHandle VISF_Visualizer::filterPrimitive ( const GU_Detail gdp,
const GT_PrimitiveHandle gt_prm,
const GEO_Primitive geo_prm,
const GR_RenderInfo info,
GR_PrimAcceptResult processed,
GUI_VisFlags vis_flags 
) const
virtual
virtual GR_DecorVisibility VISF_Visualizer::getDecorVisibility ( )
inlinevirtual

Definition at line 50 of file VISF_Visualizer.h.

virtual void VISF_Visualizer::renderDecorations ( RE_RenderContext  r,
const UT_Array< GUI_GeoRender * > &  geos,
const GUI_DisplayOption disp_opts,
GR_DecorRenderFlags  flags 
) const
inlinevirtual

Definition at line 53 of file VISF_Visualizer.h.

virtual void VISF_Visualizer::setupRender ( RE_RenderContext  r,
GUI_DisplaySetType  dset,
GR_RenderMode  render_mode,
const GUI_GeoRender geo,
GUI_DisplayOption disp_opts 
) const
inlinevirtual

Definition at line 64 of file VISF_Visualizer.h.

void VISF_Visualizer::updateForRender ( RE_RenderContext  r)

Member Data Documentation

int VISF_Visualizer::myRenderVersion
protected

Definition at line 101 of file VISF_Visualizer.h.


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