HPS.Exchange.NURBSConversionOptionsKit Class Reference

The HPS.Exchange.NURBSConversionOptionsKit class is a user space object. It contains settings controlling how data is converted to NURBS curves and surfaces during import. More...

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

Public Member Functions

override void Dispose ()
 
override bool Empty ()
 Indicates whether this NURBSConversionOptionsKit has any values set on it. More...
 
override bool Equals (System.Object obj)
 
bool Equals (HPS.Exchange.NURBSConversionOptionsKit in_kit)
 Check if the source NURBSConversionOptionsKit is equivalent to this NURBSConversionOptionsKit. More...
 
override int GetHashCode ()
 
 NURBSConversionOptionsKit ()
 The default constructor creates an empty NURBSConversionOptionsKit object. More...
 
 NURBSConversionOptionsKit (HPS.Exchange.NURBSConversionOptionsKit in_kit)
 The copy constructor creates a new NURBSConversionOptionsKit object that contains the same settings as the source NURBSConversionOptionsKit. More...
 
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.NURBSConversionOptionsKit in_kit)
 Copies the source NURBSConversionOptionsKit into this NURBSConversionOptionsKit. More...
 
HPS.Exchange.NURBSConversionOptionsKit Set3DCurvesComputation (bool in_state)
 Sets whether to compute 3D curves from BRep data. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bForceCompute3D. More...
 
HPS.Exchange.NURBSConversionOptionsKit SetAllowedCurves (HPS.Exchange.CurveType[] in_allowed_curves)
 Sets a list of curves types which are allowed in the resulting conversion This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_puiAcceptableCurves. The array passed to this function will be sorted. More...
 
HPS.Exchange.NURBSConversionOptionsKit SetAllowedSurfaces (HPS.Exchange.SurfaceType[] in_allowed_surfaces)
 Sets a list of surface types which are allowed in the resulting conversion This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_puiAcceptableSurfaces. The array passed to this function will be sorted. More...
 
HPS.Exchange.NURBSConversionOptionsKit SetClosedSurfaceSplitting (bool in_state)
 Sets whether to split closed surfaces. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bSplitClosedSurfaces. More...
 
HPS.Exchange.NURBSConversionOptionsKit SetCrossSeamCurveReplacement (bool in_state)
 Sets whether to replace UV curves which cross seams of periodic surfaces with 3D curves. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bDeleteCrossingUV. More...
 
HPS.Exchange.NURBSConversionOptionsKit SetParameterization (bool in_state)
 Sets whether to keep or recompute the parametrization of surfaces This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bUseSameParam. More...
 
HPS.Exchange.NURBSConversionOptionsKit SetPeriodicSurfaceSplitting (bool in_state)
 Sets whether to split periodic surfaces. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bSplitFaces. More...
 
HPS.Exchange.NURBSConversionOptionsKit SetTolerance (double in_tolerance)
 Sets the tolerance for the conversion. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_dTol. More...
 
HPS.Exchange.NURBSConversionOptionsKit SetUVCurvesComputation (bool in_state, bool in_allow_cross_seam_curves)
 Sets whether to compute UV curves from BRep data. More...
 
void Show (out HPS.Exchange.NURBSConversionOptionsKit out_kit)
 Copies this NURBSConversionOptionsKit into the given NURBSConversionOptionsKit. More...
 
bool Show3DCurvesComputation (out bool out_state)
 Shows the 3D curve computation conversion setting. More...
 
bool ShowAllowedCurves (out HPS.Exchange.CurveType[] out_allowed_curves)
 Shows the allowed curves conversion setting. More...
 
bool ShowAllowedSurfaces (out HPS.Exchange.SurfaceType[] out_allowed_surfaces)
 Shows the allowed surfaces conversion setting. More...
 
bool ShowClosedSurfaceSplitting (out bool out_state)
 Shows the surface splitting conversion setting. More...
 
bool ShowCrossSeamCurveReplacement (out bool out_state)
 Shows the cross seam curve replacement conversion setting. More...
 
bool ShowParameterization (out bool out_state)
 Shows the parameterization conversion setting. More...
 
bool ShowPeriodicSurfaceSplitting (out bool out_state)
 Shows the periodic surface splitting conversion setting. More...
 
bool ShowTolerance (out double out_tolerance)
 Shows the tolerance conversion setting. More...
 
bool ShowUVCurvesComputation (out bool out_state, out bool out_allow_cross_seam_curves)
 Shows the UV curve computation conversion setting. More...
 
HPS.Exchange.NURBSConversionOptionsKit Unset3DCurvesComputation ()
 Removes the 3D curves computation conversion state. More...
 
HPS.Exchange.NURBSConversionOptionsKit UnsetAllowedCurves ()
 Removes the allowed curves conversion state. More...
 
HPS.Exchange.NURBSConversionOptionsKit UnsetAllowedSurfaces ()
 Removes the allowed surfaces conversion state. More...
 
HPS.Exchange.NURBSConversionOptionsKit UnsetClosedSurfaceSplitting ()
 Removes the surface splitting conversion state. More...
 
HPS.Exchange.NURBSConversionOptionsKit UnsetCrossSeamCurveReplacement ()
 Removes the cross seam replacement conversion state. More...
 
HPS.Exchange.NURBSConversionOptionsKit UnsetEverything ()
 Removes all settings. More...
 
HPS.Exchange.NURBSConversionOptionsKit UnsetParameterization ()
 Removes the parameterization conversion state. More...
 
HPS.Exchange.NURBSConversionOptionsKit UnsetPeriodicSurfaceSplitting ()
 Removes the periodic surface splitting conversion state. More...
 
HPS.Exchange.NURBSConversionOptionsKit UnsetTolerance ()
 Removes the tolerance conversion state. More...
 
HPS.Exchange.NURBSConversionOptionsKit UnsetUVCurvesComputation ()
 Removes the UV curves computation conversion state. 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. 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.NURBSConversionOptionsKit 
GetDefault ()
 Creates a NURBSConversionOptionsKit 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. More...
 
static bool operator!= (HPS.Exchange.NURBSConversionOptionsKit a, HPS.Exchange.NURBSConversionOptionsKit b)
 
static bool operator== (HPS.Exchange.NURBSConversionOptionsKit a, HPS.Exchange.NURBSConversionOptionsKit 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

- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The HPS.Exchange.NURBSConversionOptionsKit class is a user space object. It contains settings controlling how data is converted to NURBS curves and surfaces during import.

Constructor & Destructor Documentation

HPS.Exchange.NURBSConversionOptionsKit.NURBSConversionOptionsKit ( )
inline

The default constructor creates an empty NURBSConversionOptionsKit object.

HPS.Exchange.NURBSConversionOptionsKit.NURBSConversionOptionsKit ( HPS.Exchange.NURBSConversionOptionsKit  in_kit)
inline

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

Parameters
in_kitThe source NURBSConversionOptionsKit to copy.

Member Function Documentation

override bool HPS.Exchange.NURBSConversionOptionsKit.Empty ( )
inlinevirtual

Indicates whether this NURBSConversionOptionsKit has any values set on it.

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

Reimplemented from HPS.Object.

bool HPS.Exchange.NURBSConversionOptionsKit.Equals ( HPS.Exchange.NURBSConversionOptionsKit  in_kit)
inline

Check if the source NURBSConversionOptionsKit is equivalent to this NURBSConversionOptionsKit.

Parameters
in_kitThe source NURBSConversionOptionsKit to compare to this NURBSConversionOptionsKit.
Returns
true if the objects are equivalent, false otherwise.
static HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.GetDefault ( )
inlinestatic

Creates a NURBSConversionOptionsKit 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.

Returns
A NURBSConversionOptionsKit with the default settings.
override HPS.Type HPS.Exchange.NURBSConversionOptionsKit.ObjectType ( )
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 HPS.Object.

void HPS.Exchange.NURBSConversionOptionsKit.Set ( HPS.Exchange.NURBSConversionOptionsKit  in_kit)
inline

Copies the source NURBSConversionOptionsKit into this NURBSConversionOptionsKit.

Parameters
in_kitThe source NURBSConversionOptionsKit to copy.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.Set3DCurvesComputation ( bool  in_state)
inline

Sets whether to compute 3D curves from BRep data. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bForceCompute3D.

Parameters
in_stateWhether to compute 3D curves from BRep data.
Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.SetAllowedCurves ( HPS.Exchange.CurveType[]  in_allowed_curves)
inline

Sets a list of curves types which are allowed in the resulting conversion This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_puiAcceptableCurves. The array passed to this function will be sorted.

Parameters
in_allowed_curvesAn array of curves which the conversion can produce.
Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.SetAllowedSurfaces ( HPS.Exchange.SurfaceType[]  in_allowed_surfaces)
inline

Sets a list of surface types which are allowed in the resulting conversion This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_puiAcceptableSurfaces. The array passed to this function will be sorted.

Parameters
in_allowed_surfacesAn array of surfaces which the conversion can produce.
Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.SetClosedSurfaceSplitting ( bool  in_state)
inline

Sets whether to split closed surfaces. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bSplitClosedSurfaces.

Parameters
in_stateWhether to split closed surfaces into faces at the parametric seam and mid-parameter.
Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.SetCrossSeamCurveReplacement ( bool  in_state)
inline

Sets whether to replace UV curves which cross seams of periodic surfaces with 3D curves. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bDeleteCrossingUV.

Parameters
in_stateWhether to replace UV curves which cross seams of periodic surfaces.
Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.SetParameterization ( bool  in_state)
inline

Sets whether to keep or recompute the parametrization of surfaces This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bUseSameParam.

Parameters
in_stateIf true, the parametrization information for surfaces will be retained, otherwise it will be recalculated.
Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.SetPeriodicSurfaceSplitting ( bool  in_state)
inline

Sets whether to split periodic surfaces. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bSplitFaces.

Parameters
in_stateWhether to split periodic surfaces on parametric seams.
Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.SetTolerance ( double  in_tolerance)
inline

Sets the tolerance for the conversion. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_dTol.

Parameters
in_toleranceThe tolerance of the resulting BRep data. The value is relative to the scale of the model.
Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.SetUVCurvesComputation ( bool  in_state,
bool  in_allow_cross_seam_curves 
)
inline

Sets whether to compute UV curves from BRep data.

Parameters
in_stateWhether to compute UV curves from BRep data. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bForceComputeUV.
in_allow_cross_seam_curvesWhether to allow UV curves to cross seams. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bAllowUVCrossingSeams.
Returns
A reference to this NURBSConversionOptionsKit.
void HPS.Exchange.NURBSConversionOptionsKit.Show ( out HPS.Exchange.NURBSConversionOptionsKit  out_kit)
inline

Copies this NURBSConversionOptionsKit into the given NURBSConversionOptionsKit.

Parameters
out_kitThe NURBSConversionOptionsKit to populate with the contents of this NURBSConversionOptionsKit.
bool HPS.Exchange.NURBSConversionOptionsKit.Show3DCurvesComputation ( out bool  out_state)
inline

Shows the 3D curve computation conversion setting.

Parameters
out_stateWhether 3D curves will be computed by the conversion
Returns
true if a 3D curve computation conversion setting was specified, false otherwise.
bool HPS.Exchange.NURBSConversionOptionsKit.ShowAllowedCurves ( out HPS.Exchange.CurveType[]  out_allowed_curves)
inline

Shows the allowed curves conversion setting.

Parameters
out_allowed_curvesThe types of curves the conversion is allowed to produce.
Returns
true if an allowed curves conversion setting was specified, false otherwise.
bool HPS.Exchange.NURBSConversionOptionsKit.ShowAllowedSurfaces ( out HPS.Exchange.SurfaceType[]  out_allowed_surfaces)
inline

Shows the allowed surfaces conversion setting.

Parameters
out_allowed_surfacesThe types of surfaces the conversion is allowed to produce.
Returns
true if an allowed surfaces conversion setting was specified, false otherwise.
bool HPS.Exchange.NURBSConversionOptionsKit.ShowClosedSurfaceSplitting ( out bool  out_state)
inline

Shows the surface splitting conversion setting.

Parameters
out_stateWhether surfaces will be split by the conversion
Returns
true if a surface splitting conversion setting was specified, false otherwise.
bool HPS.Exchange.NURBSConversionOptionsKit.ShowCrossSeamCurveReplacement ( out bool  out_state)
inline

Shows the cross seam curve replacement conversion setting.

Parameters
out_stateWhether cross seam curves are going to be replaced by the conversion
Returns
true if a cross seam replacement conversion setting was specified, false otherwise.
bool HPS.Exchange.NURBSConversionOptionsKit.ShowParameterization ( out bool  out_state)
inline

Shows the parameterization conversion setting.

Parameters
out_stateWhether existing parameterization will be maintained by the conversion
Returns
true if a parameterization conversion setting was specified, false otherwise.
bool HPS.Exchange.NURBSConversionOptionsKit.ShowPeriodicSurfaceSplitting ( out bool  out_state)
inline

Shows the periodic surface splitting conversion setting.

Parameters
out_stateWhether periodic surfaces will be split by the conversion
Returns
true if a face splitting conversion setting was specified, false otherwise.
bool HPS.Exchange.NURBSConversionOptionsKit.ShowTolerance ( out double  out_tolerance)
inline

Shows the tolerance conversion setting.

Parameters
out_toleranceThe tolerance that will be used for the conversion
Returns
true if a tolerance conversion setting was specified, false otherwise.
bool HPS.Exchange.NURBSConversionOptionsKit.ShowUVCurvesComputation ( out bool  out_state,
out bool  out_allow_cross_seam_curves 
)
inline

Shows the UV curve computation conversion setting.

Parameters
out_stateWhether UV curves will be computed by the conversion
out_allow_cross_seam_curvesWhether UV curves will be allowed to cross seams
Returns
true if a UV curve computation conversion setting was specified, false otherwise.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.Unset3DCurvesComputation ( )
inline

Removes the 3D curves computation conversion state.

Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.UnsetAllowedCurves ( )
inline

Removes the allowed curves conversion state.

Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.UnsetAllowedSurfaces ( )
inline

Removes the allowed surfaces conversion state.

Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.UnsetClosedSurfaceSplitting ( )
inline

Removes the surface splitting conversion state.

Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.UnsetCrossSeamCurveReplacement ( )
inline

Removes the cross seam replacement conversion state.

Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.UnsetEverything ( )
inline

Removes all settings.

Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.UnsetParameterization ( )
inline

Removes the parameterization conversion state.

Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.UnsetPeriodicSurfaceSplitting ( )
inline

Removes the periodic surface splitting conversion state.

Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.UnsetTolerance ( )
inline

Removes the tolerance conversion state.

Returns
A reference to this NURBSConversionOptionsKit.
HPS.Exchange.NURBSConversionOptionsKit HPS.Exchange.NURBSConversionOptionsKit.UnsetUVCurvesComputation ( )
inline

Removes the UV curves computation conversion state.

Returns
A reference to this NURBSConversionOptionsKit.

The documentation for this class was generated from the following file:
  • internals/hps_sprk_exchange/source/cs/HPS.Exchange.cs