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

#include <VISF_Visualizer.h>

+ Inheritance diagram for VISF_Visualizer:

Public Member Functions

 VISF_Visualizer ()
 
virtual ~VISF_Visualizer ()
 
virtual bool acceptsPrimitiveType (VISF_PrimitiveType type)
 
virtual GR_DecorVisibility getDecorVisibility ()
 
virtual void renderDecorations (RE_Render *r, const UT_Array< GUI_GeoRender * > &geos, const GUI_DisplayOption &disp_opts, GR_DecorRenderFlags flags) const
 
virtual bool canSetupRenderForGeo (RE_Render *r, GUI_DisplaySetType dset, GR_RenderMode render_mode, const GUI_GeoRender *geo, const GUI_DisplayOption &disp_opts)
 
virtual void setupRender (RE_Render *r, GUI_DisplaySetType dset, GR_RenderMode render_mode, const GUI_GeoRender *geo, GUI_DisplayOption &disp_opts) const
 
virtual void cleanupRender (RE_Render *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 constructore. More...
 
- Protected Member Functions inherited from VIS_Visualizer
 VIS_Visualizer (const VIS_Visualizer &src)
 Copy constructore. More...
 
virtual void cookMyVisualizer ()=0
 

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)
 
- Protected Attributes inherited from VIS_Visualizer
PRM_ParmListmyParmList
 

Detailed Description

Definition at line 35 of file VISF_Visualizer.h.

Constructor & Destructor Documentation

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

Copy constructore.

Member Function Documentation

virtual bool VISF_Visualizer::acceptsPrimitiveType ( VISF_PrimitiveType  type)
inlinevirtual

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

Definition at line 43 of file VISF_Visualizer.h.

virtual bool VISF_Visualizer::canSetupRenderForGeo ( RE_Render 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 90 of file VISF_Visualizer.h.

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

Definition at line 67 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 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 47 of file VISF_Visualizer.h.

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

Definition at line 50 of file VISF_Visualizer.h.

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

Definition at line 61 of file VISF_Visualizer.h.


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