HDK
|
The primitive render hook which creates GR_PrimTetra objects. More...
#include <GR_PrimTetra.h>
Public Member Functions | |
GR_PrimTetraHook () | |
~GR_PrimTetraHook () override | |
GR_Primitive * | createPrimitive (const GT_PrimitiveHandle >_prim, const GEO_Primitive *geo_prim, const GR_RenderInfo *info, const char *cache_name, GR_PrimAcceptResult &processed) override |
Public Member Functions inherited from GUI_PrimitiveHook | |
GUI_PrimitiveHook (const char *hook_name, GUI_RenderMask mask=GUI_RENDER_MASK_ALL) | |
const char * | getName () const |
Name of this hook. More... | |
GUI_RenderMask | getRenderMask () const |
Bitmask of renderers supported by this hook. More... | |
virtual GT_PrimitiveHandle | filterPrimitive (const GT_PrimitiveHandle >_prm, const GEO_Primitive *geo_prm, const GR_RenderInfo *info, GR_PrimAcceptResult &processed) |
Additional Inherited Members | |
Protected Member Functions inherited from GUI_PrimitiveHook | |
virtual | ~GUI_PrimitiveHook () |
The primitive render hook which creates GR_PrimTetra objects.
Definition at line 37 of file GR_PrimTetra.h.
GR_PrimTetraHook::GR_PrimTetraHook | ( | ) |
Definition at line 44 of file GR_PrimTetra.C.
|
override |
Definition at line 49 of file GR_PrimTetra.C.
|
overridevirtual |
This is called when a new GR_Primitive is required for a tetra. gt_prim or geo_prim contains the GT or GEO primitive this object is being created for, depending on whether this hook is registered to capture GT or GEO primitives. info and cache_name should be passed down to the GR_Primitive constructor. processed should return GR_PROCESSED or GR_PROCESSED_NON_EXCLUSIVE if a primitive is created. Non-exclusive allows other render hooks or the native Houdini primitives to be created for the same primitive, which is useful for support hooks (drawing decorations, bounding boxes, etc).
Reimplemented from GUI_PrimitiveHook.
Definition at line 54 of file GR_PrimTetra.C.