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

#include <XUSD_Data.h>

+ Inheritance diagram for XUSD_Data:

Public Member Functions

 XUSD_Data (HUSD_MirroringType mirroring)
 
 XUSD_Data (const UsdStageRefPtr &stage)
 
 ~XUSD_Data ()
 
bool isStageValid () const
 
UsdStageRefPtr stage () const
 
SdfLayerRefPtr activeLayer () const
 
bool activeLayerIsReusable () const
 
std::set< std::stringgetStageLayersToRemoveFromLayerBreak () const
 
SdfLayerRefPtr createFlattenedLayer (HUSD_StripLayerResponse response) const
 
SdfLayerRefPtr createFlattenedStage (HUSD_StripLayerResponse response) const
 
const XUSD_LayerAtPathArraysourceLayers () const
 
const HUSD_ConstOverridesPtroverrides () const
 
const HUSD_ConstPostLayersPtrpostLayers () const
 
const SdfLayerRefPtrsessionLayer (HUSD_OverridesLayerId id) const
 
const HUSD_LoadMasksPtrloadMasks () const
 
const std::stringrootLayerIdentifier () const
 
bool addLayer (const std::string &filepath, const SdfLayerOffset &offset, int position, XUSD_AddLayerOp add_layer_op, bool copy_root_prim_metadata)
 
bool addLayer (const XUSD_LayerAtPath &layer, int position, XUSD_AddLayerOp add_layer_op, bool copy_root_prim_metadata)
 
bool addLayers (const std::vector< std::string > &paths, const std::vector< bool > &above_breaks, const SdfLayerOffsetVector &offsets, int position, XUSD_AddLayerOp add_layer_op, bool copy_root_prim_metadata)
 
bool addLayers (const std::vector< std::string > &paths, const SdfLayerOffsetVector &offsets, int position, XUSD_AddLayerOp add_layer_op, bool copy_root_prim_metadata)
 
bool addLayers (const XUSD_LayerAtPathArray &layers, int position, XUSD_AddLayerOp add_layer_op, bool copy_root_prim_metadata)
 
bool addLayer ()
 
bool removeLayers (const std::set< std::string > &filepaths)
 
bool replaceAllSourceLayers (const XUSD_LayerAtPathArray &layers, const XUSD_LockedGeoSet &locked_geos, const XUSD_LayerSet &held_layers, const XUSD_LayerSet &replacement_layers, const HUSD_LockedStageSet &locked_stages, const UT_SharedPtr< XUSD_RootLayerData > &root_layer_data, bool last_sublayer_is_editable)
 
bool applyLayerBreak ()
 
void setStageRootPrimMetadata (const TfToken &field, const VtValue &value)
 
void setStageRootLayerData (const UT_SharedPtr< XUSD_RootLayerData > &rootlayerdata)
 
void setStageRootLayerData (const SdfLayerRefPtr &layer)
 
void addLockedGeo (const XUSD_LockedGeoPtr &lockedgeo)
 
void addLockedGeos (const XUSD_LockedGeoSet &lockedgeos)
 
const XUSD_LockedGeoSetlockedGeos () const
 
void addHeldLayer (const SdfLayerRefPtr &layer)
 
void addHeldLayers (const XUSD_LayerSet &layers)
 
const XUSD_LayerSetheldLayers () const
 
void addReplacements (const XUSD_LayerSet &replacements)
 
const XUSD_LayerSetreplacements () const
 
void addLockedStage (const HUSD_LockedStagePtr &stage)
 
void addLockedStages (const HUSD_LockedStageSet &stages)
 
const HUSD_LockedStageSetlockedStages () const
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< XUSD_Data >
SYS_FORCE_INLINE UT_IntrusiveRefCounter () noexcept
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &) noexcept
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const noexcept
 Return current counter. More...
 
SYS_FORCE_INLINE bool conditionalAddRef () noexcept
 

Static Public Member Functions

static void clearAllMirroredData ()
 

Friends

class ::HUSD_DataHandle
 

Additional Inherited Members

- Protected Member Functions inherited from UT_IntrusiveRefCounter< XUSD_Data >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 
- 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
 

Detailed Description

Definition at line 143 of file XUSD_Data.h.

Constructor & Destructor Documentation

XUSD_Data::XUSD_Data ( HUSD_MirroringType  mirroring)
XUSD_Data::XUSD_Data ( const UsdStageRefPtr &  stage)
explicit
XUSD_Data::~XUSD_Data ( )

Member Function Documentation

SdfLayerRefPtr XUSD_Data::activeLayer ( ) const
bool XUSD_Data::activeLayerIsReusable ( ) const
void XUSD_Data::addHeldLayer ( const SdfLayerRefPtr layer)
void XUSD_Data::addHeldLayers ( const XUSD_LayerSet layers)
bool XUSD_Data::addLayer ( const std::string filepath,
const SdfLayerOffset offset,
int  position,
XUSD_AddLayerOp  add_layer_op,
bool  copy_root_prim_metadata 
)
bool XUSD_Data::addLayer ( const XUSD_LayerAtPath layer,
int  position,
XUSD_AddLayerOp  add_layer_op,
bool  copy_root_prim_metadata 
)
bool XUSD_Data::addLayer ( )
bool XUSD_Data::addLayers ( const std::vector< std::string > &  paths,
const std::vector< bool > &  above_breaks,
const SdfLayerOffsetVector offsets,
int  position,
XUSD_AddLayerOp  add_layer_op,
bool  copy_root_prim_metadata 
)
bool XUSD_Data::addLayers ( const std::vector< std::string > &  paths,
const SdfLayerOffsetVector offsets,
int  position,
XUSD_AddLayerOp  add_layer_op,
bool  copy_root_prim_metadata 
)
bool XUSD_Data::addLayers ( const XUSD_LayerAtPathArray layers,
int  position,
XUSD_AddLayerOp  add_layer_op,
bool  copy_root_prim_metadata 
)
void XUSD_Data::addLockedGeo ( const XUSD_LockedGeoPtr lockedgeo)
void XUSD_Data::addLockedGeos ( const XUSD_LockedGeoSet lockedgeos)
void XUSD_Data::addLockedStage ( const HUSD_LockedStagePtr stage)
void XUSD_Data::addLockedStages ( const HUSD_LockedStageSet stages)
void XUSD_Data::addReplacements ( const XUSD_LayerSet replacements)
bool XUSD_Data::applyLayerBreak ( )
static void XUSD_Data::clearAllMirroredData ( )
static
SdfLayerRefPtr XUSD_Data::createFlattenedLayer ( HUSD_StripLayerResponse  response) const
SdfLayerRefPtr XUSD_Data::createFlattenedStage ( HUSD_StripLayerResponse  response) const
std::set<std::string> XUSD_Data::getStageLayersToRemoveFromLayerBreak ( ) const
const XUSD_LayerSet& XUSD_Data::heldLayers ( ) const
bool XUSD_Data::isStageValid ( ) const
const HUSD_LoadMasksPtr& XUSD_Data::loadMasks ( ) const
const XUSD_LockedGeoSet& XUSD_Data::lockedGeos ( ) const
const HUSD_LockedStageSet& XUSD_Data::lockedStages ( ) const
const HUSD_ConstOverridesPtr& XUSD_Data::overrides ( ) const
const HUSD_ConstPostLayersPtr& XUSD_Data::postLayers ( ) const
bool XUSD_Data::removeLayers ( const std::set< std::string > &  filepaths)
bool XUSD_Data::replaceAllSourceLayers ( const XUSD_LayerAtPathArray layers,
const XUSD_LockedGeoSet locked_geos,
const XUSD_LayerSet held_layers,
const XUSD_LayerSet replacement_layers,
const HUSD_LockedStageSet locked_stages,
const UT_SharedPtr< XUSD_RootLayerData > &  root_layer_data,
bool  last_sublayer_is_editable 
)
const XUSD_LayerSet& XUSD_Data::replacements ( ) const
const std::string& XUSD_Data::rootLayerIdentifier ( ) const
const SdfLayerRefPtr& XUSD_Data::sessionLayer ( HUSD_OverridesLayerId  id) const
void XUSD_Data::setStageRootLayerData ( const UT_SharedPtr< XUSD_RootLayerData > &  rootlayerdata)
void XUSD_Data::setStageRootLayerData ( const SdfLayerRefPtr layer)
void XUSD_Data::setStageRootPrimMetadata ( const TfToken field,
const VtValue value 
)
const XUSD_LayerAtPathArray& XUSD_Data::sourceLayers ( ) const
UsdStageRefPtr XUSD_Data::stage ( ) const

Friends And Related Function Documentation

friend class ::HUSD_DataHandle
friend

Definition at line 371 of file XUSD_Data.h.


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