< Home

< Table of Contents

REFERENCE MANUAL

HPS.Exchange.ExportPRCOptionsKit Class Reference

The Exchange::ExportPRCOptionsKit class is a user space object. More...

Inheritance diagram for HPS.Exchange.ExportPRCOptionsKit:
HPS.Sprocket HPS.Object

Public Member Functions

override void Dispose ()
 
override bool Empty ()
 Indicates whether this ExportPRCOptionsKit has any values set on it. More...
 
override bool Equals (System.Object obj)
 
bool Equals (HPS.Exchange.ExportPRCOptionsKit in_kit)
 Check if the source ExportPRCOptionsKit is equivalent to this ExportPRCOptionsKit. More...
 
 ExportPRCOptionsKit ()
 The default constructor creates an empty ExportPRCOptionsKit object. More...
 
 ExportPRCOptionsKit (HPS.Exchange.ExportPRCOptionsKit in_kit)
 The copy constructor creates a new ExportPRCOptionsKit object that contains the same settings as the source ExportPRCOptionsKit. More...
 
override int GetHashCode ()
 
override HPS.Type ObjectType ()
 This function returns the type the object, as declared. More...
 
void Set (HPS.Exchange.ExportPRCOptionsKit in_kit)
 Copies the source ExportPRCOptionsKit into this ExportPRCOptionsKit. More...
 
HPS.Exchange.ExportPRCOptionsKit SetAttributeRemoval (bool in_state)
 Sets whether to remove the attribute information for export. More...
 
HPS.Exchange.ExportPRCOptionsKit SetBRepCompression (HPS.Exchange.PRC.BRepCompression in_level)
 Sets the level of compression to apply to BRep data for export. More...
 
HPS.Exchange.ExportPRCOptionsKit SetBRepRemoval (bool in_state)
 Sets whether to remove the BRep information for export. More...
 
HPS.Exchange.ExportPRCOptionsKit SetTessellationCompression (bool in_state)
 Sets whether to compress tessellation for export. More...
 
void Show (out HPS.Exchange.ExportPRCOptionsKit out_kit)
 Copies this ExportPRCOptionsKit into the given ExportPRCOptionsKit. More...
 
bool ShowAttributeRemoval (out bool out_state)
 Shows the attribute removal setting. More...
 
bool ShowBRepCompression (out HPS.Exchange.PRC.BRepCompression out_level)
 Shows the BRep compression level setting. More...
 
bool ShowBRepRemoval (out bool out_state)
 Shows the BRep removal setting. More...
 
bool ShowTessellationCompression (out bool out_state)
 Shows the tessellation compression setting. More...
 
HPS.Exchange.ExportPRCOptionsKit UnsetAttributeRemoval ()
 Removes the attribute removal setting. More...
 
HPS.Exchange.ExportPRCOptionsKit UnsetBRepCompression ()
 Removes the BRep compression level setting. More...
 
HPS.Exchange.ExportPRCOptionsKit UnsetBRepRemoval ()
 Removes the BRep removal setting. More...
 
HPS.Exchange.ExportPRCOptionsKit UnsetEverything ()
 Removes all settings from this ExportPRCOptionsKit. More...
 
HPS.Exchange.ExportPRCOptionsKit UnsetTessellationCompression ()
 Removes the tessellation compression setting. More...
 
- Public Member Functions inherited from HPS.Sprocket
 Sprocket (HPS.Sprocket in_that)
 
- Public Member Functions inherited from HPS.Object
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 Returns an identifier that can be used to identify which instance of a class an object is. More...
 
bool HasType (HPS.Type in_mask)
 This function indicates whether this Object has the given Type mask. More...
 
 Object (HPS.Object in_that)
 The move constructor creates an Object by transferring the underlying impl of the rvalue reference to this Object thereby avoiding a copy and allocation. More...
 
virtual void Reset ()
 Resets this object to its initial, uninitialized state. More...
 
HPS.Type Type ()
 This function returns the true type of the underlying object. More...
 

Static Public Member Functions

static
HPS.Exchange.ExportPRCOptionsKit 
GetDefault ()
 Creates an ExportPRCOptionsKit which contains the default settings. More...
 
static bool operator!= (HPS.Exchange.ExportPRCOptionsKit a, HPS.Exchange.ExportPRCOptionsKit b)
 
static bool operator== (HPS.Exchange.ExportPRCOptionsKit a, HPS.Exchange.ExportPRCOptionsKit b)
 
- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Public Types inherited from HPS.Sprocket
enum  UpdateType { Synchronous = 0, Asynchronous = 1 }
 
- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 
HandleRef scptr
 

Detailed Description

The Exchange::ExportPRCOptionsKit class is a user space object.

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

Constructor & Destructor Documentation

HPS.Exchange.ExportPRCOptionsKit.ExportPRCOptionsKit ( )

The default constructor creates an empty ExportPRCOptionsKit object.

HPS.Exchange.ExportPRCOptionsKit.ExportPRCOptionsKit ( HPS.Exchange.ExportPRCOptionsKit  in_kit)

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

Parameters
in_kitThe source <ref refid="class_h_p_s_1_1_exchange_1_1_export_p_r_c_options_kit" kindref="compound">ExportPRCOptionsKit</ref> to copy.

Member Function Documentation

override bool HPS.Exchange.ExportPRCOptionsKit.Empty ( )
virtual

Indicates whether this ExportPRCOptionsKit has any values set on it.

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

Reimplemented from HPS.Object.

bool HPS.Exchange.ExportPRCOptionsKit.Equals ( HPS.Exchange.ExportPRCOptionsKit  in_kit)

Check if the source ExportPRCOptionsKit is equivalent to this ExportPRCOptionsKit.

Parameters
in_kitThe source <ref refid="class_h_p_s_1_1_exchange_1_1_export_p_r_c_options_kit" kindref="compound">ExportPRCOptionsKit</ref> to compare to this <ref refid="class_h_p_s_1_1_exchange_1_1_export_p_r_c_options_kit" kindref="compound">ExportPRCOptionsKit</ref>.
Returns
true if the objects are equivalent, false otherwise.
static HPS.Exchange.ExportPRCOptionsKit HPS.Exchange.ExportPRCOptionsKit.GetDefault ( )
static

Creates an ExportPRCOptionsKit 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::ExportPRC.

Returns
An ExportPRCOptionsKit with the default settings.
override HPS.Type HPS.Exchange.ExportPRCOptionsKit.ObjectType ( )
virtual

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 HPS.Object.

void HPS.Exchange.ExportPRCOptionsKit.Set ( HPS.Exchange.ExportPRCOptionsKit  in_kit)

Copies the source ExportPRCOptionsKit into this ExportPRCOptionsKit.

Parameters
in_kitThe source <ref refid="class_h_p_s_1_1_exchange_1_1_export_p_r_c_options_kit" kindref="compound">ExportPRCOptionsKit</ref> to copy.
HPS.Exchange.ExportPRCOptionsKit HPS.Exchange.ExportPRCOptionsKit.SetAttributeRemoval ( bool  in_state)

Sets whether to remove the attribute information for export.

This corresponds to the value that will be passed to <ulink url="http://docs.techsoft3d.com/exchange/latest/exchange_ref_manual/struct_a3_d_r_w_params_export_prc_data.html#aa8435b8348b8d6f1c11f1bc15313ed47">A3DRWParamsExportPrcData::m_bRemoveAttributes</ulink>.

Parameters
in_stateWhether to remove the attribute information in the <ref refid="class_h_p_s_1_1_exchange_1_1_p_r_c" kindref="compound">PRC</ref> data for this annotation.
Returns
A reference to this AnnotationKit.

Default value

HPS.Exchange.ExportPRCOptionsKit HPS.Exchange.ExportPRCOptionsKit.SetBRepCompression ( HPS.Exchange.PRC.BRepCompression  in_level)

Sets the level of compression to apply to BRep data for export.

This corresponds to the values that will be passed to <ulink url="http://docs.techsoft3d.com/exchange/latest/exchange_ref_manual/struct_a3_d_r_w_params_export_prc_data.html#afbbe41721d6878768a624ea8d0894531">A3DRWParamsExportPrcData::m_bCompressBrep</ulink> and <ulink url="http://docs.techsoft3d.com/exchange/latest/exchange_ref_manual/struct_a3_d_r_w_params_export_prc_data.html#afd35a9e2bea37b388227b76e14f49daa">A3DRWParamsExportPrcData::m_eCompressBrepType</ulink>.

Parameters
in_levelThe level of compression to apply to BRep data for export.
Returns
A reference to this ExportPRCOptionsKit.

Default value

HPS.Exchange.ExportPRCOptionsKit HPS.Exchange.ExportPRCOptionsKit.SetBRepRemoval ( bool  in_state)

Sets whether to remove the BRep information for export.

This corresponds to the value that will be passed to <ulink url="http://docs.techsoft3d.com/exchange/latest/exchange_ref_manual/struct_a3_d_r_w_params_export_prc_data.html#a7a61340a38925e02b30cb67f39b1fcd4">A3DRWParamsExportPrcData::m_bRemoveBRep</ulink>.

Parameters
in_stateWhether to remove BRep information in the <ref refid="class_h_p_s_1_1_exchange_1_1_p_r_c" kindref="compound">PRC</ref> data for this annotation.
Returns
A reference to this AnnotationKit.

Default value

HPS.Exchange.ExportPRCOptionsKit HPS.Exchange.ExportPRCOptionsKit.SetTessellationCompression ( bool  in_state)

Sets whether to compress tessellation for export.

This corresponds to the value that will be passed to <ulink url="http://docs.techsoft3d.com/exchange/latest/exchange_ref_manual/struct_a3_d_r_w_params_export_prc_data.html#ae1cf4104a5eda56ce958e94ee1c1c42c">A3DRWParamsExportPrcData::m_bCompressTessellation</ulink>.

Parameters
in_stateWhether to compress tessellation for export.
Returns
A reference to this ExportPRCOptionsKit.

Default value

void HPS.Exchange.ExportPRCOptionsKit.Show ( out HPS.Exchange.ExportPRCOptionsKit  out_kit)

Copies this ExportPRCOptionsKit into the given ExportPRCOptionsKit.

Parameters
out_kitThe <ref refid="class_h_p_s_1_1_exchange_1_1_export_p_r_c_options_kit" kindref="compound">ExportPRCOptionsKit</ref> to populate with the contents of this <ref refid="class_h_p_s_1_1_exchange_1_1_export_p_r_c_options_kit" kindref="compound">ExportPRCOptionsKit</ref>.
bool HPS.Exchange.ExportPRCOptionsKit.ShowAttributeRemoval ( out bool  out_state)

Shows the attribute removal setting.

Parameters
out_stateWhether to remove attribute information for export.
Returns
true if an attribute removal setting was specified, false otherwise.
bool HPS.Exchange.ExportPRCOptionsKit.ShowBRepCompression ( out HPS.Exchange.PRC.BRepCompression  out_level)

Shows the BRep compression level setting.

Parameters
out_levelThe level of compression to apply to BRep data for export.
Returns
true if a BRep compression level setting was specified, false otherwise.
bool HPS.Exchange.ExportPRCOptionsKit.ShowBRepRemoval ( out bool  out_state)

Shows the BRep removal setting.

Parameters
out_stateWhether to remove BRep information for export.
Returns
true if a BRep removal setting was specified, false otherwise.
bool HPS.Exchange.ExportPRCOptionsKit.ShowTessellationCompression ( out bool  out_state)

Shows the tessellation compression setting.

Parameters
out_stateWhether to compress tessellation for export.
Returns
true if a tessellation compression setting was specified, false otherwise.
HPS.Exchange.ExportPRCOptionsKit HPS.Exchange.ExportPRCOptionsKit.UnsetAttributeRemoval ( )

Removes the attribute removal setting.

Returns
A reference to this ExportPRCOptionsKit.
HPS.Exchange.ExportPRCOptionsKit HPS.Exchange.ExportPRCOptionsKit.UnsetBRepCompression ( )

Removes the BRep compression level setting.

Returns
A reference to this ExportPRCOptionsKit.
HPS.Exchange.ExportPRCOptionsKit HPS.Exchange.ExportPRCOptionsKit.UnsetBRepRemoval ( )

Removes the BRep removal setting.

Returns
A reference to this ExportPRCOptionsKit.
HPS.Exchange.ExportPRCOptionsKit HPS.Exchange.ExportPRCOptionsKit.UnsetEverything ( )

Removes all settings from this ExportPRCOptionsKit.

Returns
A reference to this ExportPRCOptionsKit.
HPS.Exchange.ExportPRCOptionsKit HPS.Exchange.ExportPRCOptionsKit.UnsetTessellationCompression ( )

Removes the tessellation compression setting.

Returns
A reference to this ExportPRCOptionsKit.

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