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

#include <GUI_GeoRender.h>

Classes

class  gui_BoundaryData
 

Public Member Functions

 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 isDisplayAsSubdiv () 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 ()
 
bool updateBBox ()
 
virtual bool getBoundingBox2D (UT_BoundingBox &bbox, const char *name, int use_vertex) const
 
virtual bool getBoundingBox3D (UT_BoundingBox &bbox, const UT_Matrix3R *rot) const
 
bool 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
 
void gpuMemoryUsage (exint &used_bytes, exint &cached_bytes, exint &pinned_bytes)
 Query the memory used by the prims in this geometry. More...
 
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 hasOnionSkinPrims () const
 
void getOnionSkinPrimRenderInfos (UT_Array< GU_OnionSkinPrimRenderInfo > &infos) const
 
bool hasOutlineOnionSkins () const
 
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 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 setHasTimeDependentMaterials (bool d)
 
bool hasTimeDependentMaterials () const
 
void invalidateGeo ()
 
void clearDataIds ()
 
bool getCameraInfo (const UT_StringHolder &name, UT_CameraParms &parms, UT_Matrix4D &transform) const
 
GR_MaterialAtlas * materials ()
 
bool hasMaterialOpChanges () const
 
void prepareForRayTrace (RE_RenderContext r, int tag, int light_id)
 

Static Public Member Functions

static void setWorldToScreen (const UT_Matrix4R &xform)
 
static void setupRender (RE_RenderContext r, GR_RenderMode mode)
 
static void cleanupRender (RE_RenderContext r, GR_RenderMode mode)
 
static void resetStats ()
 
static void getStats (int &num_objs, int &num_polys, int &num_vertices)
 
static int getPolygonMeshLimit (RE_RenderContext r)
 
static int getPointMeshLimit (RE_RenderContext r)
 
static void handleMaterialChange (OP_Node *src, void *dest, OP_EventType type, void *data)
 
static bool initShaders (RV_Instance *inst)
 
static void cleanupShaders ()
 
static bool registerHook (GUI_PrimitiveHook *hook, GT_PrimitiveType gt_type, int geo_type, int priority, GUI_PrimitiveHookFlags flags)
 

Protected Types

enum  FetchBufResult {
  FETCH_NO_GEO_ATTRIB, FETCH_NO_SHADER_ATTRIB, FETCH_CACHED, FETCH_FILLED,
  FETCH_ERROR
}
 

Protected Member Functions

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 setupDepthOffset (RE_RenderContext r, const GUI_DisplayOption &disp_opts, GR_RenderFlags &flags, bool *old_poly_offset)
 
void cleanupDepthOffset (RE_RenderContext r, bool old_poly_offset)
 
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 is_onion_skin_pass=false)
 
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 &gt_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 &gt_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 &gtprim)
 
void updateWorldTransform ()
 
bool checkDisplacementChange (const GR_CommonDispOption &opt)
 

Protected Attributes

const GU_Detail * myLockedDetail
 
GR_MaterialAtlas myVulkanMaterials
 
GUI_ObjectMaterialCache * myObjectMaterialCache
 
UT_Map< UT_StringRef, int > myAttributes
 
UT_Map< UT_StringRef, int > myPrevAttributes
 
UT_UniquePtr< gui_UpdateResults > myUpdateResults
 
int64 myEdgePrimsVersion
 
UT_SharedPtr< GA_PrimitiveGroup > myEdgePrims
 
gui_BoundaryData my3DBoundary
 
UT_StringMap< gui_BoundaryData > myUVBoundary
 
UT_StringMap< bool > myUVAttribIsVertex
 
gui_BoundaryData myEdgeSelection
 
bool myHasEdgeSelection
 
UT_UniquePtr< GA_EdgeGroup > mySelectedEdges
 
int64 myUVAttribSerial
 
int64 myInstanceVersion
 
int64 myLimitInstanceVersion
 
int myViewSerial
 
int myViewID
 
int myTexCacheSerial
 
int myDefaultMatSerial
 
GR_LightList * myLightList
 
bool myUseHeadlight
 
int64 myPrimDecorMask
 
bool myCheckUpdateViewFlag
 
UT_UniquePtr< RV_Geometry > myCubeGeo
 
UT_UniquePtr< RV_ShaderBlock > myCubeTransforms
 
UT_UniquePtr
< RV_ShaderVariableSet > 
myCubeSet
 
int64 myDispOptID
 
int myDispOptSerial
 

Static Protected Attributes

static UT_Lock theShaderLock
 
static int theNumObjects
 
static int theNumPolys
 
static int theNumVertices
 

Friends

class gr_PrimEntry
 

Detailed Description

Definition at line 89 of file GUI_GeoRender.h.

Member Enumeration Documentation

Enumerator
FETCH_NO_GEO_ATTRIB 
FETCH_NO_SHADER_ATTRIB 
FETCH_CACHED 
FETCH_FILLED 
FETCH_ERROR 

Definition at line 656 of file GUI_GeoRender.h.

Constructor & Destructor Documentation

GUI_GeoRender::GUI_GeoRender ( GUI_DetailLook *  look,
const char *  name,
int  geo_index,
int  name_index 
)
virtual GUI_GeoRender::~GUI_GeoRender ( )
virtual

Member Function Documentation

void GUI_GeoRender::accumulateTime ( RE_RenderContext  r)
protected
bool GUI_GeoRender::addInstanceTransform ( const UT_DMatrix4 &  xform,
int  geo_index 
)
void GUI_GeoRender::addMaterialReference ( OP_Node *  mat_node)
void GUI_GeoRender::adoptAtlas ( const GR_MaterialAtlas &  vk_atlas)
bool GUI_GeoRender::areOverridesEnabled ( ) const
inline

Definition at line 550 of file GUI_GeoRender.h.

void GUI_GeoRender::assignPrim ( exint  index,
GR_Primitive *  prim,
const GT_PrimitiveHandle &  gtprim 
)
protected
virtual void GUI_GeoRender::bboxRender ( RE_RenderContext  r,
GUI_DisplayOption &  disp_opt,
GR_RenderMode  render_mode 
)
virtual
virtual GUI_RenderPassFlags GUI_GeoRender::beautyRender ( RE_RenderContext  r,
GUI_DisplayOption &  disp_opt,
GR_ShadingPass  shade_pass,
GR_AlphaPass  alphapass,
GR_RenderMode  mode,
GR_RenderFlags  render_flags 
)
virtual
void GUI_GeoRender::buildEdgeHighlight ( RE_RenderContext  r,
const GU_Detail *  geo,
GR_UpdateReason  reason,
const GR_DisplayOption *  opt,
const char *  view_name 
)
protected
bool GUI_GeoRender::buildInstanceSelection ( bool  has_sel_overrides)
protected
void GUI_GeoRender::bumpObjectMaterial ( )
inline

Definition at line 443 of file GUI_GeoRender.h.

bool GUI_GeoRender::canBeSelected ( OP_Node *  op,
GUI_DisplayOption &  disp_opt,
bool  pick_template,
bool  pick_non_sel,
bool  pick_ghost,
OBJ_Node **  node = nullptr 
) const
bool GUI_GeoRender::canBeSelectedWhenNotUsingOps ( GUI_DisplayOption &  disp_opt,
bool  pick_template,
bool  pick_non_sel,
bool  pick_ghost 
) const
bool GUI_GeoRender::canRenderUV ( ) const
inline

Definition at line 316 of file GUI_GeoRender.h.

bool GUI_GeoRender::checkDisplacementChange ( const GR_CommonDispOption &  opt)
protected
GR_PrimAcceptResult GUI_GeoRender::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 
)
protected
void GUI_GeoRender::classifyPrim ( const GT_Primitive *  prim)
protected
virtual const char* GUI_GeoRender::className ( ) const
inlinevirtual

Definition at line 98 of file GUI_GeoRender.h.

virtual void GUI_GeoRender::cleanup ( RE_RenderContext  r)
virtual
void GUI_GeoRender::cleanupDepthOffset ( RE_RenderContext  r,
bool  old_poly_offset 
)
protected
void GUI_GeoRender::cleanupGhosting ( RE_RenderContext  r)
void GUI_GeoRender::cleanupLighting ( )
virtual void GUI_GeoRender::cleanupMaterials ( )
inlineprotectedvirtual

Definition at line 585 of file GUI_GeoRender.h.

static void GUI_GeoRender::cleanupRender ( RE_RenderContext  r,
GR_RenderMode  mode 
)
static
static void GUI_GeoRender::cleanupShaders ( )
static
void GUI_GeoRender::cleanupWireSelectParms ( RE_RenderContext  r)
protected
void GUI_GeoRender::clearDataIds ( )
inline

Definition at line 565 of file GUI_GeoRender.h.

void GUI_GeoRender::clearInstanceTransforms ( )
void GUI_GeoRender::clearMaterialReferences ( )
void GUI_GeoRender::clearRefineVisualizers ( )
inline

Definition at line 515 of file GUI_GeoRender.h.

void GUI_GeoRender::clearUnusedAlembicArchives ( )
protected
void GUI_GeoRender::clearUpdateVisualizers ( )
inline

Definition at line 509 of file GUI_GeoRender.h.

virtual int GUI_GeoRender::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 
)
virtual
void GUI_GeoRender::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 
)
protected
bool GUI_GeoRender::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 
)
protected
virtual void GUI_GeoRender::customDecorationRender ( RE_RenderContext  r,
GUI_DisplayOption &  disp_opts,
const GR_VisualizerInfo *  dec,
GR_DecorRenderFlags  flags 
)
virtual
virtual void GUI_GeoRender::decorationRender ( RE_RenderContext  r,
GUI_DisplayOption &  disp_opt,
GR_Decoration  dec,
GR_DecorVisibility  vis,
bool  override_dispopt,
GR_DecorRenderFlags  render_flags 
)
virtual
void GUI_GeoRender::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 
)
protected
virtual void GUI_GeoRender::doUpdateBBox ( UT_BoundingBox &  world_bbox,
UT_BoundingBox &  local_bbox 
)
protectedvirtual
void GUI_GeoRender::endReflectionPass ( RE_RenderContext  r)
virtual bool GUI_GeoRender::fastSetup ( const GUI_DisplayOption &  disp_opt)
virtual
void GUI_GeoRender::find3DBoundaries ( const GU_Detail *  geo,
const GA_PrimitiveGroup *  within_prims,
GA_EdgeGroup *  boundary_group 
)
protected
const GT_DataArrayHandle GUI_GeoRender::findCachedAttribute ( const char *  attrib_name,
GT_Owner  owner = GT_OWNER_INVALID 
) const
void GUI_GeoRender::findUVBoundaries ( const GU_Detail *  geo,
const GA_PrimitiveGroup *  within_prims,
GA_EdgeGroup *  uv_boundary_group,
const GA_ROHandleV2 &  uv,
bool  vert_uvs 
)
protected
void GUI_GeoRender::finishReflectionMap ( RE_RenderContext  r,
GUI_DisplayOption &  opt 
)
bool GUI_GeoRender::forceShaded ( ) const
inline

Definition at line 278 of file GUI_GeoRender.h.

bool GUI_GeoRender::forceWireframe ( ) const
inline

Definition at line 275 of file GUI_GeoRender.h.

bool GUI_GeoRender::forceXRay ( ) const
inline

Definition at line 281 of file GUI_GeoRender.h.

GUI_VisFlags GUI_GeoRender::getActiveVisFlags ( int  prim_idx,
GUI_VisContext  context 
) const
const UT_IntArray& GUI_GeoRender::getActiveVisualizers ( ) const
inline

Definition at line 497 of file GUI_GeoRender.h.

bool GUI_GeoRender::getAssignedMaterials ( UT_Array< OP_Node * > &  nodes) const
virtual bool GUI_GeoRender::getBoundingBox2D ( UT_BoundingBox &  bbox,
const char *  name,
int  use_vertex 
) const
virtual
virtual bool GUI_GeoRender::getBoundingBox3D ( UT_BoundingBox &  bbox,
const UT_Matrix3R *  rot 
) const
virtual
const char* GUI_GeoRender::getCacheName ( ) const
inline

Definition at line 110 of file GUI_GeoRender.h.

bool GUI_GeoRender::getCameraInfo ( const UT_StringHolder &  name,
UT_CameraParms &  parms,
UT_Matrix4D &  transform 
) const
bool GUI_GeoRender::getComponentSelection ( const GR_DisplayOption *  opt,
GR_SelectionAdapter &  adapter 
) const
const UT_DMatrix4& GUI_GeoRender::getDetailFullTransform ( ) const
inline

Definition at line 145 of file GUI_GeoRender.h.

virtual GU_ConstDetailHandle& GUI_GeoRender::getDetailHandle ( )
inlinevirtual

Definition at line 128 of file GUI_GeoRender.h.

const UT_DMatrix4 & GUI_GeoRender::getDetailInvTransform ( int  index) const
inline

Definition at line 1300 of file GUI_GeoRender.h.

const UT_DMatrix4 & GUI_GeoRender::getDetailTransform ( int  index) const
inline

Definition at line 1294 of file GUI_GeoRender.h.

GR_DisplayOption* GUI_GeoRender::getDisplayOptionSet ( GUI_DisplayOption &  disp_opt)
inlineprotected

Definition at line 604 of file GUI_GeoRender.h.

const GR_DisplayOption* GUI_GeoRender::getDisplayOptionSet ( const GUI_DisplayOption &  disp_opt) const
inlineprotected

Definition at line 607 of file GUI_GeoRender.h.

fpreal GUI_GeoRender::getDrawTime ( ) const
inline

Definition at line 303 of file GUI_GeoRender.h.

RE_CacheVersion GUI_GeoRender::getEdgeHighlightVersion ( const GU_Detail *  geo,
const GR_DisplayOption *  opt,
bool  include_selection 
)
protected
int GUI_GeoRender::getGeoIndex ( ) const
inline

Definition at line 114 of file GUI_GeoRender.h.

OP_Node* GUI_GeoRender::getGeometry ( ) const
RE_CacheVersion GUI_GeoRender::getGeoVersion ( const GU_Detail *  geo,
const GR_DisplayOption *  opt 
)
protected
int GUI_GeoRender::getGuideID ( ) const
inline

Definition at line 124 of file GUI_GeoRender.h.

virtual const GEO_DetachedHedgeInterface* GUI_GeoRender::getHedgeInterface ( bool  use_hidden_grp)
virtual
virtual const GA_EdgeGroup* GUI_GeoRender::getHiddenEdgeGroup ( )
virtual
bool GUI_GeoRender::getInstancedBoundingBox3D ( UT_BoundingBox &  bbox,
const UT_Matrix3R *  rot,
const UT_DMatrix4 &  detail_xform 
) const
const UT_DMatrix4& GUI_GeoRender::getInstancerTransform ( ) const
inline

Definition at line 156 of file GUI_GeoRender.h.

int64 GUI_GeoRender::getInstanceVersion ( ) const
inline

Definition at line 1288 of file GUI_GeoRender.h.

int GUI_GeoRender::getMaterialLimit ( ) const
inline

Definition at line 552 of file GUI_GeoRender.h.

int GUI_GeoRender::getNameIndex ( ) const
inline

Definition at line 116 of file GUI_GeoRender.h.

int GUI_GeoRender::getNodeID ( ) const
inline

Definition at line 119 of file GUI_GeoRender.h.

int GUI_GeoRender::getNumDetailTransforms ( ) const
inline

Definition at line 141 of file GUI_GeoRender.h.

int GUI_GeoRender::getNumPrimitives ( ) const
inlineprotected

Definition at line 600 of file GUI_GeoRender.h.

int GUI_GeoRender::getObjectMaterialID ( ) const
inline

Definition at line 448 of file GUI_GeoRender.h.

void GUI_GeoRender::getOnionSkinPrimRenderInfos ( UT_Array< GU_OnionSkinPrimRenderInfo > &  infos) const

This is a utility for getting all GU_OnionSkinPrimRenderInfo from onion skin primitives. It is meant for use during rendering of onion skins so that appearance of each onion skin can be written into a buffer on the GPU. The info is indexed by onion skin group minus 1 (for example, onion skin group 1 is in index 0 of the array).

fpreal GUI_GeoRender::getPointInstanceFraction ( const GR_DisplayOption *  opts) const
protected
UT_Matrix4DArray* GUI_GeoRender::getPointInstanceTransforms ( const GR_DisplayOption *  opts)
protected
static int GUI_GeoRender::getPointMeshLimit ( RE_RenderContext  r)
static
static int GUI_GeoRender::getPolygonMeshLimit ( RE_RenderContext  r)
static
int GUI_GeoRender::getPostPassID ( ) const
inline

Definition at line 289 of file GUI_GeoRender.h.

virtual const GEO_PrimClassifier* GUI_GeoRender::getPrimClassifier ( GU_Connectivity  con)
virtual
virtual int64 GUI_GeoRender::getPrimDecorationMask ( ) const
inlinevirtual

Definition at line 375 of file GUI_GeoRender.h.

GR_Primitive* GUI_GeoRender::getPrimitive ( int  index) const
protected
void GUI_GeoRender::getRefineParms ( RE_RenderContext  r,
const GR_DisplayOption *  opts,
GT_RefineParms &  p 
) const
protected
const UT_IntArray& GUI_GeoRender::getRefineVisualizers ( ) const
inline

Definition at line 503 of file GUI_GeoRender.h.

RE_Texture* GUI_GeoRender::getReflectionMap ( ) const
GR_RenderInfo& GUI_GeoRender::getRenderInfo ( )
inlineprotected

Definition at line 872 of file GUI_GeoRender.h.

GR_DecorationOverride GUI_GeoRender::getSelectionDecorations ( const GR_DisplayOption *  opt) const
protected
RE_CacheVersion GUI_GeoRender::getSelectionVersion ( const GU_Detail *  geo,
const GR_DisplayOption *  opt 
)
protected
fpreal GUI_GeoRender::getSetupTime ( ) const
inline

Definition at line 302 of file GUI_GeoRender.h.

static void GUI_GeoRender::getStats ( int &  num_objs,
int &  num_polys,
int &  num_vertices 
)
static
const UT_IntArray& GUI_GeoRender::getUpdateVisualizers ( ) const
inline

Definition at line 500 of file GUI_GeoRender.h.

virtual const GA_ElementGroup* GUI_GeoRender::getVisibleElementGroup ( GA_GroupType  t)
virtual
exint GUI_GeoRender::getVisRefineTime ( ) const
inline

Definition at line 480 of file GUI_GeoRender.h.

exint GUI_GeoRender::getVisUpdateTime ( ) const
inline

Definition at line 477 of file GUI_GeoRender.h.

void GUI_GeoRender::gpuMemoryUsage ( exint &  used_bytes,
exint &  cached_bytes,
exint &  pinned_bytes 
)

Query the memory used by the prims in this geometry.

static void GUI_GeoRender::handleMaterialChange ( OP_Node *  src,
void *  dest,
OP_EventType  type,
void *  data 
)
static
bool GUI_GeoRender::hasGuideParts ( ) const
inline

Definition at line 272 of file GUI_GeoRender.h.

bool GUI_GeoRender::hasMaterialOpChanges ( ) const
inline

Definition at line 577 of file GUI_GeoRender.h.

bool GUI_GeoRender::hasMaterialReflection ( ) const
inline

Definition at line 307 of file GUI_GeoRender.h.

bool GUI_GeoRender::hasOnionSkinPrims ( ) const
inline

Returns true if this contains any primitives meant to be rendered during an onion skin pass. This can change after refinement during an update.

Definition at line 237 of file GUI_GeoRender.h.

bool GUI_GeoRender::hasOutlineOnionSkins ( ) const

This is a utility for checking if any onion skin primitives have their render mode set to OUTLINE. It is meant for use during rendering of onion skins, since outlines require a bit more setup compared to other onion skin render modes.

virtual bool GUI_GeoRender::hasParallelUpdate ( ) const
virtual
bool GUI_GeoRender::hasPendingMaterialTextures ( ) const
inline

Definition at line 254 of file GUI_GeoRender.h.

bool GUI_GeoRender::hasRefineVisualizer ( int  vis_id) const
inline

Definition at line 494 of file GUI_GeoRender.h.

bool GUI_GeoRender::hasTimeDependentMaterials ( ) const
inline

Definition at line 557 of file GUI_GeoRender.h.

bool GUI_GeoRender::hasUpdateVisualizer ( int  vis_id) const
inline

Definition at line 491 of file GUI_GeoRender.h.

void GUI_GeoRender::hide ( )
static bool GUI_GeoRender::initShaders ( RV_Instance *  inst)
static
void GUI_GeoRender::invalidateBounds ( )
inlineprotected

Definition at line 587 of file GUI_GeoRender.h.

void GUI_GeoRender::invalidateGeo ( )
bool GUI_GeoRender::isBBoxShadingMode ( const GR_DisplayOption *  opt) const
inline

Definition at line 452 of file GUI_GeoRender.h.

bool GUI_GeoRender::isBBoxShadingMode ( GUI_DisplayOption &  opt) const
inline

Definition at line 458 of file GUI_GeoRender.h.

bool GUI_GeoRender::isClosureSelection ( GU_SelectionHandle  sel,
bool &  has_edges 
) const
protected
bool GUI_GeoRender::isClosureSelection ( GR_SelectionAdapter &  sel,
bool &  has_edges 
) const
protected
bool GUI_GeoRender::isDeferredPass ( ) const
inline

Definition at line 296 of file GUI_GeoRender.h.

bool GUI_GeoRender::isDisplayAsSubdiv ( ) const
inline

Definition at line 135 of file GUI_GeoRender.h.

bool GUI_GeoRender::isDisplayed ( ) const
inline

Definition at line 133 of file GUI_GeoRender.h.

bool GUI_GeoRender::isLit ( ) const
inline

Definition at line 269 of file GUI_GeoRender.h.

virtual bool GUI_GeoRender::isLopRender ( ) const
inlinevirtual

Definition at line 100 of file GUI_GeoRender.h.

bool GUI_GeoRender::isMSSEnabled ( ) const
inline

Definition at line 547 of file GUI_GeoRender.h.

bool GUI_GeoRender::isMSSPackedEnabled ( ) const
inline

Definition at line 548 of file GUI_GeoRender.h.

bool GUI_GeoRender::isMSSPerPrimEnabled ( ) const
inline

Definition at line 549 of file GUI_GeoRender.h.

virtual bool GUI_GeoRender::isObjectRender ( ) const
inlinevirtual

Definition at line 305 of file GUI_GeoRender.h.

bool GUI_GeoRender::isSetup ( ) const
inline

Definition at line 230 of file GUI_GeoRender.h.

const UT_BoundingBox& GUI_GeoRender::localBBox ( )
GUI_DetailLook& GUI_GeoRender::look ( ) const
inline

Definition at line 430 of file GUI_GeoRender.h.

bool GUI_GeoRender::matchesVersion ( gui_BoundaryData &  bdata,
const UT_StringHolder &  attrib_name,
const RE_CacheVersion &  ver,
bool  view_3d,
bool  vert_uv 
)
protected
GR_MaterialAtlas* GUI_GeoRender::materials ( )
inline

Definition at line 575 of file GUI_GeoRender.h.

const char* GUI_GeoRender::name ( ) const
inline

Definition at line 431 of file GUI_GeoRender.h.

bool GUI_GeoRender::needsAlphaPass ( ) const
inline

Definition at line 231 of file GUI_GeoRender.h.

void GUI_GeoRender::needsAlphaPass ( bool  need)
inline

Definition at line 232 of file GUI_GeoRender.h.

bool GUI_GeoRender::needsDeferredPass ( ) const
inline

Definition at line 292 of file GUI_GeoRender.h.

bool GUI_GeoRender::needsParallelPass ( ) const
inline

Definition at line 299 of file GUI_GeoRender.h.

virtual void GUI_GeoRender::objectPick ( RE_RenderContext  r,
GUI_DisplayOption &  opts,
GR_RenderFlags  render_flags,
const GR_ObjectPickFlags &  pick_flags,
bool  force_wire 
)
virtual
void GUI_GeoRender::onionSkinRender ( RE_RenderContext  r,
GUI_DisplayOption &  disp_opt 
)
virtual void GUI_GeoRender::postPassRender ( RE_RenderContext  r,
GUI_DisplayOption &  disp_opt,
GR_AlphaPass  apass 
)
virtual
void GUI_GeoRender::prepareForRayTrace ( RE_RenderContext  r,
int  tag,
int  light_id 
)
bool GUI_GeoRender::prepMaterials ( RE_RenderContext  r,
const GR_DisplayOption *  opts,
bool &  needs_alpha_pass 
)
protected
bool GUI_GeoRender::prepReflectionMap ( RE_RenderContext  r,
GUI_DisplayOption &  opt,
int64  version,
fpreal  time 
)
int GUI_GeoRender::prepVulkanMaterialList ( RV_Render *  r,
GR_MaterialAtlas &  mats,
const GR_DisplayOption *  opts,
UT_Set< int > &  op_ids,
bool &  needs_alpha,
bool &  changed 
)
protected
bool GUI_GeoRender::prepVulkanMaterials ( RV_Render *  r,
const GR_DisplayOption *  disp,
bool &  needs_alpha 
)
protected
void GUI_GeoRender::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 
)
protected
void GUI_GeoRender::processFilterHooks ( GT_PrimitiveHandle &  gt_prim,
const GEO_Primitive *  geo_prim 
)
protected
GR_PrimAcceptResult GUI_GeoRender::processHookPrimitive ( GT_PrimitiveHandle &  gt_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 
)
protected
bool GUI_GeoRender::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 
)
protected
void GUI_GeoRender::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 
)
protected
void GUI_GeoRender::refreshRefineVisualizers ( )
inline

Definition at line 512 of file GUI_GeoRender.h.

void GUI_GeoRender::refreshUpdateVisualizers ( )
inline

Definition at line 506 of file GUI_GeoRender.h.

void GUI_GeoRender::refreshVisRefineTime ( )
inline

Definition at line 487 of file GUI_GeoRender.h.

void GUI_GeoRender::refreshVisUpdateTime ( )
inline

Definition at line 483 of file GUI_GeoRender.h.

static bool GUI_GeoRender::registerHook ( GUI_PrimitiveHook *  hook,
GT_PrimitiveType  gt_type,
int  geo_type,
int  priority,
GUI_PrimitiveHookFlags  flags 
)
static
void GUI_GeoRender::removeMaterialReference ( OP_Node *  mat_node)
void GUI_GeoRender::removeUnusedCollectionPrimitives ( )
protected
void GUI_GeoRender::renderMatteGroupColors ( RE_RenderContext  r,
GUI_GroupDataHandle  group_data,
const GR_DisplayOption *  opt,
GR_RenderFlags  render_flags 
)
protected
void GUI_GeoRender::renderMatteHighlights ( RE_RenderContext  r,
GUI_DisplayOption &  disp_opt,
GR_RenderFlags  render_flags 
)
void GUI_GeoRender::renderPrims ( RE_RenderContext  r,
const GR_DisplayOption *  opt,
GR_RenderMode  mode,
GR_RenderFlags  flags,
GR_AlphaPass  alphapass,
bool  use_materials,
bool  is_onion_skin_pass = false 
)
protected
void GUI_GeoRender::resetPrimClassify ( )
protected
static void GUI_GeoRender::resetStats ( )
static
void GUI_GeoRender::resizePrimArray ( exint  nprims,
bool  clear = false 
)
protected
void GUI_GeoRender::restartCollectionPrimitives ( )
protected
void GUI_GeoRender::retire ( )
void GUI_GeoRender::runCreatorVisualizers ( int &  listcount,
UT_Array< GT_PrimitiveHandle > &  handles 
)
void GUI_GeoRender::setCanRenderUV ( int  uv_render)
inline

Definition at line 314 of file GUI_GeoRender.h.

void GUI_GeoRender::setDeferredPass ( bool  dpass)
inline

Definition at line 295 of file GUI_GeoRender.h.

void GUI_GeoRender::setDetailFullTransform ( const UT_DMatrix4 &  xform)
inline

Definition at line 143 of file GUI_GeoRender.h.

void GUI_GeoRender::setDetailHandle ( const GU_ConstDetailHandle &  handle)
bool GUI_GeoRender::setDetailTransform ( const UT_DMatrix4 &  xform)
void GUI_GeoRender::setDisplayed ( bool  is_disp)
inline

Definition at line 132 of file GUI_GeoRender.h.

void GUI_GeoRender::setGeoIndex ( int  idx)
inline

Definition at line 113 of file GUI_GeoRender.h.

void GUI_GeoRender::setGeometry ( OP_Node *  node)
void GUI_GeoRender::setGeoName ( const char *  name)
void GUI_GeoRender::setGhosted ( bool  ghost)
inline

Definition at line 310 of file GUI_GeoRender.h.

void GUI_GeoRender::setGuideID ( int  id)
inline

Definition at line 123 of file GUI_GeoRender.h.

void GUI_GeoRender::setHasTimeDependentMaterials ( bool  d)
inline

Definition at line 555 of file GUI_GeoRender.h.

void GUI_GeoRender::setInstanceName ( const char *  name)
void GUI_GeoRender::setInstancerTransform ( const UT_DMatrix4 &  xform)
inline

Definition at line 150 of file GUI_GeoRender.h.

void GUI_GeoRender::setInstancerTransformIdentity ( )
inline

Definition at line 153 of file GUI_GeoRender.h.

void GUI_GeoRender::setInstanceVersion ( int64  version)
inline

Definition at line 1282 of file GUI_GeoRender.h.

void GUI_GeoRender::setIsInstancedGeo ( bool  instanced)
void GUI_GeoRender::setMaterialLimitExceeded ( bool  e)
inline

Definition at line 553 of file GUI_GeoRender.h.

void GUI_GeoRender::setNameIndex ( int  idx)
inline

Definition at line 115 of file GUI_GeoRender.h.

void GUI_GeoRender::setNeedsDeferredPass ( bool  need)
inline

Definition at line 293 of file GUI_GeoRender.h.

void GUI_GeoRender::setObjectMatrixUniform ( RE_RenderContext  r)
protected
void GUI_GeoRender::setObjectSelection ( int  obj_selection)
inline

Definition at line 312 of file GUI_GeoRender.h.

void GUI_GeoRender::setPostPassID ( int  id)
inline

Definition at line 288 of file GUI_GeoRender.h.

void GUI_GeoRender::setSelection ( int64  id,
int64  version 
)
inlineprotected

Definition at line 810 of file GUI_GeoRender.h.

void GUI_GeoRender::setShowMaterials ( bool  show)
inlineprotected

Definition at line 596 of file GUI_GeoRender.h.

virtual GUI_SetupResult GUI_GeoRender::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
virtual void GUI_GeoRender::setupDecorationsRender ( RE_RenderContext  r)
virtual
void GUI_GeoRender::setupDepthOffset ( RE_RenderContext  r,
const GUI_DisplayOption &  disp_opts,
GR_RenderFlags &  flags,
bool *  old_poly_offset 
)
protected
void GUI_GeoRender::setupGhosting ( RE_RenderContext  r,
const GUI_DisplayOption &  disp_opt,
UT_Vector4F &  ghost_color,
fpreal  ghost_amount = 0.5 
)
void GUI_GeoRender::setupLighting ( GR_LightList *  list,
bool  headlight 
)
static void GUI_GeoRender::setupRender ( RE_RenderContext  r,
GR_RenderMode  mode 
)
static
void GUI_GeoRender::setupWireSelectParms ( RE_RenderContext  r,
const GUI_DisplayOption &  disp_opts,
bool  is_wireframe,
GR_RenderFlags &  flags 
)
protected
static void GUI_GeoRender::setWorldToScreen ( const UT_Matrix4R &  xform)
static
bool GUI_GeoRender::shouldDrawShaded ( GUI_DisplayOption &  disp_opt) const
virtual bool GUI_GeoRender::shouldRender ( const GU_Detail *  geo) const
protectedvirtual
bool GUI_GeoRender::showMaterials ( ) const
inlineprotected

Definition at line 597 of file GUI_GeoRender.h.

virtual void GUI_GeoRender::simpleBBoxRender ( RE_RenderContext  r,
GUI_DisplayOption &  opt,
RE_Shader *  shader = 0,
bool  fill = true,
bool  outline = true 
)
inlineprotectedvirtual

Definition at line 634 of file GUI_GeoRender.h.

virtual void GUI_GeoRender::simpleRender ( RE_RenderContext  r,
GUI_DisplayOption &  opt,
const GU_Detail *  geo,
GR_RenderMode  mode,
GR_RenderFlags  flags 
)
inlineprotectedvirtual

Definition at line 628 of file GUI_GeoRender.h.

virtual void GUI_GeoRender::solidRender ( RE_RenderContext  r,
GUI_DisplayOption &  disp_opt,
const GU_Detail *  geo,
GR_RenderMode  mode,
GR_RenderFlags  flags,
GR_AlphaPass  pass 
)
inlineprotectedvirtual

Definition at line 621 of file GUI_GeoRender.h.

void GUI_GeoRender::startReflectionPass ( RE_RenderContext  r,
RE_TextureCubeFace  f 
)
virtual void GUI_GeoRender::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
bool GUI_GeoRender::updateBBox ( )
virtual void GUI_GeoRender::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
void GUI_GeoRender::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 
)
protected
void GUI_GeoRender::updateRenderVersion ( RE_RenderContext  r)
void GUI_GeoRender::updateWorldTransform ( )
protected
void GUI_GeoRender::useObjectMaterials ( bool  use_obj_mat)
virtual void GUI_GeoRender::utilityRender ( RE_RenderContext  r,
GUI_DisplayOption &  disp_opt,
GR_RenderMode  mode,
GR_RenderFlags  rflags 
)
virtual
virtual void GUI_GeoRender::wireframeRender ( RE_RenderContext  r,
GUI_DisplayOption &  disp_opt,
GR_RenderMode  mode,
GR_RenderFlags  render_flags 
)
virtual
virtual void GUI_GeoRender::wireRender ( RE_RenderContext  r,
GUI_DisplayOption &  disp_opt,
const GU_Detail *  geo,
GR_RenderMode  mode,
GR_RenderFlags  flags 
)
protectedvirtual
const UT_BoundingBox& GUI_GeoRender::worldBBox ( )

Friends And Related Function Documentation

friend class gr_PrimEntry
friend

Definition at line 1278 of file GUI_GeoRender.h.

Member Data Documentation

int64 GUI_GeoRender::cache_version

Definition at line 1232 of file GUI_GeoRender.h.

int GUI_GeoRender::detail_id

Definition at line 1231 of file GUI_GeoRender.h.

UT_UniquePtr<GEO_DetachedHedgeInterface> GUI_GeoRender::interface

Definition at line 1230 of file GUI_GeoRender.h.

gui_BoundaryData GUI_GeoRender::my3DBoundary
protected

Definition at line 903 of file GUI_GeoRender.h.

UT_Map<UT_StringRef,int> GUI_GeoRender::myAttributes
protected

Definition at line 896 of file GUI_GeoRender.h.

bool GUI_GeoRender::myCheckUpdateViewFlag
protected

Definition at line 921 of file GUI_GeoRender.h.

UT_UniquePtr<RV_Geometry> GUI_GeoRender::myCubeGeo
protected

Definition at line 922 of file GUI_GeoRender.h.

UT_UniquePtr<RV_ShaderVariableSet> GUI_GeoRender::myCubeSet
protected

Definition at line 924 of file GUI_GeoRender.h.

UT_UniquePtr<RV_ShaderBlock> GUI_GeoRender::myCubeTransforms
protected

Definition at line 923 of file GUI_GeoRender.h.

int GUI_GeoRender::myDefaultMatSerial
protected

Definition at line 916 of file GUI_GeoRender.h.

int64 GUI_GeoRender::myDispOptID
protected

Definition at line 926 of file GUI_GeoRender.h.

int GUI_GeoRender::myDispOptSerial
protected

Definition at line 927 of file GUI_GeoRender.h.

UT_SharedPtr<GA_PrimitiveGroup> GUI_GeoRender::myEdgePrims
protected

Definition at line 901 of file GUI_GeoRender.h.

int64 GUI_GeoRender::myEdgePrimsVersion
protected

Definition at line 900 of file GUI_GeoRender.h.

gui_BoundaryData GUI_GeoRender::myEdgeSelection
protected

Definition at line 906 of file GUI_GeoRender.h.

bool GUI_GeoRender::myHasEdgeSelection
protected

Definition at line 907 of file GUI_GeoRender.h.

int64 GUI_GeoRender::myInstanceVersion
protected

Definition at line 911 of file GUI_GeoRender.h.

GR_LightList* GUI_GeoRender::myLightList
protected

Definition at line 918 of file GUI_GeoRender.h.

int64 GUI_GeoRender::myLimitInstanceVersion
protected

Definition at line 912 of file GUI_GeoRender.h.

const GU_Detail* GUI_GeoRender::myLockedDetail
protected

Definition at line 893 of file GUI_GeoRender.h.

GUI_ObjectMaterialCache* GUI_GeoRender::myObjectMaterialCache
protected

Definition at line 895 of file GUI_GeoRender.h.

UT_Map<UT_StringRef,int> GUI_GeoRender::myPrevAttributes
protected

Definition at line 897 of file GUI_GeoRender.h.

int64 GUI_GeoRender::myPrimDecorMask
protected

Definition at line 920 of file GUI_GeoRender.h.

UT_UniquePtr<GA_EdgeGroup> GUI_GeoRender::mySelectedEdges
protected

Definition at line 908 of file GUI_GeoRender.h.

int GUI_GeoRender::myTexCacheSerial
protected

Definition at line 915 of file GUI_GeoRender.h.

UT_UniquePtr<gui_UpdateResults> GUI_GeoRender::myUpdateResults
protected

Definition at line 898 of file GUI_GeoRender.h.

bool GUI_GeoRender::myUseHeadlight
protected

Definition at line 919 of file GUI_GeoRender.h.

UT_StringMap<bool> GUI_GeoRender::myUVAttribIsVertex
protected

Definition at line 905 of file GUI_GeoRender.h.

int64 GUI_GeoRender::myUVAttribSerial
protected

Definition at line 909 of file GUI_GeoRender.h.

UT_StringMap<gui_BoundaryData> GUI_GeoRender::myUVBoundary
protected

Definition at line 904 of file GUI_GeoRender.h.

int GUI_GeoRender::myViewID
protected

Definition at line 914 of file GUI_GeoRender.h.

int GUI_GeoRender::myViewSerial
protected

Definition at line 913 of file GUI_GeoRender.h.

GR_MaterialAtlas GUI_GeoRender::myVulkanMaterials
protected

Definition at line 894 of file GUI_GeoRender.h.

int GUI_GeoRender::theNumObjects
staticprotected

Definition at line 889 of file GUI_GeoRender.h.

int GUI_GeoRender::theNumPolys
staticprotected

Definition at line 890 of file GUI_GeoRender.h.

int GUI_GeoRender::theNumVertices
staticprotected

Definition at line 891 of file GUI_GeoRender.h.

UT_Lock GUI_GeoRender::theShaderLock
staticprotected

Definition at line 887 of file GUI_GeoRender.h.

int64 GUI_GeoRender::top_version

Definition at line 1233 of file GUI_GeoRender.h.


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