|
| GUI_GeoRender (GUI_DetailLook *look, const char *name, int geo_index, int name_index) |
|
virtual | ~GUI_GeoRender () |
|
virtual const char * | className () const |
|
virtual bool | isLopRender () const |
|
void | setGeometry (OP_Node *node) |
|
OP_Node * | getGeometry () const |
|
void | setGeoName (const char *name) |
|
void | setInstanceName (const char *name) |
|
const char * | getCacheName () const |
|
void | setGeoIndex (int idx) |
|
int | getGeoIndex () const |
|
void | setNameIndex (int idx) |
|
int | getNameIndex () const |
|
int | getNodeID () const |
|
void | setGuideID (int id) |
|
int | getGuideID () const |
|
void | setDetailHandle (const GU_ConstDetailHandle &handle) |
|
virtual GU_ConstDetailHandle & | getDetailHandle () |
|
void | setDisplayed (bool is_disp) |
|
bool | isDisplayed () const |
|
bool | setDetailTransform (const UT_DMatrix4 &xform) |
|
const UT_DMatrix4 & | getDetailTransform (int index) const |
|
const UT_DMatrix4 & | getDetailInvTransform (int index) const |
|
int | getNumDetailTransforms () const |
|
void | setDetailFullTransform (const UT_DMatrix4 &xform) |
|
const UT_DMatrix4 & | getDetailFullTransform () const |
|
void | setInstancerTransform (const UT_DMatrix4 &xform) |
|
void | setInstancerTransformIdentity () |
|
const UT_DMatrix4 & | getInstancerTransform () const |
|
const UT_BoundingBox & | localBBox () |
|
const UT_BoundingBox & | worldBBox () |
|
void | updateBBox () |
|
virtual int | getBoundingBox2D (UT_BoundingBox &bbox, const char *name, int use_vertex) const |
|
virtual int | getBoundingBox3D (UT_BoundingBox &bbox, const UT_Matrix3R *rot) const |
|
int | getInstancedBoundingBox3D (UT_BoundingBox &bbox, const UT_Matrix3R *rot, const UT_DMatrix4 &detail_xform) const |
|
void | setIsInstancedGeo (bool instanced) |
|
bool | addInstanceTransform (const UT_DMatrix4 &xform, int geo_index) |
|
void | clearInstanceTransforms () |
|
void | setInstanceVersion (int64 version) |
|
int64 | getInstanceVersion () const |
|
virtual GUI_SetupResult | setup (const GUI_DisplayOption &disp_opt, GUI_DisplaySetType state, bool show_selection, GR_DecorationOverride selmask_dec, GR_DecorationOverride &select_dec, bool &needs_alpha, bool is_current) |
|
virtual bool | fastSetup (const GUI_DisplayOption &disp_opt) |
|
virtual void | update (RE_RenderContext r, GR_DisplayOption *opt, GUI_SetupResult setup_reason, GR_DecorationOverride selmask_dec, const char *view_name, bool &needs_alpha, const GR_FrustumList &view_frustums) |
|
virtual void | updateParallel (RE_RenderContext r, GR_DisplayOption *opt, GUI_SetupResult setup_reason, GR_DecorationOverride selmask_dec, const char *view_name, bool &needs_alpha, const GR_FrustumList &view_frustums) |
|
virtual bool | hasParallelUpdate () const |
|
void | updateRenderVersion (RE_RenderContext r) |
|
virtual void | cleanup (RE_RenderContext r) |
|
bool | isSetup () const |
|
bool | needsAlphaPass () const |
|
void | needsAlphaPass (bool need) |
|
bool | hasPendingMaterialTextures () const |
|
void | addMaterialReference (OP_Node *mat_node) |
|
void | removeMaterialReference (OP_Node *mat_node) |
|
void | clearMaterialReferences () |
|
void | retire () |
|
void | hide () |
|
bool | isLit () const |
|
bool | hasGuideParts () const |
|
bool | forceWireframe () const |
|
bool | forceShaded () const |
|
bool | forceXRay () const |
|
bool | shouldDrawShaded (GUI_DisplayOption &disp_opt) const |
|
void | setPostPassID (int id) |
|
int | getPostPassID () const |
|
bool | needsDeferredPass () const |
|
void | setNeedsDeferredPass (bool need) |
|
void | setDeferredPass (bool dpass) |
|
bool | isDeferredPass () const |
|
bool | needsParallelPass () const |
|
fpreal | getSetupTime () const |
|
fpreal | getDrawTime () const |
|
virtual bool | isObjectRender () const |
|
bool | hasMaterialReflection () const |
|
void | setGhosted (bool ghost) |
|
void | setObjectSelection (int obj_selection) |
|
void | setCanRenderUV (int uv_render) |
|
bool | canRenderUV () const |
|
bool | getComponentSelection (const GR_DisplayOption *opt, GR_SelectionAdapter &adapter) const |
|
virtual void | wireframeRender (RE_RenderContext r, GUI_DisplayOption &disp_opt, GR_RenderMode mode, GR_RenderFlags render_flags) |
|
virtual GUI_RenderPassFlags | beautyRender (RE_RenderContext r, GUI_DisplayOption &disp_opt, GR_ShadingPass shade_pass, GR_AlphaPass alphapass, GR_RenderMode mode, GR_RenderFlags render_flags) |
|
void | setupGhosting (RE_RenderContext r, const GUI_DisplayOption &disp_opt, UT_Vector4F &ghost_color, fpreal ghost_amount=0.5) |
|
void | cleanupGhosting (RE_RenderContext r) |
|
virtual void | utilityRender (RE_RenderContext r, GUI_DisplayOption &disp_opt, GR_RenderMode mode, GR_RenderFlags rflags) |
|
virtual void | postPassRender (RE_RenderContext r, GUI_DisplayOption &disp_opt, GR_AlphaPass apass) |
|
virtual void | bboxRender (RE_RenderContext r, GUI_DisplayOption &disp_opt, GR_RenderMode render_mode) |
|
void | renderMatteHighlights (RE_RenderContext r, GUI_DisplayOption &disp_opt, GR_RenderFlags render_flags) |
|
void | onionSkinRender (RE_RenderContext r, GUI_DisplayOption &disp_opt) |
|
virtual int64 | getPrimDecorationMask () const |
|
virtual void | setupDecorationsRender (RE_RenderContext r) |
|
virtual void | decorationRender (RE_RenderContext r, GUI_DisplayOption &disp_opt, GR_Decoration dec, GR_DecorVisibility vis, bool override_dispopt, GR_DecorRenderFlags render_flags) |
|
virtual void | customDecorationRender (RE_RenderContext r, GUI_DisplayOption &disp_opts, const GR_VisualizerInfo *dec, GR_DecorRenderFlags flags) |
|
bool | canBeSelected (OP_Node *op, GUI_DisplayOption &disp_opt, bool pick_template, bool pick_non_sel, bool pick_ghost, OBJ_Node **node=nullptr) const |
|
bool | canBeSelectedWhenNotUsingOps (GUI_DisplayOption &disp_opt, bool pick_template, bool pick_non_sel, bool pick_ghost) const |
|
virtual void | objectPick (RE_RenderContext r, GUI_DisplayOption &opts, GR_RenderFlags render_flags, const GR_ObjectPickFlags &pick_flags, bool force_wire) |
|
virtual int | componentPick (RE_RenderContext r, GUI_DisplayOption &opts, unsigned int primmask, GEO_PrimTypeCompat::TypeMask primask, GR_PickStyle pickstyle, bool has_pick_map, UT_Array< GR_PickRecord > *pick_records) |
|
GUI_DetailLook & | look () const |
|
const char * | name () const |
|
void | setupLighting (GR_LightList *list, bool headlight) |
|
void | cleanupLighting () |
|
void | bumpObjectMaterial () |
|
void | useObjectMaterials (bool use_obj_mat) |
|
bool | getAssignedMaterials (UT_Array< OP_Node * > &nodes) const |
|
int | getObjectMaterialID () const |
|
void | adoptAtlas (const RE_MaterialAtlas &gl_atlas, const GR_MaterialAtlas &vk_atlas) |
|
bool | isBBoxShadingMode (const GR_DisplayOption *opt) const |
|
bool | isBBoxShadingMode (GUI_DisplayOption &opt) const |
|
bool | prepReflectionMap (RE_RenderContext r, GUI_DisplayOption &opt, int64 version, fpreal time) |
|
void | startReflectionPass (RE_RenderContext r, RE_TextureCubeFace f) |
|
void | endReflectionPass (RE_RenderContext r) |
|
void | finishReflectionMap (RE_RenderContext r, GUI_DisplayOption &opt) |
|
RE_Texture * | getReflectionMap () const |
|
exint | getVisUpdateTime () const |
|
exint | getVisRefineTime () const |
|
void | refreshVisUpdateTime () |
|
void | refreshVisRefineTime () |
|
bool | hasUpdateVisualizer (int vis_id) const |
|
bool | hasRefineVisualizer (int vis_id) const |
|
const UT_IntArray & | getActiveVisualizers () const |
|
const UT_IntArray & | getUpdateVisualizers () const |
|
const UT_IntArray & | getRefineVisualizers () const |
|
void | refreshUpdateVisualizers () |
|
void | clearUpdateVisualizers () |
|
void | refreshRefineVisualizers () |
|
void | clearRefineVisualizers () |
|
void | runCreatorVisualizers (int &listcount, UT_Array< GT_PrimitiveHandle > &handles) |
|
GUI_VisFlags | getActiveVisFlags (int prim_idx, GUI_VisContext context) const |
|
const GT_DataArrayHandle | findCachedAttribute (const char *attrib_name, GT_Owner owner=GT_OWNER_INVALID) const |
|
virtual const
GEO_DetachedHedgeInterface * | getHedgeInterface (bool use_hidden_grp) |
|
virtual const GEO_PrimClassifier * | getPrimClassifier (GU_Connectivity con) |
|
virtual const GA_EdgeGroup * | getHiddenEdgeGroup () |
|
virtual const GA_ElementGroup * | getVisibleElementGroup (GA_GroupType t) |
|
bool | isMSSEnabled () const |
|
bool | isMSSPackedEnabled () const |
|
bool | isMSSPerPrimEnabled () const |
|
bool | areOverridesEnabled () const |
|
int | getMaterialLimit () const |
|
void | setMaterialLimitExceeded (bool e) |
|
void | invalidateGeo () |
|
void | clearDataIds () |
|
GR_MaterialAtlas * | materials () |
|
bool | hasMaterialOpChanges () const |
|
|
virtual void | cleanupMaterials () |
|
void | invalidateBounds () |
|
virtual void | doUpdateBBox (UT_BoundingBox &world_bbox, UT_BoundingBox &local_bbox) |
|
void | setShowMaterials (bool show) |
|
bool | showMaterials () const |
|
virtual bool | shouldRender (const GU_Detail *geo) const |
|
int | getNumPrimitives () const |
|
GR_Primitive * | getPrimitive (int index) const |
|
GR_DisplayOption * | getDisplayOptionSet (GUI_DisplayOption &disp_opt) |
|
const GR_DisplayOption * | getDisplayOptionSet (const GUI_DisplayOption &disp_opt) const |
|
virtual void | wireRender (RE_RenderContext r, GUI_DisplayOption &disp_opt, const GU_Detail *geo, GR_RenderMode mode, GR_RenderFlags flags) |
|
virtual void | solidRender (RE_RenderContext r, GUI_DisplayOption &disp_opt, const GU_Detail *geo, GR_RenderMode mode, GR_RenderFlags flags, GR_AlphaPass pass) |
|
virtual void | simpleRender (RE_RenderContext r, GUI_DisplayOption &opt, const GU_Detail *geo, GR_RenderMode mode, GR_RenderFlags flags) |
|
virtual void | simpleBBoxRender (RE_RenderContext r, GUI_DisplayOption &opt, RE_Shader *shader=0, bool fill=true, bool outline=true) |
|
GR_DecorationOverride | getSelectionDecorations (const GR_DisplayOption *opt) const |
|
bool | isClosureSelection (GU_SelectionHandle sel, bool &has_edges) const |
|
bool | isClosureSelection (GR_SelectionAdapter &sel, bool &has_edges) const |
|
bool | prepMaterials (RE_RenderContext r, const GR_DisplayOption *opts, bool &needs_alpha_pass) |
|
bool | prepVulkanMaterials (RV_Render *r, const GR_DisplayOption *disp, bool &needs_alpha) |
|
int | prepVulkanMaterialList (RV_Render *r, GR_MaterialAtlas &mats, const GR_DisplayOption *opts, UT_Set< int > &op_ids, bool &needs_alpha, bool &changed) |
|
void | setupWireSelectParms (RE_RenderContext r, const GUI_DisplayOption &disp_opts, bool is_wireframe, GR_RenderFlags &flags) |
|
void | cleanupWireSelectParms (RE_RenderContext r) |
|
void | setObjectMatrixUniform (RE_RenderContext r) |
|
void | doPrimitiveUpdates (RE_RenderContext r, GR_DisplayOption *opts, UT_Array< GT_PrimitiveHandle > &handles, GT_RefineParms &refine_opts, GR_UpdateReason reason, GR_DecorationOverride req_dec, const char *view_name, const GR_FrustumList &view_frustums, bool did_refinement, bool prim_update, bool &needs_alpha) |
|
void | updatePrimitives (RE_RenderContext r, GR_DisplayOption *opts, UT_Array< GT_PrimitiveHandle > &hlist, GT_RefineParms &refine_opts, GR_UpdateReason reason, GR_DecorationOverride req_dec, const char *view_name, const GR_FrustumList &view_frustums) |
|
void | processPrimitives (const GU_ConstDetailHandle &geo, GT_PrimitiveHandle &ph, GT_RefineParms &refparms, int &listcount, const GR_DisplayOption &dispopt, GR_UpdateReason reason, const char *cache_name, UT_Array< GT_PrimitiveHandle > &handles) |
|
bool | processPrim (const GU_ConstDetailHandle &geo, GT_PrimitiveHandle &ph, GT_RefineParms &refparms, int &listcount, const GR_DisplayOption &dispopt, GR_UpdateReason reason, const char *cache_name, UT_Array< GT_PrimitiveHandle > &handles, bool apply_filter_vis, int &packed_index) |
|
void | processAlembicArchive (GT_PrimitiveHandle &ph, const GU_ConstDetailHandle &gdh, GT_RefineParms &refparms, int &listcount, const GR_DisplayOption &dispopt, GR_UpdateReason reason, const char *cache_name, UT_Array< GT_PrimitiveHandle > &handles, exint mat_id) |
|
void | clearUnusedAlembicArchives () |
|
void | renderMatteGroupColors (RE_RenderContext r, GUI_GroupDataHandle group_data, const GR_DisplayOption *opt, GR_RenderFlags render_flags) |
|
void | renderPrims (RE_RenderContext r, const GR_DisplayOption *opt, GR_RenderMode mode, GR_RenderFlags flags, GR_AlphaPass alphapass, bool use_materials) |
|
bool | createOrReuseRefinedPrim (GT_PrimitiveHandle &ph, const GU_ConstDetailHandle &gdh, const GEO_Primitive *geo_prim, int &listcount, const GR_DisplayOption &disp, GR_UpdateReason reason, const GT_RefineParms &ref_parms, const char *cache_name, UT_Array< GT_PrimitiveHandle > &handles, bool processing_geo_prims, bool apply_filter_vis, int packed_index, int64 mat_id) |
|
GR_PrimAcceptResult | checkForExistingPrim (GT_PrimitiveHandle &ph, GR_Primitive *prim, int pindex, GR_UpdateReason reason, const GT_RefineParms &ref_parms, const GU_ConstDetailHandle &gdh, const GEO_Primitive *geo_prim, int &listcount, UT_Array< GT_PrimitiveHandle > &hdl, bool processing_geo_prims, int packed_index) |
|
void | classifyPrim (const GT_Primitive *prim) |
|
void | resetPrimClassify () |
|
void | accumulateTime (RE_RenderContext r) |
|
void | buildEdgeHighlight (RE_RenderContext r, const GU_Detail *geo, GR_UpdateReason reason, const GR_DisplayOption *opt, const char *view_name) |
|
bool | buildInstanceSelection (bool has_sel_overrides) |
|
fpreal | getPointInstanceFraction (const GR_DisplayOption *opts) const |
|
UT_Matrix4DArray * | getPointInstanceTransforms (const GR_DisplayOption *opts) |
|
RE_CacheVersion | getGeoVersion (const GU_Detail *geo, const GR_DisplayOption *opt) |
|
RE_CacheVersion | getSelectionVersion (const GU_Detail *geo, const GR_DisplayOption *opt) |
|
RE_CacheVersion | getEdgeHighlightVersion (const GU_Detail *geo, const GR_DisplayOption *opt, bool include_selection) |
|
void | setSelection (int64 id, int64 version) |
|
GR_PrimAcceptResult | processHookPrimitive (GT_PrimitiveHandle >_prim, const GEO_Primitive *geo_prim, const GU_ConstDetailHandle &gdh, GR_UpdateReason reason, const GT_RefineParms &ref_parms, const char *cache_name, GR_Primitive *&created, int &list_index, int &hook_priority, bool &filtered_prim, gui_RenderHookEntry *&prev, UT_Array< GT_PrimitiveHandle > &hdls, bool processing_geo_prims, int packed_index) |
|
void | processFilterHooks (GT_PrimitiveHandle >_prim, const GEO_Primitive *geo_prim) |
|
void | restartCollectionPrimitives () |
|
void | removeUnusedCollectionPrimitives () |
|
void | find3DBoundaries (const GU_Detail *geo, const GA_PrimitiveGroup *within_prims, GA_EdgeGroup *boundary_group) |
|
void | findUVBoundaries (const GU_Detail *geo, const GA_PrimitiveGroup *within_prims, GA_EdgeGroup *uv_boundary_group, const GA_ROHandleV2 &uv, bool vert_uvs) |
|
bool | matchesVersion (gui_BoundaryData &bdata, const UT_StringHolder &attrib_name, const RE_CacheVersion &ver, bool view_3d, bool vert_uv) |
|
void | createEdgeGeo (RE_RenderContext r, gui_BoundaryData &bdata, const GA_EdgeGroup *edges, bool is_3d, bool is_vertex, const UT_StringHolder &attrib_name, const UT_StringHolder &cache_suffix, const GU_Detail *geo, const RE_CacheVersion &ev, GA_ROHandleV2 *uvhandle=nullptr) |
|
GR_RenderInfo & | getRenderInfo () |
|
void | getRefineParms (RE_RenderContext r, const GR_DisplayOption *opts, GT_RefineParms &p) const |
|
void | resizePrimArray (exint nprims, bool clear=false) |
|
void | assignPrim (exint index, GR_Primitive *prim, const GT_PrimitiveHandle >prim) |
|
void | updateWorldTransform () |
|
bool | checkDisplacementChange (const GR_CommonDispOption &opt) |
|
Definition at line 84 of file GUI_GeoRender.h.