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 ()
 
bool isStageValid () const
 
UsdStageRefPtr stage () const
 
SdfLayerRefPtr activeLayer () 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 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 applyLayerBreak ()
 
void setStageRootPrimMetadata (const TfToken &field, const VtValue &value)
 
void setStageRootLayerData (const UT_SharedPtr< XUSD_RootLayerData > &rootlayerdata)
 
void setStageRootLayerData (const SdfLayerRefPtr &layer)
 
void addTicket (const XUSD_TicketPtr &ticket)
 
void addTickets (const XUSD_TicketArray &tickets)
 
const XUSD_TicketArraytickets () const
 
void addReplacements (const XUSD_LayerArray &replacements)
 
const XUSD_LayerArrayreplacements () const
 
void addLockedStage (const HUSD_LockedStagePtr &stage)
 
void addLockedStages (const HUSD_LockedStageArray &stages)
 
const HUSD_LockedStageArraylockedStages () 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...
 

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 91 of file XUSD_Data.h.

Constructor & Destructor Documentation

XUSD_Data::XUSD_Data ( HUSD_MirroringType  mirroring)
XUSD_Data::~XUSD_Data ( )

Member Function Documentation

SdfLayerRefPtr XUSD_Data::activeLayer ( ) const
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::addLockedStage ( const HUSD_LockedStagePtr stage)
void XUSD_Data::addLockedStages ( const HUSD_LockedStageArray stages)
void XUSD_Data::addReplacements ( const XUSD_LayerArray replacements)
void XUSD_Data::addTicket ( const XUSD_TicketPtr ticket)
void XUSD_Data::addTickets ( const XUSD_TicketArray tickets)
bool XUSD_Data::applyLayerBreak ( )
SdfLayerRefPtr XUSD_Data::createFlattenedLayer ( HUSD_StripLayerResponse  response) const
SdfLayerRefPtr XUSD_Data::createFlattenedStage ( HUSD_StripLayerResponse  response) const
std::set<std::string> XUSD_Data::getStageLayersToRemoveFromLayerBreak ( ) const
bool XUSD_Data::isStageValid ( ) const
const HUSD_LoadMasksPtr& XUSD_Data::loadMasks ( ) const
const HUSD_LockedStageArray& XUSD_Data::lockedStages ( ) const
const HUSD_ConstOverridesPtr& XUSD_Data::overrides ( ) const
bool XUSD_Data::removeLayers ( const std::set< std::string > &  filepaths)
const XUSD_LayerArray& 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
const XUSD_TicketArray& XUSD_Data::tickets ( ) const

Friends And Related Function Documentation

friend class ::HUSD_DataHandle
friend

Definition at line 282 of file XUSD_Data.h.


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