This class provides Instance about a Solidworks File.
It can be used with sw::sww::OpenAssembly functions to Add Instance.
More...
Public Member Functions | |
void | AddMetadata (const Dtk_tab< Dtk_MetaDataPtr > &inArrayMetadata) |
const Dtk_Int32 & | GetBlankedStatus () |
const Dtk_RGB & | GetColor () |
const Dtk_string & | GetConfigurationName () |
const Dtk_string & | GetInstanceName () |
const Dtk_transfo & | GetMatrix () |
const Dtk_tab< Dtk_MetaDataPtr > & | GetMetadata () |
const Dtk_string & | GetName () |
Instance () | |
Default constructor. More... | |
Instance (const Dtk_string &inSolidfileName, const Dtk_string &inInstanceName, const Dtk_transfo &inTransfo, const Dtk_RGB &inColorInstance=Dtk_RGB(-1, -1, -1, -1), const Dtk_Int32 &inBlankedStatus=DTK_FALSE, const Dtk_string &inConfigurationName=Dtk_string()) | |
Default constructor. More... | |
~Instance () | |
Destructor. More... | |
Protected Attributes | |
Dtk_Int32 | _BlankedStatus |
Dtk_RGB | _Color |
Dtk_string | _ConfigurationName |
Dtk_string | _InstanceName |
Dtk_transfo | _Matrix |
Dtk_string | _Name |
Dtk_tab< Dtk_MetaDataPtr > | m_ArrayMetadata |
This class provides Instance about a Solidworks File.
It can be used with sw::sww::OpenAssembly functions to Add Instance.
sw::sww::Instance::Instance | ( | ) |
Default constructor.
sw::sww::Instance::~Instance | ( | ) |
Destructor.
sw::sww::Instance::Instance | ( | const Dtk_string & | inSolidfileName, |
const Dtk_string & | inInstanceName, | ||
const Dtk_transfo & | inTransfo, | ||
const Dtk_RGB & | inColorInstance = Dtk_RGB( -1, -1, -1, -1 ) , |
||
const Dtk_Int32 & | inBlankedStatus = DTK_FALSE , |
||
const Dtk_string & | inConfigurationName = Dtk_string() |
||
) |
Default constructor.
void sw::sww::Instance::AddMetadata | ( | const Dtk_tab< Dtk_MetaDataPtr > & | inArrayMetadata | ) |
const Dtk_Int32& sw::sww::Instance::GetBlankedStatus | ( | ) |
const Dtk_RGB& sw::sww::Instance::GetColor | ( | ) |
const Dtk_string& sw::sww::Instance::GetConfigurationName | ( | ) |
const Dtk_string& sw::sww::Instance::GetInstanceName | ( | ) |
const Dtk_transfo& sw::sww::Instance::GetMatrix | ( | ) |
const Dtk_tab<Dtk_MetaDataPtr>& sw::sww::Instance::GetMetadata | ( | ) |
const Dtk_string& sw::sww::Instance::GetName | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |