Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::Exchange::ExportParasolidOptionsKit Class Reference

The HPS::Exchange::ExportParasolidOptionsKit class is a user space object. More...

#include <sprk_exchange.h>

Inheritance diagram for HPS::Exchange::ExportParasolidOptionsKit:
Collaboration diagram for HPS::Exchange::ExportParasolidOptionsKit:

Public Member Functions

 ExportParasolidOptionsKit ()
 The default constructor creates an empty ExportParasolidOptionsKit object. More...
 
 ExportParasolidOptionsKit (ExportParasolidOptionsKit const &in_kit)
 The copy constructor creates a new ExportParasolidOptionsKit object that contains the same settings as the source ExportParasolidOptionsKit. More...
 
 ExportParasolidOptionsKit (ExportParasolidOptionsKit &&in_that)
 The move constructor creates an ExportParasolidOptionsKit by transferring the underlying object of the rvalue reference to this ExportParasolidOptionsKit. More...
 
virtual ~ExportParasolidOptionsKit ()
 
HPS::Type ObjectType () const
 
void Set (ExportParasolidOptionsKit const &in_kit)
 Copies the source ExportParasolidOptionsKit into this ExportParasolidOptionsKit. More...
 
void Show (ExportParasolidOptionsKit &out_kit) const
 Copies this ExportParasolidOptionsKit into the given ExportParasolidOptionsKit. More...
 
ExportParasolidOptionsKitoperator= (ExportParasolidOptionsKit const &in_kit)
 Copies the source ExportParasolidOptionsKit into this ExportParasolidOptionsKit. More...
 
ExportParasolidOptionsKitoperator= (ExportParasolidOptionsKit &&in_that)
 The move assignment operator transfers the underlying object of the rvalue reference to this ExportParasolidOptionsKit. More...
 
bool Empty () const
 Indicates whether this ExportParasolidOptionsKit has any values set on it. More...
 
bool Equals (ExportParasolidOptionsKit const &in_kit) const
 Check if the source ExportParasolidOptionsKit is equivalent to this ExportParasolidOptionsKit. More...
 
bool operator== (ExportParasolidOptionsKit const &in_kit) const
 Check if the source ExportParasolidOptionsKit is equivalent to this ExportParasolidOptionsKit. More...
 
bool operator!= (ExportParasolidOptionsKit const &in_kit) const
 Check if the source ExportParasolidOptionsKit is not equivalent to this ExportParasolidOptionsKit. More...
 
ExportParasolidOptionsKitSetSolidsAsFaces (bool in_state)
 Sets whether to convert solids to a set of independent faces for export. More...
 
ExportParasolidOptionsKitSetTessellation (bool in_state)
 Sets whether to export tessellation data. More...
 
ExportParasolidOptionsKitSetHiddenObjects (bool in_state)
 Sets whether to export hidden objects. More...
 
ExportParasolidOptionsKitSetApplication (char const *in_name)
 Sets the application name to put in the Parasolid data. More...
 
ExportParasolidOptionsKitSetVersion (char const *in_version)
 Sets the version string to put in the Parasolid data. More...
 
ExportParasolidOptionsKitUnsetSolidsAsFaces ()
 Removes the solids to faces conversion setting. More...
 
ExportParasolidOptionsKitUnsetTessellation ()
 Removes the tessellation export setting. More...
 
ExportParasolidOptionsKitUnsetHiddenObjects ()
 Removes the hidden objects export setting. More...
 
ExportParasolidOptionsKitUnsetApplication ()
 Removes the application name setting. More...
 
ExportParasolidOptionsKitUnsetVersion ()
 Removes the version string setting. More...
 
ExportParasolidOptionsKitUnsetEverything ()
 Removes all settings from this ExportParasolidOptionsKit. More...
 
bool ShowSolidsAsFaces (bool &out_state) const
 Shows the solids to faces conversion setting. More...
 
bool ShowTessellation (bool &out_state) const
 Shows the tessellation export setting. More...
 
bool ShowHiddenObjects (bool &out_state) const
 Shows the hidden object export 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...
 
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 ExportParasolidOptionsKit GetDefault ()
 Creates an ExportParasolidOptionsKit 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::ExchangeExportParasolidOptionsKit
 

Detailed Description

The HPS::Exchange::ExportParasolidOptionsKit class is a user space object.

It contains settings controlling how Parasolid data is exported via Exchange. Calling HPS::Exchange::ExportParasolidOptionsKit::GetDefault() will return an options kit with values found in here.

Constructor & Destructor Documentation

◆ ExportParasolidOptionsKit() [1/3]

HPS::Exchange::ExportParasolidOptionsKit::ExportParasolidOptionsKit ( )

The default constructor creates an empty ExportParasolidOptionsKit object.

◆ ExportParasolidOptionsKit() [2/3]

HPS::Exchange::ExportParasolidOptionsKit::ExportParasolidOptionsKit ( ExportParasolidOptionsKit const &  in_kit)

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

Parameters
in_kitThe source ExportParasolidOptionsKit to copy.

◆ ExportParasolidOptionsKit() [3/3]

HPS::Exchange::ExportParasolidOptionsKit::ExportParasolidOptionsKit ( ExportParasolidOptionsKit &&  in_that)

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

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

◆ ~ExportParasolidOptionsKit()

virtual HPS::Exchange::ExportParasolidOptionsKit::~ExportParasolidOptionsKit ( )
virtual

Member Function Documentation

◆ ClassID()

template<typename T >
static intptr_t HPS::Object::ClassID ( )
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.

◆ Empty()

bool HPS::Exchange::ExportParasolidOptionsKit::Empty ( ) const
virtual

Indicates whether this ExportParasolidOptionsKit has any values set on it.

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

Reimplemented from HPS::Object.

◆ Equals()

bool HPS::Exchange::ExportParasolidOptionsKit::Equals ( ExportParasolidOptionsKit const &  in_kit) const

Check if the source ExportParasolidOptionsKit is equivalent to this ExportParasolidOptionsKit.

Parameters
in_kitThe source ExportParasolidOptionsKit to compare to this ExportParasolidOptionsKit.
Returns
true if the objects are equivalent, false otherwise.

◆ GetClassID()

intptr_t HPS::Object::GetClassID ( ) const
inherited

Returns a unique identifier that is shared by all objects of the same class.

Returns
A unique value shared by all objects of the same class.

◆ GetDefault()

static ExportParasolidOptionsKit HPS::Exchange::ExportParasolidOptionsKit::GetDefault ( )
static

Creates an ExportParasolidOptionsKit 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::ExportParasolid.

Returns
An ExportParasolidOptionsKit with the default settings.

◆ GetInstanceID()

intptr_t HPS::Object::GetInstanceID ( ) const
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.

Returns
A value unique to an instance of an object and all objects that are backed by the same database resource.

◆ HasType()

bool HPS::Object::HasType ( HPS::Type  in_mask) const
inherited

This function indicates whether this Object has the given Type mask.

Parameters
in_maskThe Type mask to check against this Object.
Returns
true if this Object has the given Type mask, false otherwise.

◆ ObjectType()

HPS::Type HPS::Exchange::ExportParasolidOptionsKit::ObjectType ( ) const
inlinevirtual

Reimplemented from HPS::SprocketKit.

Here is the call graph for this function:

◆ operator!=()

bool HPS::Exchange::ExportParasolidOptionsKit::operator!= ( ExportParasolidOptionsKit const &  in_kit) const

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

Parameters
in_kitThe source ExportParasolidOptionsKit to compare to this ExportParasolidOptionsKit.
Returns
true if the objects are not equivalent, false otherwise.

◆ operator=() [1/2]

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::operator= ( ExportParasolidOptionsKit const &  in_kit)

Copies the source ExportParasolidOptionsKit into this ExportParasolidOptionsKit.

Parameters
in_kitThe source ExportParasolidOptionsKit to copy.
Returns
A reference to this ExportParasolidOptionsKit.

◆ operator=() [2/2]

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::operator= ( ExportParasolidOptionsKit &&  in_that)

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

Parameters
in_thatAn rvalue reference to an ExportParasolidOptionsKit to take the underlying object from.
Returns
A reference to this ExportParasolidOptionsKit.

◆ operator==()

bool HPS::Exchange::ExportParasolidOptionsKit::operator== ( ExportParasolidOptionsKit const &  in_kit) const

Check if the source ExportParasolidOptionsKit is equivalent to this ExportParasolidOptionsKit.

Parameters
in_kitThe source ExportParasolidOptionsKit to compare to this ExportParasolidOptionsKit.
Returns
true if the objects are equivalent, false otherwise.

◆ Reset()

◆ Set()

void HPS::Exchange::ExportParasolidOptionsKit::Set ( ExportParasolidOptionsKit const &  in_kit)

Copies the source ExportParasolidOptionsKit into this ExportParasolidOptionsKit.

Parameters
in_kitThe source ExportParasolidOptionsKit to copy.

◆ SetApplication()

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::SetApplication ( char const *  in_name)

Sets the application name to put in the Parasolid data.

This corresponds to the value that will be passed to A3DRWParamsExportParasolidData::m_pcApplication.

Parameters
in_nameUTF8-encoded application name to put in the Parasolid data.
Returns
A reference to this ExportParasolidOptionsKit.

◆ SetHiddenObjects()

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::SetHiddenObjects ( bool  in_state)

Sets whether to export hidden objects.

This corresponds to the value that will be passed to A3DRWParamsExportParasolidData::m_bWriteBlankedEntities.

Parameters
in_stateWhether to export hidden objects.
Returns
A reference to this ExportParasolidOptionsKit.
See also
Default value

◆ SetSolidsAsFaces()

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::SetSolidsAsFaces ( bool  in_state)

Sets whether to convert solids to a set of independent faces for export.

This corresponds to the value that will be passed to A3DRWParamsExportIgesData::m_bSaveSolidsAsFaces.

Parameters
in_stateWhether to convert solids to a set of independent faces for export.
Returns
A reference to this ExportParasolidOptionsKit.
See also
Default value

◆ SetTessellation()

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::SetTessellation ( bool  in_state)

Sets whether to export tessellation data.

This corresponds to the value that will be passed to A3DRWParamsExportParasolidData::m_bWriteTessellation.

Parameters
in_stateWhether to export tessellation data.
Returns
A reference to this ExportParasolidOptionsKit.
See also
Default value

◆ SetVersion()

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::SetVersion ( char const *  in_version)

Sets the version string to put in the Parasolid data.

This corresponds to the value that will be passed to A3DRWParamsExportParasolidData::m_pcVersion.

Parameters
in_versionUTF8-encoded version string to put in the Parasolid data.
Returns
A reference to this ExportParasolidOptionsKit.

◆ Show()

void HPS::Exchange::ExportParasolidOptionsKit::Show ( ExportParasolidOptionsKit out_kit) const

Copies this ExportParasolidOptionsKit into the given ExportParasolidOptionsKit.

Parameters
out_kitThe ExportParasolidOptionsKit to populate with the contents of this ExportParasolidOptionsKit.

◆ ShowApplication()

bool HPS::Exchange::ExportParasolidOptionsKit::ShowApplication ( UTF8 out_name) const

Shows the application name setting.

Parameters
out_nameThe application name to put in the Parasolid data.
Returns
true if an application name setting was specified, false otherwise.

◆ ShowHiddenObjects()

bool HPS::Exchange::ExportParasolidOptionsKit::ShowHiddenObjects ( bool &  out_state) const

Shows the hidden object export setting.

Parameters
out_stateWhether to export hidden objects.
Returns
true if a hidden object export setting was specified, false otherwise.

◆ ShowSolidsAsFaces()

bool HPS::Exchange::ExportParasolidOptionsKit::ShowSolidsAsFaces ( bool &  out_state) const

Shows the solids to faces conversion setting.

Parameters
out_stateWhether to convert solids to a set of independent faces for export.
Returns
true if a solids to faces conversion setting was specified, false otherwise.

◆ ShowTessellation()

bool HPS::Exchange::ExportParasolidOptionsKit::ShowTessellation ( bool &  out_state) const

Shows the tessellation export setting.

Parameters
out_stateWhether to export tessellation data.
Returns
true if a tessellation export setting was specified, false otherwise.

◆ ShowVersion()

bool HPS::Exchange::ExportParasolidOptionsKit::ShowVersion ( UTF8 out_version) const

Shows the version string setting.

Parameters
out_versionThe version string to put in the Parasolid data.
Returns
true if a version string setting was specified, false otherwise.

◆ Type()

◆ UnsetApplication()

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::UnsetApplication ( )

Removes the application name setting.

Returns
A reference to this ExportParasolidOptionsKit.

◆ UnsetEverything()

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::UnsetEverything ( )

Removes all settings from this ExportParasolidOptionsKit.

Returns
A reference to this ExportParasolidOptionsKit.

◆ UnsetHiddenObjects()

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::UnsetHiddenObjects ( )

Removes the hidden objects export setting.

Returns
A reference to this ExportParasolidOptionsKit.

◆ UnsetSolidsAsFaces()

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::UnsetSolidsAsFaces ( )

Removes the solids to faces conversion setting.

Returns
A reference to this ExportParasolidOptionsKit.

◆ UnsetTessellation()

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::UnsetTessellation ( )

Removes the tessellation export setting.

Returns
A reference to this ExportParasolidOptionsKit.

◆ UnsetVersion()

ExportParasolidOptionsKit& HPS::Exchange::ExportParasolidOptionsKit::UnsetVersion ( )

Removes the version string setting.

Returns
A reference to this ExportParasolidOptionsKit.

Member Data Documentation

◆ staticType

const HPS::Type HPS::Exchange::ExportParasolidOptionsKit::staticType = HPS::Type::ExchangeExportParasolidOptionsKit
static

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