< Home

< Table of Contents

REFERENCE MANUAL

Exchange::ExportSTEPOptionsKit Class Reference

#include <sprk_exchange.h>

Inheritance diagram for Exchange::ExportSTEPOptionsKit:
Sprocket Object

Public Member Functions

bool Empty () const
 
bool Equals (ExportSTEPOptionsKit const &in_kit) const
 
 ExportSTEPOptionsKit ()
 
 ExportSTEPOptionsKit (ExportSTEPOptionsKit const &in_kit)
 
 ExportSTEPOptionsKit (ExportSTEPOptionsKit &&in_that)
 
Type ObjectType () const
 
bool operator!= (ExportSTEPOptionsKit const &in_kit) const
 
ExportSTEPOptionsKitoperator= (ExportSTEPOptionsKit const &in_kit)
 
ExportSTEPOptionsKitoperator= (ExportSTEPOptionsKit &&in_that)
 
bool operator== (ExportSTEPOptionsKit const &in_kit) const
 
void Set (ExportSTEPOptionsKit const &in_kit)
 
ExportSTEPOptionsKitSetAnalyticsAsNURBS (bool in_state)
 
ExportSTEPOptionsKitSetApplication (char const *in_name)
 
ExportSTEPOptionsKitSetFacetedAsWireframe (bool in_state)
 
ExportSTEPOptionsKitSetFormat (STEP::Format in_format)
 
ExportSTEPOptionsKitSetNameShortening (bool in_state)
 
ExportSTEPOptionsKitSetVersion (char const *in_version)
 
void Show (ExportSTEPOptionsKit &out_kit) const
 
bool ShowAnalyticsAsNURBS (bool &out_state) const
 
bool ShowApplication (UTF8 &out_name) const
 
bool ShowFacetedAsWireframe (bool &out_state) const
 
bool ShowFormat (STEP::Format &out_format) const
 
bool ShowNameShortening (bool &out_state) const
 
bool ShowVersion (UTF8 &out_version) const
 
ExportSTEPOptionsKitUnsetAnalyticsAsNURBS ()
 
ExportSTEPOptionsKitUnsetApplication ()
 
ExportSTEPOptionsKitUnsetEverything ()
 
ExportSTEPOptionsKitUnsetFacetedAsWireframe ()
 
ExportSTEPOptionsKitUnsetFormat ()
 
ExportSTEPOptionsKitUnsetNameShortening ()
 
ExportSTEPOptionsKitUnsetVersion ()
 
- Public Member Functions inherited from Sprocket
 Sprocket (Sprocket &&in_that)
 
- Public Member Functions inherited from Object
intptr_t GetClassID () const
 
intptr_t GetInstanceID () const
 
bool HasType (Type in_mask) const
 
 Object (Object &&in_that)
 
Objectoperator= (Object const &other_object)
 
Objectoperator= (Object &&in_that)
 
virtual void Reset ()
 
Type Type () const
 

Static Public Member Functions

static ExportSTEPOptionsKit GetDefault ()
 
- Static Public Member Functions inherited from Object
template<typename T >
static intptr_t ClassID ()
 

Additional Inherited Members

- Public Types inherited from Sprocket
enum  UpdateType { Synchronous, Asynchronous }
 

Detailed Description

The Exchange::ExportSTEPOptionsKit class is a user space object. It contains settings controlling how STEP data is exported via Exchange. Calling Exchange::ExportSTEPOptionsKit::GetDefault() will return an options kit with values found in here.

Constructor & Destructor Documentation

Exchange::ExportSTEPOptionsKit::ExportSTEPOptionsKit ( )

The default constructor creates an empty ExportSTEPOptionsKit object.

Exchange::ExportSTEPOptionsKit::ExportSTEPOptionsKit ( ExportSTEPOptionsKit const &  in_kit)

The copy constructor creates a new ExportSTEPOptionsKit object that contains the same settings as the source ExportSTEPOptionsKit.

Parameters
in_kitThe source ExportSTEPOptionsKit to copy.
Exchange::ExportSTEPOptionsKit::ExportSTEPOptionsKit ( ExportSTEPOptionsKit &&  in_that)

The move constructor creates an ExportSTEPOptionsKit by transferring the underlying object of the rvalue reference to this ExportSTEPOptionsKit.

Parameters
in_thatAn rvalue reference to an ExportSTEPOptionsKit to take the underlying object from.

Member Function Documentation

bool Exchange::ExportSTEPOptionsKit::Empty ( ) const
virtual

Indicates whether this ExportSTEPOptionsKit has any values set on it.

Returns
true if no values are set on this ExportSTEPOptionsKit, false otherwise.

Reimplemented from Object.

bool Exchange::ExportSTEPOptionsKit::Equals ( ExportSTEPOptionsKit const &  in_kit) const

Check if the source ExportSTEPOptionsKit is equivalent to this ExportSTEPOptionsKit.

Parameters
in_kitThe source ExportSTEPOptionsKit to compare to this ExportSTEPOptionsKit.
Returns
true if the objects are equivalent, false otherwise.
static ExportSTEPOptionsKit Exchange::ExportSTEPOptionsKit::GetDefault ( )
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.

Returns
An ExportSTEPOptionsKit with the default settings.
Type Exchange::ExportSTEPOptionsKit::ObjectType ( ) const
inlinevirtual

This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented from Object.

bool Exchange::ExportSTEPOptionsKit::operator!= ( ExportSTEPOptionsKit const &  in_kit) const

Check if the source ExportSTEPOptionsKit is not equivalent to this ExportSTEPOptionsKit.

Parameters
in_kitThe source ExportSTEPOptionsKit to compare to this ExportSTEPOptionsKit.
Returns
true if the objects are not equivalent, false otherwise.
ExportSTEPOptionsKit& Exchange::ExportSTEPOptionsKit::operator= ( ExportSTEPOptionsKit const &  in_kit)

Copies the source ExportSTEPOptionsKit into this ExportSTEPOptionsKit.

Parameters
in_kitThe source ExportSTEPOptionsKit to copy.
Returns
A reference to this ExportSTEPOptionsKit.
ExportSTEPOptionsKit& Exchange::ExportSTEPOptionsKit::operator= ( ExportSTEPOptionsKit &&  in_that)

The move assignment operator transfers the underlying object of the rvalue reference to this ExportSTEPOptionsKit.

Parameters
in_thatAn rvalue reference to an ExportSTEPOptionsKit to take the underlying object from.
Returns
A reference to this ExportSTEPOptionsKit.
bool Exchange::ExportSTEPOptionsKit::operator== ( ExportSTEPOptionsKit const &  in_kit) const

Check if the source ExportSTEPOptionsKit is equivalent to this ExportSTEPOptionsKit.

Parameters
in_kitThe source ExportSTEPOptionsKit to compare to this ExportSTEPOptionsKit.
Returns
true if the objects are equivalent, false otherwise.
void Exchange::ExportSTEPOptionsKit::Set ( ExportSTEPOptionsKit const &  in_kit)

Copies the source ExportSTEPOptionsKit into this ExportSTEPOptionsKit.

Parameters
in_kitThe source ExportSTEPOptionsKit to copy.
ExportSTEPOptionsKit& 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.

Parameters
in_stateWhether to convert analytic surfaces to NURBS surfaces for export.
Returns
A reference to this ExportSTEPOptionsKit.
See also
Default value
ExportSTEPOptionsKit& 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.

Parameters
in_nameUTF8-encoded application name to put in the STEP data.
Returns
A reference to this ExportSTEPOptionsKit.
ExportSTEPOptionsKit& 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.

Parameters
in_stateWhether to convert polyhedrics to wireframe data for export.
Returns
A reference to this ExportSTEPOptionsKit.
See also
Default value
ExportSTEPOptionsKit& 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.

Parameters
in_formatThe format of the STEP data to export.
Returns
A reference to this ExportSTEPOptionsKit.
See also
Default value
ExportSTEPOptionsKit& 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.

Parameters
in_stateWhether to shorten names in the STEP data for export.
Returns
A reference to this ExportSTEPOptionsKit.
See also
Default value
ExportSTEPOptionsKit& 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.

Parameters
in_versionUTF8-encoded version string to put in the STEP data.
Returns
A reference to this ExportSTEPOptionsKit.
void Exchange::ExportSTEPOptionsKit::Show ( ExportSTEPOptionsKit out_kit) const

Copies this ExportSTEPOptionsKit into the given ExportSTEPOptionsKit.

Parameters
out_kitThe ExportSTEPOptionsKit to populate with the contents of this ExportSTEPOptionsKit.
bool Exchange::ExportSTEPOptionsKit::ShowAnalyticsAsNURBS ( bool &  out_state) const

Shows the analytics to NURBS conversion setting.

Parameters
out_stateWhether to convert analytic surfaces to NURBS surfaces for export.
Returns
true if an analytics to NURBS conversion setting was specified, false otherwise.
bool Exchange::ExportSTEPOptionsKit::ShowApplication ( UTF8 out_name) const

Shows the application name setting.

Parameters
out_nameThe application name to put in the STEP data.
Returns
true if an application name setting was specified, false otherwise.
bool Exchange::ExportSTEPOptionsKit::ShowFacetedAsWireframe ( bool &  out_state) const

Shows the faceted to wireframe conversion setting.

Parameters
out_stateWhether to convert polyhedrics to wireframe data for export.
Returns
true if a faceted to wireframe conversion setting was specified, false otherwise.
bool Exchange::ExportSTEPOptionsKit::ShowFormat ( STEP::Format out_format) const

Shows the format setting.

Parameters
out_formatThe format of the STEP data to export.
Returns
true if a format setting was specified, false otherwise.
bool Exchange::ExportSTEPOptionsKit::ShowNameShortening ( bool &  out_state) const

Shows the name shortening setting.

Parameters
out_stateWhether to shorten names in the STEP data for export.
Returns
true if a name shortening setting was specified, false otherwise.
bool Exchange::ExportSTEPOptionsKit::ShowVersion ( UTF8 out_version) const

Shows the version string setting.

Parameters
out_versionThe version string to put in the STEP data.
Returns
true if a version string setting was specified, false otherwise.
ExportSTEPOptionsKit& Exchange::ExportSTEPOptionsKit::UnsetAnalyticsAsNURBS ( )

Removes the analytics to NURBS conversion setting.

Returns
A reference to this ExportSTEPOptionsKit.
ExportSTEPOptionsKit& Exchange::ExportSTEPOptionsKit::UnsetApplication ( )

Removes the application name setting.

Returns
A reference to this ExportSTEPOptionsKit.
ExportSTEPOptionsKit& Exchange::ExportSTEPOptionsKit::UnsetEverything ( )

Removes all settings from this ExportSTEPOptionsKit.

Returns
A reference to this ExportSTEPOptionsKit.
ExportSTEPOptionsKit& Exchange::ExportSTEPOptionsKit::UnsetFacetedAsWireframe ( )

Removes the faceted to wireframe conversion setting.

Returns
A reference to this ExportSTEPOptionsKit.
ExportSTEPOptionsKit& Exchange::ExportSTEPOptionsKit::UnsetFormat ( )

Removes the format setting.

Returns
A reference to this ExportSTEPOptionsKit.
ExportSTEPOptionsKit& Exchange::ExportSTEPOptionsKit::UnsetNameShortening ( )

Removes the name shortening setting.

Returns
A reference to this ExportSTEPOptionsKit.
ExportSTEPOptionsKit& Exchange::ExportSTEPOptionsKit::UnsetVersion ( )

Removes the version string setting.

Returns
A reference to this ExportSTEPOptionsKit.

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