9 #ifndef __houdini_HoudiniRenderComponent_h__ 10 #define __houdini_HoudiniRenderComponent_h__ 17 class HoudiniRenderHookComponent:
public GUI_PrimitiveHook
21 HoudiniRenderHookComponent(
void);
22 virtual ~HoudiniRenderHookComponent(
void);
24 virtual GR_Primitive* createPrimitive(
const GT_PrimitiveHandle& gt_prim,
25 const GEO_Primitive* geo_prim,
26 const GR_RenderInfo* info,
27 const char* cache_name,
28 GR_PrimAcceptResult& processed);
30 static sp<DrawI> ms_spDraw;
43 const char *cache_name,
44 const GEO_Primitive *prim);
48 const char* className(
void)
const 49 {
return "HoudiniRenderComponent"; }
51 virtual GR_PrimAcceptResult acceptPrimitive(GT_PrimitiveType t,
53 const GT_PrimitiveHandle& ph,
54 const GEO_Primitive* prim);
56 virtual void update(RE_Render* a_pRender,
57 const GT_PrimitiveHandle& primh,
58 const GR_UpdateParms& p);
60 #if FE_HOUDINI_16_PLUS 61 virtual void render(RE_Render* a_pRender,
62 GR_RenderMode render_mode,
66 virtual void render(RE_Render* a_pRender,
67 GR_RenderMode render_mode,
69 const GR_DisplayOption *opt,
70 const RE_MaterialList* materials);
72 virtual void renderInstances(RE_Render *a_pRender,
73 GR_RenderMode render_mode,
75 const GR_DisplayOption *opt,
76 const RE_MaterialList *materials,
77 int render_instance) {}
80 virtual int renderPick(RE_Render* a_pRender,
81 const GR_DisplayOption* opt,
82 unsigned int pick_type,
83 GR_PickStyle pick_style,
95 virtual ~RenderBrush(
void);
97 void render(RE_Render* a_pRender,
100 virtual void drawPost(
void);
104 RE_Render* m_pRender;
110 RenderBrush* m_pRenderBrush;
kernel
Definition: namespace.dox:3
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
Houdini render handler for general Component.
Definition: HoudiniRenderComponent.h:38