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

#include <HUSD_EditLayers.h>

Public Member Functions

 HUSD_EditLayers (HUSD_AutoWriteLock &lock)
 
 ~HUSD_EditLayers ()
 
void setEditRootLayer (bool edit_root_layer)
 
bool editRootLayer () const
 
void setAddLayerPosition (int position)
 
int addLayerPosition () const
 
void setCopyRootPrimMetadataToStage (bool copymetadata)
 
bool copyRootPrimMetadataToStage () const
 
bool removeLayers (const UT_StringArray &filepaths) const
 
bool addLayers (const UT_StringArray &filepaths, const UT_Array< HUSD_LayerOffset > &offsets, const UT_Array< UT_StringMap< UT_StringHolder >> &refargs=UT_Array< UT_StringMap< UT_StringHolder >>(), const UT_Array< GU_DetailHandle > &gdhs=UT_Array< GU_DetailHandle >()) const
 
bool addLayer (const UT_StringRef &filepath, const HUSD_LayerOffset &offset=HUSD_LayerOffset(), const UT_StringMap< UT_StringHolder > &refargs=UT_StringMap< UT_StringHolder >(), const GU_DetailHandle &gdh=GU_DetailHandle()) const
 
bool addLayerForEdit (const UT_StringRef &filepath, const UT_StringMap< UT_StringHolder > &refargs=UT_StringMap< UT_StringHolder >(), const GU_DetailHandle &gdh=GU_DetailHandle()) const
 
bool addLayerFromSource (const UT_StringRef &usdsource, bool allow_editing) const
 
bool addLayer () const
 
bool applyLayerBreak () const
 

Detailed Description

Definition at line 28 of file HUSD_EditLayers.h.

Constructor & Destructor Documentation

HUSD_EditLayers::HUSD_EditLayers ( HUSD_AutoWriteLock lock)
HUSD_EditLayers::~HUSD_EditLayers ( )

Member Function Documentation

bool HUSD_EditLayers::addLayer ( const UT_StringRef filepath,
const HUSD_LayerOffset offset = HUSD_LayerOffset(),
const UT_StringMap< UT_StringHolder > &  refargs = UT_StringMapUT_StringHolder >(),
const GU_DetailHandle gdh = GU_DetailHandle() 
) const
bool HUSD_EditLayers::addLayer ( ) const
bool HUSD_EditLayers::addLayerForEdit ( const UT_StringRef filepath,
const UT_StringMap< UT_StringHolder > &  refargs = UT_StringMapUT_StringHolder >(),
const GU_DetailHandle gdh = GU_DetailHandle() 
) const
bool HUSD_EditLayers::addLayerFromSource ( const UT_StringRef usdsource,
bool  allow_editing 
) const
int HUSD_EditLayers::addLayerPosition ( ) const
inline

Definition at line 46 of file HUSD_EditLayers.h.

bool HUSD_EditLayers::addLayers ( const UT_StringArray filepaths,
const UT_Array< HUSD_LayerOffset > &  offsets,
const UT_Array< UT_StringMap< UT_StringHolder >> &  refargs = UT_ArrayUT_StringMapUT_StringHolder >>(),
const UT_Array< GU_DetailHandle > &  gdhs = UT_ArrayGU_DetailHandle >() 
) const
bool HUSD_EditLayers::applyLayerBreak ( ) const
bool HUSD_EditLayers::copyRootPrimMetadataToStage ( ) const
inline

Definition at line 53 of file HUSD_EditLayers.h.

bool HUSD_EditLayers::editRootLayer ( ) const
inline

Definition at line 38 of file HUSD_EditLayers.h.

bool HUSD_EditLayers::removeLayers ( const UT_StringArray filepaths) const
void HUSD_EditLayers::setAddLayerPosition ( int  position)
inline

Definition at line 44 of file HUSD_EditLayers.h.

void HUSD_EditLayers::setCopyRootPrimMetadataToStage ( bool  copymetadata)
inline

Definition at line 51 of file HUSD_EditLayers.h.

void HUSD_EditLayers::setEditRootLayer ( bool  edit_root_layer)
inline

Definition at line 36 of file HUSD_EditLayers.h.


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