The HPS::Exchange::ExportSTEPOptionsKit class is a user space object. More...
#include <sprk_exchange.h>
Public Member Functions | |
ExportSTEPOptionsKit () | |
The default constructor creates an empty ExportSTEPOptionsKit object. More... | |
ExportSTEPOptionsKit (ExportSTEPOptionsKit const &in_kit) | |
The copy constructor creates a new ExportSTEPOptionsKit object that contains the same settings as the source ExportSTEPOptionsKit. More... | |
ExportSTEPOptionsKit (ExportSTEPOptionsKit &&in_that) | |
The move constructor creates an ExportSTEPOptionsKit by transferring the underlying object of the rvalue reference to this ExportSTEPOptionsKit. More... | |
virtual | ~ExportSTEPOptionsKit () |
HPS::Type | ObjectType () const |
void | Set (ExportSTEPOptionsKit const &in_kit) |
Copies the source ExportSTEPOptionsKit into this ExportSTEPOptionsKit. More... | |
void | Show (ExportSTEPOptionsKit &out_kit) const |
Copies this ExportSTEPOptionsKit into the given ExportSTEPOptionsKit. More... | |
ExportSTEPOptionsKit & | operator= (ExportSTEPOptionsKit const &in_kit) |
Copies the source ExportSTEPOptionsKit into this ExportSTEPOptionsKit. More... | |
ExportSTEPOptionsKit & | operator= (ExportSTEPOptionsKit &&in_that) |
The move assignment operator transfers the underlying object of the rvalue reference to this ExportSTEPOptionsKit. More... | |
bool | Empty () const |
Indicates whether this ExportSTEPOptionsKit has any values set on it. More... | |
bool | Equals (ExportSTEPOptionsKit const &in_kit) const |
Check if the source ExportSTEPOptionsKit is equivalent to this ExportSTEPOptionsKit. More... | |
bool | operator== (ExportSTEPOptionsKit const &in_kit) const |
Check if the source ExportSTEPOptionsKit is equivalent to this ExportSTEPOptionsKit. More... | |
bool | operator!= (ExportSTEPOptionsKit const &in_kit) const |
Check if the source ExportSTEPOptionsKit is not equivalent to this ExportSTEPOptionsKit. More... | |
ExportSTEPOptionsKit & | SetFormat (STEP::Format in_format) |
Sets the format of the STEP data to export. More... | |
ExportSTEPOptionsKit & | SetAnalyticsAsNURBS (bool in_state) |
Sets whether to convert analytic surfaces (planes, cones, cylinder, etc.) to NURBS surfaces for export. More... | |
ExportSTEPOptionsKit & | SetFacetedAsWireframe (bool in_state) |
Sets whether to convert polyhedrics to wireframe data for export. More... | |
ExportSTEPOptionsKit & | SetNameShortening (bool in_state) |
Sets whether to shorten names in the STEP data for export. More... | |
ExportSTEPOptionsKit & | SetApplication (char const *in_name) |
Sets the application name to put in the STEP data. More... | |
ExportSTEPOptionsKit & | SetVersion (char const *in_version) |
Sets the version string to put in the STEP data. More... | |
ExportSTEPOptionsKit & | SetPMI (bool in_state) |
Sets whether to export PMI. More... | |
ExportSTEPOptionsKit & | SetCurves (bool in_state) |
Sets whether to export curves. More... | |
ExportSTEPOptionsKit & | SetAttributes (bool in_state) |
Sets whether to export attributes. More... | |
ExportSTEPOptionsKit & | UnsetFormat () |
Removes the format setting. More... | |
ExportSTEPOptionsKit & | UnsetAnalyticsAsNURBS () |
Removes the analytics to NURBS conversion setting. More... | |
ExportSTEPOptionsKit & | UnsetFacetedAsWireframe () |
Removes the faceted to wireframe conversion setting. More... | |
ExportSTEPOptionsKit & | UnsetNameShortening () |
Removes the name shortening setting. More... | |
ExportSTEPOptionsKit & | UnsetApplication () |
Removes the application name setting. More... | |
ExportSTEPOptionsKit & | UnsetVersion () |
Removes the version string setting. More... | |
ExportSTEPOptionsKit & | UnsetPMI () |
Removes the PMI setting. More... | |
ExportSTEPOptionsKit & | UnsetCurves () |
Removes the curves setting. More... | |
ExportSTEPOptionsKit & | UnsetAttributes () |
Removes the attributes setting. More... | |
ExportSTEPOptionsKit & | UnsetEverything () |
Removes all settings from this ExportSTEPOptionsKit. More... | |
bool | ShowFormat (STEP::Format &out_format) const |
Shows the format setting. More... | |
bool | ShowAnalyticsAsNURBS (bool &out_state) const |
Shows the analytics to NURBS conversion setting. More... | |
bool | ShowFacetedAsWireframe (bool &out_state) const |
Shows the faceted to wireframe conversion setting. More... | |
bool | ShowNameShortening (bool &out_state) const |
Shows the name shortening setting. More... | |
bool | ShowApplication (UTF8 &out_name) const |
Shows the application name setting. More... | |
bool | ShowVersion (UTF8 &out_version) const |
Shows the version string setting. More... | |
bool | ShowPMI (bool &out_state) const |
Shows the pmi setting. More... | |
bool | ShowCurves (bool &out_state) const |
Shows the curves setting. More... | |
bool | ShowAttributes (bool &out_state) const |
Shows the attributes setting. More... | |
virtual HPS::Type | Type () const |
This function returns the true type of the underlying object. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
bool | HasType (HPS::Type in_mask) const |
This function indicates whether this Object has the given Type mask. More... | |
intptr_t | GetClassID () const |
Returns a unique identifier that is shared by all objects of the same class. More... | |
intptr_t | GetInstanceID () const |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
Static Public Member Functions | |
static ExportSTEPOptionsKit | GetDefault () |
Creates an ExportSTEPOptionsKit which contains the default settings. More... | |
template<typename T > | |
static intptr_t | ClassID () |
Unique identifier for this class. More... | |
Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::ExchangeExportSTEPOptionsKit |
The HPS::Exchange::ExportSTEPOptionsKit class is a user space object.
It contains settings controlling how STEP data is exported via Exchange. Calling HPS::Exchange::ExportSTEPOptionsKit::GetDefault() will return an options kit with values found in here.
HPS::Exchange::ExportSTEPOptionsKit::ExportSTEPOptionsKit | ( | ) |
The default constructor creates an empty ExportSTEPOptionsKit object.
HPS::Exchange::ExportSTEPOptionsKit::ExportSTEPOptionsKit | ( | ExportSTEPOptionsKit const & | in_kit | ) |
The copy constructor creates a new ExportSTEPOptionsKit object that contains the same settings as the source ExportSTEPOptionsKit.
in_kit | The source ExportSTEPOptionsKit to copy. |
HPS::Exchange::ExportSTEPOptionsKit::ExportSTEPOptionsKit | ( | ExportSTEPOptionsKit && | in_that | ) |
The move constructor creates an ExportSTEPOptionsKit by transferring the underlying object of the rvalue reference to this ExportSTEPOptionsKit.
in_that | An rvalue reference to an ExportSTEPOptionsKit to take the underlying object from. |
|
virtual |
|
inlinestaticinherited |
Unique identifier for this class.
Note: this method uses construction of static objects. If used in a constructor, it should be used in the body not the initializer list.
|
virtual |
Indicates whether this ExportSTEPOptionsKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::Exchange::ExportSTEPOptionsKit::Equals | ( | ExportSTEPOptionsKit const & | in_kit | ) | const |
Check if the source ExportSTEPOptionsKit is equivalent to this ExportSTEPOptionsKit.
in_kit | The source ExportSTEPOptionsKit to compare to this ExportSTEPOptionsKit. |
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
static |
Creates an ExportSTEPOptionsKit which contains the default settings.
The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default. These values will be used for import unless an option is overridden by the options passed to File::ExportSTEP.
|
inherited |
Returns an identifier that can be used to identify which instance of a class an object is.
Different keys and controls will return the same value if they are backed by the same database resource.
|
inherited |
|
inlinevirtual |
bool HPS::Exchange::ExportSTEPOptionsKit::operator!= | ( | ExportSTEPOptionsKit const & | in_kit | ) | const |
Check if the source ExportSTEPOptionsKit is not equivalent to this ExportSTEPOptionsKit.
in_kit | The source ExportSTEPOptionsKit to compare to this ExportSTEPOptionsKit. |
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::operator= | ( | ExportSTEPOptionsKit const & | in_kit | ) |
Copies the source ExportSTEPOptionsKit into this ExportSTEPOptionsKit.
in_kit | The source ExportSTEPOptionsKit to copy. |
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::operator= | ( | ExportSTEPOptionsKit && | in_that | ) |
The move assignment operator transfers the underlying object of the rvalue reference to this ExportSTEPOptionsKit.
in_that | An rvalue reference to an ExportSTEPOptionsKit to take the underlying object from. |
bool HPS::Exchange::ExportSTEPOptionsKit::operator== | ( | ExportSTEPOptionsKit const & | in_kit | ) | const |
Check if the source ExportSTEPOptionsKit is equivalent to this ExportSTEPOptionsKit.
in_kit | The source ExportSTEPOptionsKit to compare to this ExportSTEPOptionsKit. |
|
virtualinherited |
Resets this object to its initial, uninitialized state.
Reimplemented in HPS::EventHandler, HPS::EventDispatcher, HPS::World, HPS::HighlightSearchResults, HPS::HighlightSearchResultsIterator, HPS::SelectionResults, HPS::SelectionResultsIterator, HPS::FontSearchResults, HPS::FontSearchResultsIterator, HPS::SearchResults, and HPS::SearchResultsIterator.
void HPS::Exchange::ExportSTEPOptionsKit::Set | ( | ExportSTEPOptionsKit const & | in_kit | ) |
Copies the source ExportSTEPOptionsKit into this ExportSTEPOptionsKit.
in_kit | The source ExportSTEPOptionsKit to copy. |
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::SetAnalyticsAsNURBS | ( | bool | in_state | ) |
Sets whether to convert analytic surfaces (planes, cones, cylinder, etc.) to NURBS surfaces for export.
This corresponds to the value that will be passed to A3DRWParamsExportStepData::m_bSaveAnalyticsToNurbs.
in_state | Whether to convert analytic surfaces to NURBS surfaces for export. |
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::SetApplication | ( | char const * | in_name | ) |
Sets the application name to put in the STEP data.
This corresponds to the value that will be passed to A3DRWParamsExportStepData::m_pcApplication.
in_name | UTF8-encoded application name to put in the STEP data. |
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::SetAttributes | ( | bool | in_state | ) |
Sets whether to export attributes.
This corresponds to the value that will be passed to A3DRWParamsExportStepData::m_bWriteAttributes.
in_state | Whether to export attributes. |
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::SetCurves | ( | bool | in_state | ) |
Sets whether to export curves.
This corresponds to the value that will be passed to A3DRWParamsExportStepData::m_bWriteUVCurves.
in_state | Whether to export curves. |
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::SetFacetedAsWireframe | ( | bool | in_state | ) |
Sets whether to convert polyhedrics to wireframe data for export.
This corresponds to the value that will be passed to A3DRWParamsExportStepData::m_bSaveFacetedToWireframe.
in_state | Whether to convert polyhedrics to wireframe data for export. |
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::SetFormat | ( | STEP::Format | in_format | ) |
Sets the format of the STEP data to export.
This corresponds to the value that will be passed to A3DRWParamsExportStepData::m_eStepFormat.
in_format | The format of the STEP data to export. |
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::SetNameShortening | ( | bool | in_state | ) |
Sets whether to shorten names in the STEP data for export.
This corresponds to the value that will be passed to A3DRWParamsExportStepData::m_bUseShortNames.
in_state | Whether to shorten names in the STEP data for export. |
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::SetPMI | ( | bool | in_state | ) |
Sets whether to export PMI.
This corresponds to the value that will be passed to A3DRWParamsExportStepData::m_bWritePMI.
in_state | Whether to export PMI. |
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::SetVersion | ( | char const * | in_version | ) |
Sets the version string to put in the STEP data.
This corresponds to the value that will be passed to A3DRWParamsExportStepData::m_pcVersion.
in_version | UTF8-encoded version string to put in the STEP data. |
void HPS::Exchange::ExportSTEPOptionsKit::Show | ( | ExportSTEPOptionsKit & | out_kit | ) | const |
Copies this ExportSTEPOptionsKit into the given ExportSTEPOptionsKit.
out_kit | The ExportSTEPOptionsKit to populate with the contents of this ExportSTEPOptionsKit. |
bool HPS::Exchange::ExportSTEPOptionsKit::ShowAnalyticsAsNURBS | ( | bool & | out_state | ) | const |
Shows the analytics to NURBS conversion setting.
out_state | Whether to convert analytic surfaces to NURBS surfaces for export. |
bool HPS::Exchange::ExportSTEPOptionsKit::ShowApplication | ( | UTF8 & | out_name | ) | const |
Shows the application name setting.
out_name | The application name to put in the STEP data. |
bool HPS::Exchange::ExportSTEPOptionsKit::ShowAttributes | ( | bool & | out_state | ) | const |
Shows the attributes setting.
out_state | Whether to export attributes. |
bool HPS::Exchange::ExportSTEPOptionsKit::ShowCurves | ( | bool & | out_state | ) | const |
Shows the curves setting.
out_state | Whether to export curves. |
bool HPS::Exchange::ExportSTEPOptionsKit::ShowFacetedAsWireframe | ( | bool & | out_state | ) | const |
Shows the faceted to wireframe conversion setting.
out_state | Whether to convert polyhedrics to wireframe data for export. |
bool HPS::Exchange::ExportSTEPOptionsKit::ShowFormat | ( | STEP::Format & | out_format | ) | const |
Shows the format setting.
out_format | The format of the STEP data to export. |
bool HPS::Exchange::ExportSTEPOptionsKit::ShowNameShortening | ( | bool & | out_state | ) | const |
Shows the name shortening setting.
out_state | Whether to shorten names in the STEP data for export. |
bool HPS::Exchange::ExportSTEPOptionsKit::ShowPMI | ( | bool & | out_state | ) | const |
Shows the pmi setting.
out_state | Whether to export PMI. |
bool HPS::Exchange::ExportSTEPOptionsKit::ShowVersion | ( | UTF8 & | out_version | ) | const |
Shows the version string setting.
out_version | The version string to put in the STEP data. |
|
virtualinherited |
This function returns the true type of the underlying object.
This function is useful for finding the type of smart pointer objects that have been cast to more generic types.
Reimplemented in HPS::UpdateOptionsControl, HPS::HighlightControl, HPS::SelectionOptionsControl, HPS::OffScreenWindowOptionsControl, HPS::ApplicationWindowOptionsControl, HPS::StandAloneWindowOptionsControl, HPS::AttributeLockControl, HPS::WindowInfoControl, HPS::DebuggingControl, HPS::SubwindowControl, HPS::ContourLineControl, HPS::VisualEffectsControl, HPS::TransformMaskControl, HPS::PostProcessEffectsControl, HPS::DrawingAttributeControl, HPS::HiddenLineAttributeControl, HPS::PerformanceControl, HPS::NURBSSurfaceAttributeControl, HPS::ConditionControl, HPS::StyleControl, HPS::PortfolioControl, HPS::MaterialMappingControl, HPS::TextureMatrixControl, HPS::ModellingMatrixControl, HPS::CurveAttributeControl, HPS::EdgeAttributeControl, HPS::LineAttributeControl, HPS::TextAttributeControl, HPS::CuttingSectionAttributeControl, HPS::CylinderAttributeControl, HPS::LightingAttributeControl, HPS::SphereAttributeControl, HPS::MarkerAttributeControl, HPS::CullingControl, HPS::ColorInterpolationControl, HPS::TransparencyControl, HPS::SelectabilityControl, HPS::CameraControl, HPS::VisibilityControl, HPS::BoundingControl, HPS::Kit, and HPS::Control.
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::UnsetAnalyticsAsNURBS | ( | ) |
Removes the analytics to NURBS conversion setting.
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::UnsetApplication | ( | ) |
Removes the application name setting.
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::UnsetAttributes | ( | ) |
Removes the attributes setting.
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::UnsetCurves | ( | ) |
Removes the curves setting.
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::UnsetEverything | ( | ) |
Removes all settings from this ExportSTEPOptionsKit.
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::UnsetFacetedAsWireframe | ( | ) |
Removes the faceted to wireframe conversion setting.
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::UnsetFormat | ( | ) |
Removes the format setting.
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::UnsetNameShortening | ( | ) |
Removes the name shortening setting.
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::UnsetPMI | ( | ) |
Removes the PMI setting.
ExportSTEPOptionsKit& HPS::Exchange::ExportSTEPOptionsKit::UnsetVersion | ( | ) |
Removes the version string setting.
|
static |