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

Scene information for the native viewport renderer. More...

#include <HUSD_Scene.h>

+ Inheritance diagram for HUSD_Scene:

Public Types

enum  ConformPolicy {
  EXPAND_APERTURE, CROP_APERTURE, ADJUST_HORIZONTAL_APERTURE, ADJUST_VERTICAL_APERTURE,
  ADJUST_PIXEL_ASPECT
}
 
enum  PrimType {
  INVALID_TYPE = 0, GEOMETRY, LIGHT, CAMERA,
  MATERIAL, PATH, INSTANCE, INSTANCER,
  INSTANCE_REF, ROOT
}
 
enum  LightCategory { CATEGORY_LIGHT, CATEGORY_SHADOW }
 

Public Member Functions

 HUSD_Scene ()
 
virtual ~HUSD_Scene ()
 
UT_StringMap
< HUSD_HydraGeoPrimPtr > & 
geometry ()
 
UT_StringMap
< HUSD_HydraCameraPtr > & 
cameras ()
 
UT_StringMap
< HUSD_HydraLightPtr > & 
lights ()
 
UT_StringMap
< HUSD_HydraMaterialPtr > & 
materials ()
 
bool fillGeometry (UT_Array< HUSD_HydraGeoPrimPtr > &array, int64 &list_serial)
 
bool fillLights (UT_Array< HUSD_HydraLightPtr > &array, int64 &list_serial)
 
bool fillCameras (UT_Array< HUSD_HydraCameraPtr > &array, int64 &list_serial)
 
UT_StringHolder lookupPath (int id, bool allow_instances=true) const
 
int lookupGeomId (const UT_StringRef &path)
 
UT_StringHolder resolveID (int id, bool allow_instances) const
 
void setRenderID (const UT_StringRef &path, int id)
 
void clearRenderIDs ()
 
int lookupRenderID (const UT_StringRef &path) const
 
UT_StringHolder lookupRenderPath (int id) const
 
int convertRenderID (int id) const
 
int getParentInstancer (int inst_id, bool topmost) const
 
void addGeometry (HUSD_HydraGeoPrim *geo, bool new_geo)
 
void removeGeometry (HUSD_HydraGeoPrim *geo)
 
void addDisplayGeometry (HUSD_HydraGeoPrim *geo)
 
void removeDisplayGeometry (HUSD_HydraGeoPrim *geo)
 
virtual void addCamera (HUSD_HydraCamera *cam, bool new_cam)
 
virtual void removeCamera (HUSD_HydraCamera *cam)
 
virtual void addLight (HUSD_HydraLight *light, bool new_light)
 
virtual void removeLight (HUSD_HydraLight *light)
 
virtual void addMaterial (HUSD_HydraMaterial *mat)
 
virtual void removeMaterial (HUSD_HydraMaterial *mat)
 
const UT_StringReflookupMaterial (int id) const
 
void addInstancer (const UT_StringRef &path, PXR_NS::XUSD_HydraInstancer *instancer)
 
void removeInstancer (const UT_StringRef &path)
 
PXR_NS::XUSD_HydraInstancer * getInstancer (const UT_StringRef &path)
 
const UT_StringArrayrenderPrimNames () const
 
bool setRenderPrimNames (const UT_StringArray &names)
 
const UT_StringRefdefaultRenderPrim () const
 
void setDefaultRenderPrim (const UT_StringRef &path)
 
const UT_StringRefcurrentRenderPrim () const
 
void setCurrentRenderPrim (const UT_StringRef &path)
 
const UT_StringRefrenderPrimCamera () const
 
void setRenderPrimCamera (const UT_StringRef &camera)
 
UT_Vector2I renderPrimResolution () const
 
void setRenderPrimResolution (UT_Vector2I res)
 
void setRenderPrimConform (ConformPolicy p)
 
ConformPolicy getRenderPrimConform () const
 
void adjustAperture (fpreal &apv, fpreal caspect, fpreal iaspect)
 
void deferUpdates (bool defer)
 
bool isDeferredUpdate () const
 
void consolidateMesh (const GT_PrimitiveHandle &mesh, const UT_BoundingBoxF &bbox, int prim_id, int mat_id, int dirty_bits, HUSD_HydraPrim::RenderTag tag, bool left_handed, bool auto_gen_nml, UT_Array< UT_BoundingBox > &instance_bbox, int instancer_id)
 
void removeConsolidatedPrim (int id)
 
void selectConsolidatedPrim (int id)
 
void setPrimCount (int64 pcount)
 
int64 getPrimCount () const
 
HUSD_HydraGeoPrimPtr findConsolidatedPrim (int id) const
 
const UT_StringSetvolumesUsingField (const UT_StringRef &field) const
 
void addVolumeUsingField (const UT_StringHolder &volume, const UT_StringHolder &field)
 
void removeVolumeUsingFields (const UT_StringRef &volume)
 
void addToHighlight (int id)
 
void addPathToHighlight (const UT_StringRef &path)
 
void clearHighlight ()
 
void setHighlightAsSelection ()
 
void addHighlightToSelection ()
 
void removeHighlightFromSelection ()
 
void toggleHighlightInSelection ()
 
void intersectHighlightWithSelection ()
 
bool clearSelection ()
 
bool selectParents ()
 
bool selectChildren (bool all_children)
 
bool selectSiblings (bool next_sibling)
 
bool recallPrevSelection ()
 
bool recallNextSelection ()
 
void clearStashedSelections ()
 
void setSelection (const UT_StringArray &paths, bool stash_selection=true)
 
const UT_StringArraygetSelectionList ()
 
void redoSelectionList ()
 
void convertSelection (const char *selection_pattern, UT_StringArray &paths)
 
bool hasInstanceSelections ()
 
bool removeInstanceSelections ()
 
bool removePrimSelections ()
 
void selectInstanceLevel (int nest_lvl)
 
bool hasSelection () const
 
bool hasHighlight () const
 
bool isSelected (int id) const
 
bool isSelected (const HUSD_HydraPrim *prim) const
 
bool isHighlighted (int id) const
 
bool isHighlighted (const HUSD_HydraPrim *prim) const
 
void setHighlight (const UT_StringArray &paths)
 
int64 highlightID () const
 
int64 selectionID () const
 
int64 getGeoSerial () const
 
int64 getCameraSerial () const
 
int64 getLightSerial () const
 
int64 getModSerial () const
 
void bumpModSerial ()
 
PrimType getPrimType (int id) const
 
int getOrCreateID (const UT_StringRef &path, PrimType type=GEOMETRY)
 
int getOrCreateInstanceID (const UT_StringRef &path, const UT_StringRef &instancer, const UT_StringRef &prototype)
 
void setStage (const HUSD_DataHandle &data, const HUSD_ConstOverridesPtr &overrides)
 
PXR_NS::HdRenderIndex * renderIndex ()
 
void setRenderIndex (PXR_NS::HdRenderIndex *ri)
 
PXR_NS::HdRenderParam * renderParam ()
 
void setRenderParam (PXR_NS::HdRenderParam *rp)
 
HUSD_PrimHandle getPrim (const UT_StringHolder &path) const
 
void addCategory (const UT_StringRef &name, LightCategory cat)
 
void removeCategory (const UT_StringRef &name, LightCategory cat)
 
bool isCategory (const UT_StringRef &name, LightCategory cat)
 
void pendingRemovalGeom (const UT_StringRef &path, HUSD_HydraGeoPrimPtr prim)
 
HUSD_HydraGeoPrimPtr fetchPendingRemovalGeom (const UT_StringRef &path)
 
void pendingRemovalCamera (const UT_StringRef &path, HUSD_HydraCameraPtr prim)
 
HUSD_HydraCameraPtr fetchPendingRemovalCamera (const UT_StringRef &path)
 
void pendingRemovalLight (const UT_StringRef &path, HUSD_HydraLightPtr prim)
 
HUSD_HydraLightPtr fetchPendingRemovalLight (const UT_StringRef &path)
 
void postUpdate ()
 
void processConsolidatedMeshes (bool finalize)
 
void clearInstances (int instr_id, const UT_StringRef &proto_id)
 
void debugPrintTree ()
 
void debugPrintSelection ()
 

Static Public Member Functions

static
PXR_NS::XUSD_ViewerDelegate * 
newDelegate ()
 
static void freeDelegate (PXR_NS::XUSD_ViewerDelegate *del)
 
static void pushScene (HUSD_Scene *scene)
 
static void popScene (HUSD_Scene *scene)
 
static bool hasScene ()
 
static const UT_StringHolderviewportRenderPrimToken ()
 
static int getMaxGeoIndex ()
 

Protected Member Functions

virtual void geometryDisplayed (HUSD_HydraGeoPrim *, bool)
 
bool selectionModified (int id)
 
bool selectionModified (husd_SceneNode *pnode)
 
UT_StringHolder instanceIDLookup (const UT_StringRef &pick_path, int path_id) const
 
void stashSelection ()
 
bool makeSelection (const UT_Map< int, int > &selection, bool validate)
 
void enlargeInstanceSelection (const UT_Map< int, int > &selection, UT_Map< int, int > &extra_selection)
 
int getIDForPrim (const UT_StringRef &path, PrimType &return_prim_type, bool create_path_id=false)
 
void updateInstanceRefPrims ()
 
void clearPendingRemovalPrims ()
 
- Protected Member Functions inherited from UT_NonCopyableNS::UT_NonCopyable
 UT_NonCopyable ()=default
 
 ~UT_NonCopyable ()=default
 
 UT_NonCopyable (const UT_NonCopyable &)=delete
 
UT_NonCopyableoperator= (const UT_NonCopyable &)=delete
 

Protected Attributes

UT_StringMap< intmyPathIDs
 
UT_Map< int, UT_StringHoldermyRenderPaths
 
UT_StringMap< intmyRenderIDs
 
UT_Map< int, intmyRenderIDtoGeomID
 
UT_StringMap< UT_StringSetmyFieldsInVolumes
 
UT_StringMap
< HUSD_HydraGeoPrimPtr
myGeometry
 
UT_StringMap
< HUSD_HydraGeoPrimPtr
myDisplayGeometry
 
UT_StringMap< HUSD_HydraCameraPtrmyCameras
 
UT_StringMap< HUSD_HydraLightPtrmyLights
 
UT_StringMap
< HUSD_HydraMaterialPtr
myMaterials
 
UT_Map< int, UT_StringHoldermyMaterialIDs
 
UT_StringMap
< HUSD_HydraGeoPrimPtr
myPendingRemovalGeom
 
UT_StringMap< HUSD_HydraCameraPtrmyPendingRemovalCamera
 
UT_StringMap< HUSD_HydraLightPtrmyPendingRemovalLight
 
UT_Array< HUSD_HydraGeoPrimPtrmyDuplicateGeo
 
UT_Array< HUSD_HydraCameraPtrmyDuplicateCam
 
UT_Array< HUSD_HydraLightPtrmyDuplicateLight
 
UT_StringArray myRenderPrimNames
 
UT_StringHolder myRenderPrimCamera
 
UT_StringHolder myCurrentRenderPrim
 
UT_StringHolder myDefaultRenderPrim
 
UT_Map< int, intmyHighlight
 
UT_Map< int, intmySelection
 
UT_StringMap< int64myMatIDs
 
UT_StringArray mySelectionArray
 
int64 mySelectionArrayID
 
bool mySelectionArrayNeedsUpdate
 
int64 myHighlightID
 
int64 mySelectionID
 
int64 myGeoSerial
 
int64 myModSerial
 
int64 myCamSerial
 
int64 myLightSerial
 
int64 mySelectionResolveSerial
 
bool myDeferUpdate
 
UT_Vector2I myRenderPrimRes
 
ConformPolicy myConformPolicy
 
UT_Lock myDisplayLock
 
UT_Lock myLightCamLock
 
UT_Lock myMaterialLock
 
UT_Lock myCategoryLock
 
UT_StringMap< intmyLightLinkCategories
 
UT_StringMap< intmyShadowLinkCategories
 
UT_LinkList myStashedSelection
 
int64 myStashedSelectionSizeB
 
UT_LinkNodemyCurrentRecalledSelection
 
int64 myCurrentSelectionStashed
 
PXR_NS::HdRenderIndex * myRenderIndex
 
PXR_NS::HdRenderParam * myRenderParam
 
HUSD_DataHandle myStage
 
HUSD_ConstOverridesPtr myStageOverrides
 
husd_SceneTree * myTree
 
husd_ConsolidatedPrims * myPrimConsolidator
 
UT_StringMap
< PXR_NS::XUSD_HydraInstancer * > 
myInstancers
 
UT_Map< int,
PXR_NS::XUSD_HydraInstancer * > 
myInstancerIDs
 
int64 myPrimCount
 
int mySelectionSerial
 

Detailed Description

Scene information for the native viewport renderer.

Definition at line 65 of file HUSD_Scene.h.

Member Enumeration Documentation

Enumerator
EXPAND_APERTURE 
CROP_APERTURE 
ADJUST_HORIZONTAL_APERTURE 
ADJUST_VERTICAL_APERTURE 
ADJUST_PIXEL_ASPECT 

Definition at line 144 of file HUSD_Scene.h.

Enumerator
CATEGORY_LIGHT 
CATEGORY_SHADOW 

Definition at line 277 of file HUSD_Scene.h.

Enumerator
INVALID_TYPE 
GEOMETRY 
LIGHT 
CAMERA 
MATERIAL 
PATH 
INSTANCE 
INSTANCER 
INSTANCE_REF 
ROOT 

Definition at line 242 of file HUSD_Scene.h.

Constructor & Destructor Documentation

HUSD_Scene::HUSD_Scene ( )
virtual HUSD_Scene::~HUSD_Scene ( )
virtual

Member Function Documentation

virtual void HUSD_Scene::addCamera ( HUSD_HydraCamera *  cam,
bool  new_cam 
)
virtual
void HUSD_Scene::addCategory ( const UT_StringRef name,
LightCategory  cat 
)
void HUSD_Scene::addDisplayGeometry ( HUSD_HydraGeoPrim *  geo)
void HUSD_Scene::addGeometry ( HUSD_HydraGeoPrim *  geo,
bool  new_geo 
)
void HUSD_Scene::addHighlightToSelection ( )
void HUSD_Scene::addInstancer ( const UT_StringRef path,
PXR_NS::XUSD_HydraInstancer *  instancer 
)
virtual void HUSD_Scene::addLight ( HUSD_HydraLight *  light,
bool  new_light 
)
virtual
virtual void HUSD_Scene::addMaterial ( HUSD_HydraMaterial *  mat)
virtual
void HUSD_Scene::addPathToHighlight ( const UT_StringRef path)
void HUSD_Scene::addToHighlight ( int  id)
void HUSD_Scene::addVolumeUsingField ( const UT_StringHolder volume,
const UT_StringHolder field 
)
void HUSD_Scene::adjustAperture ( fpreal apv,
fpreal  caspect,
fpreal  iaspect 
)
void HUSD_Scene::bumpModSerial ( )
inline

Definition at line 240 of file HUSD_Scene.h.

UT_StringMap<HUSD_HydraCameraPtr>& HUSD_Scene::cameras ( )
inline

Definition at line 72 of file HUSD_Scene.h.

void HUSD_Scene::clearHighlight ( )
void HUSD_Scene::clearInstances ( int  instr_id,
const UT_StringRef proto_id 
)
void HUSD_Scene::clearPendingRemovalPrims ( )
protected
void HUSD_Scene::clearRenderIDs ( )
bool HUSD_Scene::clearSelection ( )
void HUSD_Scene::clearStashedSelections ( )
void HUSD_Scene::consolidateMesh ( const GT_PrimitiveHandle mesh,
const UT_BoundingBoxF bbox,
int  prim_id,
int  mat_id,
int  dirty_bits,
HUSD_HydraPrim::RenderTag  tag,
bool  left_handed,
bool  auto_gen_nml,
UT_Array< UT_BoundingBox > &  instance_bbox,
int  instancer_id 
)
int HUSD_Scene::convertRenderID ( int  id) const
void HUSD_Scene::convertSelection ( const char *  selection_pattern,
UT_StringArray paths 
)
const UT_StringRef& HUSD_Scene::currentRenderPrim ( ) const
inline

Definition at line 135 of file HUSD_Scene.h.

void HUSD_Scene::debugPrintSelection ( )
void HUSD_Scene::debugPrintTree ( )
const UT_StringRef& HUSD_Scene::defaultRenderPrim ( ) const
inline

Definition at line 132 of file HUSD_Scene.h.

void HUSD_Scene::deferUpdates ( bool  defer)
inline

Definition at line 156 of file HUSD_Scene.h.

void HUSD_Scene::enlargeInstanceSelection ( const UT_Map< int, int > &  selection,
UT_Map< int, int > &  extra_selection 
)
protected
HUSD_HydraCameraPtr HUSD_Scene::fetchPendingRemovalCamera ( const UT_StringRef path)
HUSD_HydraGeoPrimPtr HUSD_Scene::fetchPendingRemovalGeom ( const UT_StringRef path)
HUSD_HydraLightPtr HUSD_Scene::fetchPendingRemovalLight ( const UT_StringRef path)
bool HUSD_Scene::fillCameras ( UT_Array< HUSD_HydraCameraPtr > &  array,
int64 list_serial 
)
bool HUSD_Scene::fillGeometry ( UT_Array< HUSD_HydraGeoPrimPtr > &  array,
int64 list_serial 
)
bool HUSD_Scene::fillLights ( UT_Array< HUSD_HydraLightPtr > &  array,
int64 list_serial 
)
HUSD_HydraGeoPrimPtr HUSD_Scene::findConsolidatedPrim ( int  id) const
static void HUSD_Scene::freeDelegate ( PXR_NS::XUSD_ViewerDelegate *  del)
static
UT_StringMap<HUSD_HydraGeoPrimPtr>& HUSD_Scene::geometry ( )
inline

Definition at line 71 of file HUSD_Scene.h.

virtual void HUSD_Scene::geometryDisplayed ( HUSD_HydraGeoPrim *  ,
bool   
)
inlineprotectedvirtual

Definition at line 303 of file HUSD_Scene.h.

int64 HUSD_Scene::getCameraSerial ( ) const
inline

Definition at line 235 of file HUSD_Scene.h.

int64 HUSD_Scene::getGeoSerial ( ) const
inline

Definition at line 234 of file HUSD_Scene.h.

int HUSD_Scene::getIDForPrim ( const UT_StringRef path,
PrimType return_prim_type,
bool  create_path_id = false 
)
protected
PXR_NS::XUSD_HydraInstancer* HUSD_Scene::getInstancer ( const UT_StringRef path)
int64 HUSD_Scene::getLightSerial ( ) const
inline

Definition at line 236 of file HUSD_Scene.h.

static int HUSD_Scene::getMaxGeoIndex ( )
static
int64 HUSD_Scene::getModSerial ( ) const
inline

Definition at line 239 of file HUSD_Scene.h.

int HUSD_Scene::getOrCreateID ( const UT_StringRef path,
PrimType  type = GEOMETRY 
)
int HUSD_Scene::getOrCreateInstanceID ( const UT_StringRef path,
const UT_StringRef instancer,
const UT_StringRef prototype 
)
int HUSD_Scene::getParentInstancer ( int  inst_id,
bool  topmost 
) const
HUSD_PrimHandle HUSD_Scene::getPrim ( const UT_StringHolder path) const
int64 HUSD_Scene::getPrimCount ( ) const
inline

Definition at line 173 of file HUSD_Scene.h.

PrimType HUSD_Scene::getPrimType ( int  id) const
ConformPolicy HUSD_Scene::getRenderPrimConform ( ) const
inline

Definition at line 153 of file HUSD_Scene.h.

const UT_StringArray& HUSD_Scene::getSelectionList ( )
bool HUSD_Scene::hasHighlight ( ) const
bool HUSD_Scene::hasInstanceSelections ( )
static bool HUSD_Scene::hasScene ( )
static
bool HUSD_Scene::hasSelection ( ) const
int64 HUSD_Scene::highlightID ( ) const
inline

Definition at line 228 of file HUSD_Scene.h.

UT_StringHolder HUSD_Scene::instanceIDLookup ( const UT_StringRef pick_path,
int  path_id 
) const
protected
void HUSD_Scene::intersectHighlightWithSelection ( )
bool HUSD_Scene::isCategory ( const UT_StringRef name,
LightCategory  cat 
)
bool HUSD_Scene::isDeferredUpdate ( ) const
inline

Definition at line 157 of file HUSD_Scene.h.

bool HUSD_Scene::isHighlighted ( int  id) const
bool HUSD_Scene::isHighlighted ( const HUSD_HydraPrim *  prim) const
bool HUSD_Scene::isSelected ( int  id) const
bool HUSD_Scene::isSelected ( const HUSD_HydraPrim *  prim) const
UT_StringMap<HUSD_HydraLightPtr>& HUSD_Scene::lights ( )
inline

Definition at line 73 of file HUSD_Scene.h.

int HUSD_Scene::lookupGeomId ( const UT_StringRef path)
const UT_StringRef& HUSD_Scene::lookupMaterial ( int  id) const
UT_StringHolder HUSD_Scene::lookupPath ( int  id,
bool  allow_instances = true 
) const
int HUSD_Scene::lookupRenderID ( const UT_StringRef path) const
UT_StringHolder HUSD_Scene::lookupRenderPath ( int  id) const
bool HUSD_Scene::makeSelection ( const UT_Map< int, int > &  selection,
bool  validate 
)
protected
UT_StringMap<HUSD_HydraMaterialPtr>& HUSD_Scene::materials ( )
inline

Definition at line 74 of file HUSD_Scene.h.

static PXR_NS::XUSD_ViewerDelegate* HUSD_Scene::newDelegate ( )
static
void HUSD_Scene::pendingRemovalCamera ( const UT_StringRef path,
HUSD_HydraCameraPtr  prim 
)
void HUSD_Scene::pendingRemovalGeom ( const UT_StringRef path,
HUSD_HydraGeoPrimPtr  prim 
)
void HUSD_Scene::pendingRemovalLight ( const UT_StringRef path,
HUSD_HydraLightPtr  prim 
)
static void HUSD_Scene::popScene ( HUSD_Scene scene)
static
void HUSD_Scene::postUpdate ( )
void HUSD_Scene::processConsolidatedMeshes ( bool  finalize)
static void HUSD_Scene::pushScene ( HUSD_Scene scene)
static
bool HUSD_Scene::recallNextSelection ( )
bool HUSD_Scene::recallPrevSelection ( )
void HUSD_Scene::redoSelectionList ( )
virtual void HUSD_Scene::removeCamera ( HUSD_HydraCamera *  cam)
virtual
void HUSD_Scene::removeCategory ( const UT_StringRef name,
LightCategory  cat 
)
void HUSD_Scene::removeConsolidatedPrim ( int  id)
void HUSD_Scene::removeDisplayGeometry ( HUSD_HydraGeoPrim *  geo)
void HUSD_Scene::removeGeometry ( HUSD_HydraGeoPrim *  geo)
void HUSD_Scene::removeHighlightFromSelection ( )
void HUSD_Scene::removeInstancer ( const UT_StringRef path)
bool HUSD_Scene::removeInstanceSelections ( )
virtual void HUSD_Scene::removeLight ( HUSD_HydraLight *  light)
virtual
virtual void HUSD_Scene::removeMaterial ( HUSD_HydraMaterial *  mat)
virtual
bool HUSD_Scene::removePrimSelections ( )
void HUSD_Scene::removeVolumeUsingFields ( const UT_StringRef volume)
PXR_NS::HdRenderIndex* HUSD_Scene::renderIndex ( )
inline

Definition at line 268 of file HUSD_Scene.h.

PXR_NS::HdRenderParam* HUSD_Scene::renderParam ( )
inline

Definition at line 271 of file HUSD_Scene.h.

const UT_StringRef& HUSD_Scene::renderPrimCamera ( ) const
inline

Definition at line 138 of file HUSD_Scene.h.

const UT_StringArray& HUSD_Scene::renderPrimNames ( ) const
inline

Definition at line 130 of file HUSD_Scene.h.

UT_Vector2I HUSD_Scene::renderPrimResolution ( ) const
inline

Definition at line 141 of file HUSD_Scene.h.

UT_StringHolder HUSD_Scene::resolveID ( int  id,
bool  allow_instances 
) const
bool HUSD_Scene::selectChildren ( bool  all_children)
void HUSD_Scene::selectConsolidatedPrim ( int  id)
void HUSD_Scene::selectInstanceLevel ( int  nest_lvl)
int64 HUSD_Scene::selectionID ( ) const
inline

Definition at line 229 of file HUSD_Scene.h.

bool HUSD_Scene::selectionModified ( int  id)
protected
bool HUSD_Scene::selectionModified ( husd_SceneNode *  pnode)
protected
bool HUSD_Scene::selectParents ( )
bool HUSD_Scene::selectSiblings ( bool  next_sibling)
void HUSD_Scene::setCurrentRenderPrim ( const UT_StringRef path)
inline

Definition at line 136 of file HUSD_Scene.h.

void HUSD_Scene::setDefaultRenderPrim ( const UT_StringRef path)
inline

Definition at line 133 of file HUSD_Scene.h.

void HUSD_Scene::setHighlight ( const UT_StringArray paths)
void HUSD_Scene::setHighlightAsSelection ( )
void HUSD_Scene::setPrimCount ( int64  pcount)
inline

Definition at line 172 of file HUSD_Scene.h.

void HUSD_Scene::setRenderID ( const UT_StringRef path,
int  id 
)
void HUSD_Scene::setRenderIndex ( PXR_NS::HdRenderIndex *  ri)
inline

Definition at line 269 of file HUSD_Scene.h.

void HUSD_Scene::setRenderParam ( PXR_NS::HdRenderParam *  rp)
inline

Definition at line 272 of file HUSD_Scene.h.

void HUSD_Scene::setRenderPrimCamera ( const UT_StringRef camera)
void HUSD_Scene::setRenderPrimConform ( ConformPolicy  p)
inline

Definition at line 152 of file HUSD_Scene.h.

bool HUSD_Scene::setRenderPrimNames ( const UT_StringArray names)
void HUSD_Scene::setRenderPrimResolution ( UT_Vector2I  res)
inline

Definition at line 142 of file HUSD_Scene.h.

void HUSD_Scene::setSelection ( const UT_StringArray paths,
bool  stash_selection = true 
)
void HUSD_Scene::setStage ( const HUSD_DataHandle data,
const HUSD_ConstOverridesPtr overrides 
)
void HUSD_Scene::stashSelection ( )
protected
void HUSD_Scene::toggleHighlightInSelection ( )
void HUSD_Scene::updateInstanceRefPrims ( )
protected
static const UT_StringHolder& HUSD_Scene::viewportRenderPrimToken ( )
static
const UT_StringSet& HUSD_Scene::volumesUsingField ( const UT_StringRef field) const

Member Data Documentation

UT_StringMap<HUSD_HydraCameraPtr> HUSD_Scene::myCameras
protected

Definition at line 329 of file HUSD_Scene.h.

int64 HUSD_Scene::myCamSerial
protected

Definition at line 354 of file HUSD_Scene.h.

UT_Lock HUSD_Scene::myCategoryLock
protected

Definition at line 364 of file HUSD_Scene.h.

ConformPolicy HUSD_Scene::myConformPolicy
protected

Definition at line 359 of file HUSD_Scene.h.

UT_LinkNode* HUSD_Scene::myCurrentRecalledSelection
protected

Definition at line 371 of file HUSD_Scene.h.

UT_StringHolder HUSD_Scene::myCurrentRenderPrim
protected

Definition at line 341 of file HUSD_Scene.h.

int64 HUSD_Scene::myCurrentSelectionStashed
protected

Definition at line 372 of file HUSD_Scene.h.

UT_StringHolder HUSD_Scene::myDefaultRenderPrim
protected

Definition at line 342 of file HUSD_Scene.h.

bool HUSD_Scene::myDeferUpdate
protected

Definition at line 357 of file HUSD_Scene.h.

UT_StringMap<HUSD_HydraGeoPrimPtr> HUSD_Scene::myDisplayGeometry
protected

Definition at line 328 of file HUSD_Scene.h.

UT_Lock HUSD_Scene::myDisplayLock
mutableprotected

Definition at line 361 of file HUSD_Scene.h.

UT_Array<HUSD_HydraCameraPtr> HUSD_Scene::myDuplicateCam
protected

Definition at line 337 of file HUSD_Scene.h.

UT_Array<HUSD_HydraGeoPrimPtr> HUSD_Scene::myDuplicateGeo
protected

Definition at line 336 of file HUSD_Scene.h.

UT_Array<HUSD_HydraLightPtr> HUSD_Scene::myDuplicateLight
protected

Definition at line 338 of file HUSD_Scene.h.

UT_StringMap<UT_StringSet> HUSD_Scene::myFieldsInVolumes
protected

Definition at line 326 of file HUSD_Scene.h.

UT_StringMap<HUSD_HydraGeoPrimPtr> HUSD_Scene::myGeometry
protected

Definition at line 327 of file HUSD_Scene.h.

int64 HUSD_Scene::myGeoSerial
protected

Definition at line 352 of file HUSD_Scene.h.

UT_Map<int,int> HUSD_Scene::myHighlight
protected

Definition at line 344 of file HUSD_Scene.h.

int64 HUSD_Scene::myHighlightID
protected

Definition at line 350 of file HUSD_Scene.h.

UT_Map<int, PXR_NS::XUSD_HydraInstancer *> HUSD_Scene::myInstancerIDs
protected

Definition at line 384 of file HUSD_Scene.h.

UT_StringMap<PXR_NS::XUSD_HydraInstancer *> HUSD_Scene::myInstancers
protected

Definition at line 383 of file HUSD_Scene.h.

UT_Lock HUSD_Scene::myLightCamLock
protected

Definition at line 362 of file HUSD_Scene.h.

UT_StringMap<int> HUSD_Scene::myLightLinkCategories
protected

Definition at line 366 of file HUSD_Scene.h.

UT_StringMap<HUSD_HydraLightPtr> HUSD_Scene::myLights
protected

Definition at line 330 of file HUSD_Scene.h.

int64 HUSD_Scene::myLightSerial
protected

Definition at line 355 of file HUSD_Scene.h.

UT_Map<int, UT_StringHolder> HUSD_Scene::myMaterialIDs
protected

Definition at line 332 of file HUSD_Scene.h.

UT_Lock HUSD_Scene::myMaterialLock
protected

Definition at line 363 of file HUSD_Scene.h.

UT_StringMap<HUSD_HydraMaterialPtr> HUSD_Scene::myMaterials
protected

Definition at line 331 of file HUSD_Scene.h.

UT_StringMap<int64> HUSD_Scene::myMatIDs
protected

Definition at line 346 of file HUSD_Scene.h.

int64 HUSD_Scene::myModSerial
protected

Definition at line 353 of file HUSD_Scene.h.

UT_StringMap<int> HUSD_Scene::myPathIDs
protected

Definition at line 322 of file HUSD_Scene.h.

UT_StringMap<HUSD_HydraCameraPtr> HUSD_Scene::myPendingRemovalCamera
protected

Definition at line 334 of file HUSD_Scene.h.

UT_StringMap<HUSD_HydraGeoPrimPtr> HUSD_Scene::myPendingRemovalGeom
protected

Definition at line 333 of file HUSD_Scene.h.

UT_StringMap<HUSD_HydraLightPtr> HUSD_Scene::myPendingRemovalLight
protected

Definition at line 335 of file HUSD_Scene.h.

husd_ConsolidatedPrims* HUSD_Scene::myPrimConsolidator
protected

Definition at line 381 of file HUSD_Scene.h.

int64 HUSD_Scene::myPrimCount
protected

Definition at line 386 of file HUSD_Scene.h.

UT_StringMap<int> HUSD_Scene::myRenderIDs
protected

Definition at line 324 of file HUSD_Scene.h.

UT_Map<int,int> HUSD_Scene::myRenderIDtoGeomID
protected

Definition at line 325 of file HUSD_Scene.h.

PXR_NS::HdRenderIndex* HUSD_Scene::myRenderIndex
protected

Definition at line 374 of file HUSD_Scene.h.

PXR_NS::HdRenderParam* HUSD_Scene::myRenderParam
protected

Definition at line 375 of file HUSD_Scene.h.

UT_Map<int,UT_StringHolder> HUSD_Scene::myRenderPaths
protected

Definition at line 323 of file HUSD_Scene.h.

UT_StringHolder HUSD_Scene::myRenderPrimCamera
protected

Definition at line 340 of file HUSD_Scene.h.

UT_StringArray HUSD_Scene::myRenderPrimNames
protected

Definition at line 339 of file HUSD_Scene.h.

UT_Vector2I HUSD_Scene::myRenderPrimRes
protected

Definition at line 358 of file HUSD_Scene.h.

UT_Map<int,int> HUSD_Scene::mySelection
protected

Definition at line 345 of file HUSD_Scene.h.

UT_StringArray HUSD_Scene::mySelectionArray
protected

Definition at line 347 of file HUSD_Scene.h.

int64 HUSD_Scene::mySelectionArrayID
protected

Definition at line 348 of file HUSD_Scene.h.

bool HUSD_Scene::mySelectionArrayNeedsUpdate
protected

Definition at line 349 of file HUSD_Scene.h.

int64 HUSD_Scene::mySelectionID
protected

Definition at line 351 of file HUSD_Scene.h.

int64 HUSD_Scene::mySelectionResolveSerial
protected

Definition at line 356 of file HUSD_Scene.h.

int HUSD_Scene::mySelectionSerial
protected

Definition at line 387 of file HUSD_Scene.h.

UT_StringMap<int> HUSD_Scene::myShadowLinkCategories
protected

Definition at line 367 of file HUSD_Scene.h.

HUSD_DataHandle HUSD_Scene::myStage
protected

Definition at line 377 of file HUSD_Scene.h.

HUSD_ConstOverridesPtr HUSD_Scene::myStageOverrides
protected

Definition at line 378 of file HUSD_Scene.h.

UT_LinkList HUSD_Scene::myStashedSelection
protected

Definition at line 369 of file HUSD_Scene.h.

int64 HUSD_Scene::myStashedSelectionSizeB
protected

Definition at line 370 of file HUSD_Scene.h.

husd_SceneTree* HUSD_Scene::myTree
protected

Definition at line 380 of file HUSD_Scene.h.


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