The TessellationOptionsKit class is a user space object. It contains settings controlling how STL data is exported via Exchange. More...
Public Member Functions | |
override void | Dispose () |
override bool | Empty () |
Indicates whether this TessellationOptionsKit has any values set on it. More... | |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.Exchange.TessellationOptionsKit in_kit) |
Check if the source TessellationOptionsKit is equivalent to this TessellationOptionsKit. More... | |
override int | GetHashCode () |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More... | |
void | Set (HPS.Exchange.TessellationOptionsKit in_kit) |
Copies the source TessellationOptionsKit into this TessellationOptionsKit. More... | |
HPS.Exchange.TessellationOptionsKit | SetAccuracy (HPS.Exchange.Tessellation.Accuracy in_type, bool in_accurate_normals) |
Sets the accuracy of the tessellation that will be generated for BRep data. More... | |
HPS.Exchange.TessellationOptionsKit | SetAccuracy (HPS.Exchange.Tessellation.Accuracy in_type) |
Sets the accuracy of the tessellation that will be generated for BRep data. More... | |
HPS.Exchange.TessellationOptionsKit | SetLevel (HPS.Exchange.Tessellation.Level in_level) |
Sets the predefined quality of the tessellation that will be generated for BRep data. This corresponds to the value that will be passed to <ulink url="http://docs.techsoft3d.com/exchange/latest/build/api_ref/struct_a3_d_r_w_params_tessellation_data.html#a7949f7f08c25a321ce73843676072eb1">A3DRWParamsTessellationData::m_eTessellationLevelOfDetail</ulink>. More... | |
HPS.Exchange.TessellationOptionsKit | SetLevel (HPS.Exchange.Tessellation.Chord.Limit in_limit_type, double in_limit, double in_angle_tolerance) |
Sets the user defined quality of the tessellation that will be generated for BRep data. This implicitly sets <ulink url="http://docs.techsoft3d.com/exchange/latest/build/api_ref/struct_a3_d_r_w_params_tessellation_data.html#a7949f7f08c25a321ce73843676072eb1">A3DRWParamsTessellationData::m_eTessellationLevel</ulink> to <ulink url="http://docs.techsoft3d.com/exchange/latest/build/api_ref/group__a3d__read.html#ggac1fe96a5b9772683a41182babe1559f4ab5aec16efd29ca9df5969341c5c0a245">kA3DTessLODUserDefined</ulink>. More... | |
HPS.Exchange.TessellationOptionsKit | SetMaximumEdgeLength (double in_length) |
Sets the maximum length of triangle edges in the tessellation generated for BRep data. This corresponds to the value that will be passed to <ulink url="http://docs.techsoft3d.com/exchange/latest/build/api_ref/struct_a3_d_r_w_params_tessellation_data.html#a124a4c06b502d452312a70c1cd92eb09">A3DRWParamsTessellationData::m_dMaximalTriangleEdgeLength</ulink>. More... | |
HPS.Exchange.TessellationOptionsKit | SetUVPointPreservation (bool in_state) |
Sets whether to keep parametric points as texture coordinates when generating the tessellation for BRep data. This corresponds to the value that will be passed to <ulink url="http://docs.techsoft3d.com/exchange/latest/build/api_ref/struct_a3_d_r_w_params_tessellation_data.html#a13ff3862be1e4ff11a00fcf6c9373e29">A3DRWParamsTessellationData::m_bKeepUVPoints</ulink>. More... | |
void | Show (out HPS.Exchange.TessellationOptionsKit out_kit) |
Copies this TessellationOptionsKit into the given TessellationOptionsKit. More... | |
bool | ShowAccuracy (out HPS.Exchange.Tessellation.Accuracy out_type, out bool out_accurate_normals) |
Shows the accuracy setting. More... | |
bool | ShowLevel (out HPS.Exchange.Tessellation.Type out_type, out HPS.Exchange.Tessellation.Level out_level, out HPS.Exchange.Tessellation.Chord.Limit out_limit_type, out double out_limit, out double out_angle_tolerance) |
Shows the level setting. More... | |
bool | ShowMaximumEdgeLength (out double out_length) |
Shows the maximum edge length setting. More... | |
bool | ShowUVPointPreservation (out bool out_state) |
Shows the UV preservation setting. More... | |
TessellationOptionsKit () | |
The default constructor creates an empty TessellationOptionsKit object. More... | |
TessellationOptionsKit (HPS.Exchange.TessellationOptionsKit in_kit) | |
The copy constructor creates a new TessellationOptionsKit object that contains the same settings as the source TessellationOptionsKit. More... | |
HPS.Exchange.TessellationOptionsKit | UnsetAccuracy () |
Removes the accuracy setting. More... | |
HPS.Exchange.TessellationOptionsKit | UnsetEverything () |
Removes all settings from this TessellationOptionsKit. More... | |
HPS.Exchange.TessellationOptionsKit | UnsetLevel () |
Removes the level setting. More... | |
HPS.Exchange.TessellationOptionsKit | UnsetMaximumEdgeLength () |
Removes the maximum edge length setting. More... | |
HPS.Exchange.TessellationOptionsKit | UnsetUVPointPreservation () |
Removes the UV preservation setting. More... | |
![]() | |
Sprocket (HPS.Sprocket in_that) | |
![]() | |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
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. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object that) | |
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. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More... | |
Static Public Member Functions | |
static HPS.Exchange.TessellationOptionsKit | GetDefault () |
Creates an TessellationOptionsKit 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::Tessellation. More... | |
static bool | operator!= (HPS.Exchange.TessellationOptionsKit a, HPS.Exchange.TessellationOptionsKit b) |
static bool | operator== (HPS.Exchange.TessellationOptionsKit a, HPS.Exchange.TessellationOptionsKit b) |
![]() | |
static IntPtr | ClassID< T > () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
HandleRef | scptr |
The TessellationOptionsKit class is a user space object. It contains settings controlling how STL data is exported via Exchange.
|
inline |
The default constructor creates an empty TessellationOptionsKit object.
|
inline |
The copy constructor creates a new TessellationOptionsKit object that contains the same settings as the source TessellationOptionsKit.
in_kit | The source TessellationOptionsKit to copy. |
|
inlinevirtual |
Indicates whether this TessellationOptionsKit has any values set on it.
Reimplemented from HPS.Object.
|
inline |
Check if the source TessellationOptionsKit is equivalent to this TessellationOptionsKit.
in_kit | The source TessellationOptionsKit to compare to this TessellationOptionsKit. |
|
inlinestatic |
Creates an TessellationOptionsKit 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::Tessellation.
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from HPS.Object.
|
inline |
Copies the source TessellationOptionsKit into this TessellationOptionsKit.
in_kit | The source TessellationOptionsKit to copy. |
|
inline |
Sets the accuracy of the tessellation that will be generated for BRep data.
in_type | The accuracy to use for tessellation generation. |
in_accurate_normals | Whether to compute surface normals when performing accurate tessellation. This only applies if in_type is set to Tessellation::Accuracy::Accurate. This correspond to the (negated) value that will be passed to A3DRWParamsTessellationData::m_bDoNotComputeNormalsInAccurateTessellation. |
|
inline |
Sets the accuracy of the tessellation that will be generated for BRep data.
in_type | The accuracy to use for tessellation generation. |
|
inline |
Sets the predefined quality of the tessellation that will be generated for BRep data. This corresponds to the value that will be passed to <ulink url="http://docs.techsoft3d.com/exchange/latest/build/api_ref/struct_a3_d_r_w_params_tessellation_data.html#a7949f7f08c25a321ce73843676072eb1">A3DRWParamsTessellationData::m_eTessellationLevelOfDetail</ulink>.
in_level | The predefined quality of the tessellation that will be generated for BRep data. |
|
inline |
Sets the user defined quality of the tessellation that will be generated for BRep data. This implicitly sets <ulink url="http://docs.techsoft3d.com/exchange/latest/build/api_ref/struct_a3_d_r_w_params_tessellation_data.html#a7949f7f08c25a321ce73843676072eb1">A3DRWParamsTessellationData::m_eTessellationLevel</ulink> to <ulink url="http://docs.techsoft3d.com/exchange/latest/build/api_ref/group__a3d__read.html#ggac1fe96a5b9772683a41182babe1559f4ab5aec16efd29ca9df5969341c5c0a245">kA3DTessLODUserDefined</ulink>.
in_limit_type | The type of the chord limit to be specified. |
in_limit | Either the ratio of the tessellation chord height to the bounding box height which should be in the range [50, 10000], or the maximum distance between the surface definition and the tessellation approximation, depending on the preceding argument. |
in_angle_tolerance | The maximum angle in degrees between two consecutive wire elements in the generated tessellation which should be in the range [10, 40]. This corresponds to the value that will be passed to A3DRWParamsTessellationData::m_dAngleToleranceDeg. |
|
inline |
Sets the maximum length of triangle edges in the tessellation generated for BRep data. This corresponds to the value that will be passed to <ulink url="http://docs.techsoft3d.com/exchange/latest/build/api_ref/struct_a3_d_r_w_params_tessellation_data.html#a124a4c06b502d452312a70c1cd92eb09">A3DRWParamsTessellationData::m_dMaximalTriangleEdgeLength</ulink>.
in_length | The maximum length of triangle edges in the tessellation generated for BRep data. The value must be non-negative, and if set to 0.0, the length will not be used when generating the tessellation. |
|
inline |
Sets whether to keep parametric points as texture coordinates when generating the tessellation for BRep data. This corresponds to the value that will be passed to <ulink url="http://docs.techsoft3d.com/exchange/latest/build/api_ref/struct_a3_d_r_w_params_tessellation_data.html#a13ff3862be1e4ff11a00fcf6c9373e29">A3DRWParamsTessellationData::m_bKeepUVPoints</ulink>.
in_state | Whether to keep parametric points as texture coordinates when generating the tessellation for BRep data. |
|
inline |
Copies this TessellationOptionsKit into the given TessellationOptionsKit.
out_kit | The TessellationOptionsKit to populate with the contents of this TessellationOptionsKit. |
|
inline |
Shows the accuracy setting.
out_type | The type of the accuracy which was specified. |
out_accurate_normals | Whether to compute surface normals when performing accurate tessellation. This only applies if out_type is Tessellation::Accuracy::Accurate. |
|
inline |
Shows the level setting.
out_type | The type of the level setting which was specified. |
out_level | The predefined quality of the tessellation that will be generated for BRep data. This is only valid if out_type is Tessellation::Type::Standard. |
out_limit_type | The type of chord limit which was specified. This is only valid if out_type is Tessellation::Type::Custom. |
out_limit | The chord limit to use to generate tessellation for BRep data. Its interpretation depends on the preceding argument. This is only valid if out_type is Tessellation::Type::Custom. |
out_angle_tolerance | The maximum angle in degrees between two consecutive wire elements in the generated tessellation. This is only valid if out_type is Tessellation::Type::Custom. |
|
inline |
Shows the maximum edge length setting.
out_length | The maximum edge length setting. |
|
inline |
Shows the UV preservation setting.
out_state | Whether to keep parametric points as texture coordinates when generating the tessellation for BRep data. |
|
inline |
Removes the accuracy setting.
|
inline |
Removes all settings from this TessellationOptionsKit.
|
inline |
Removes the level setting.
|
inline |
Removes the maximum edge length setting.
|
inline |
Removes the UV preservation setting.