The HPS::Exchange::NURBSConversionOptionsKit class is a user space object. More...
#include <sprk_exchange.h>
Public Member Functions | |
NURBSConversionOptionsKit () | |
The default constructor creates an empty NURBSConversionOptionsKit object. More... | |
NURBSConversionOptionsKit (NURBSConversionOptionsKit const &in_kit) | |
The copy constructor creates a new NURBSConversionOptionsKit object that contains the same settings as the source NURBSConversionOptionsKit. More... | |
NURBSConversionOptionsKit (NURBSConversionOptionsKit &&in_that) | |
The move constructor creates an NURBSConversionOptionsKit by transferring the underlying impl of the rvalue reference to this NURBSConversionOptionsKit thereby avoiding a copy and allocation. More... | |
NURBSConversionOptionsKit & | operator= (NURBSConversionOptionsKit &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this NURBSConversionOptionsKit thereby avoiding a copy. More... | |
virtual | ~NURBSConversionOptionsKit () |
HPS::Type | ObjectType () const |
void | Set (NURBSConversionOptionsKit const &in_kit) |
Copies the source NURBSConversionOptionsKit into this NURBSConversionOptionsKit. More... | |
void | Show (NURBSConversionOptionsKit &out_kit) const |
Copies this NURBSConversionOptionsKit into the given NURBSConversionOptionsKit. More... | |
NURBSConversionOptionsKit & | operator= (NURBSConversionOptionsKit const &in_kit) |
Copies the source NURBSConversionOptionsKit into this NURBSConversionOptionsKit. More... | |
bool | Empty () const |
Indicates whether this NURBSConversionOptionsKit has any values set on it. More... | |
bool | Equals (NURBSConversionOptionsKit const &in_kit) const |
Check if the source NURBSConversionOptionsKit is equivalent to this NURBSConversionOptionsKit. More... | |
bool | operator== (NURBSConversionOptionsKit const &in_kit) const |
Check if the source NURBSConversionOptionsKit is equivalent to this NURBSConversionOptionsKit. More... | |
bool | operator!= (NURBSConversionOptionsKit const &in_kit) const |
Check if the source NURBSConversionOptionsKit is not equivalent to this NURBSConversionOptionsKit. More... | |
NURBSConversionOptionsKit & | SetCrossSeamCurveReplacement (bool in_state) |
Sets whether to replace UV curves which cross seams of periodic surfaces with 3D curves. More... | |
NURBSConversionOptionsKit & | Set3DCurvesComputation (bool in_state) |
Sets whether to compute 3D curves from BRep data. More... | |
NURBSConversionOptionsKit & | SetUVCurvesComputation (bool in_state, bool in_allow_cross_seam_curves) |
Sets whether to compute UV curves from BRep data. More... | |
NURBSConversionOptionsKit & | SetClosedFaceSplitting (bool in_state) |
Sets whether to split closed faces. More... | |
NURBSConversionOptionsKit & | SetPeriodicFaceSplitting (bool in_state) |
Sets whether to split periodic faces. More... | |
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... | |
NURBSConversionOptionsKit & | SetTolerance (double in_tolerance) |
Sets the tolerance for the conversion. More... | |
NURBSConversionOptionsKit & | SetAllowedSurfaces (SurfaceTypeArray const &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. More... | |
NURBSConversionOptionsKit & | SetAllowedSurfaces (size_t in_count, SurfaceType const 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. More... | |
NURBSConversionOptionsKit & | SetAllowedCurves (CurveTypeArray const &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. More... | |
NURBSConversionOptionsKit & | SetAllowedCurves (size_t in_count, CurveType const 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. More... | |
NURBSConversionOptionsKit & | UnsetCrossSeamCurveReplacement () |
Removes the cross seam replacement conversion state. More... | |
NURBSConversionOptionsKit & | Unset3DCurvesComputation () |
Removes the 3D curves computation conversion state. More... | |
NURBSConversionOptionsKit & | UnsetUVCurvesComputation () |
Removes the UV curves computation conversion state. More... | |
NURBSConversionOptionsKit & | UnsetClosedFaceSplitting () |
Removes the closed face splitting conversion state. More... | |
NURBSConversionOptionsKit & | UnsetPeriodicFaceSplitting () |
Removes the periodic face splitting conversion state. More... | |
NURBSConversionOptionsKit & | UnsetParameterization () |
Removes the parameterization conversion state. More... | |
NURBSConversionOptionsKit & | UnsetTolerance () |
Removes the tolerance conversion state. More... | |
NURBSConversionOptionsKit & | UnsetAllowedSurfaces () |
Removes the allowed surfaces conversion state. More... | |
NURBSConversionOptionsKit & | UnsetAllowedCurves () |
Removes the allowed curves conversion state. More... | |
NURBSConversionOptionsKit & | UnsetEverything () |
Removes all settings. More... | |
bool | ShowCrossSeamCurveReplacement (bool &out_state) const |
Shows the cross seam curve replacement conversion setting. More... | |
bool | Show3DCurvesComputation (bool &out_state) const |
Shows the 3D curve computation conversion setting. More... | |
bool | ShowUVCurvesComputation (bool &out_state, bool &out_allow_cross_seam_curves) const |
Shows the UV curve computation conversion setting. More... | |
bool | ShowClosedFaceSplitting (bool &out_state) const |
Shows the face splitting conversion setting. More... | |
bool | ShowPeriodicFaceSplitting (bool &out_state) const |
Shows the periodic face splitting conversion setting. More... | |
bool | ShowParameterization (bool &out_state) const |
Shows the parameterization conversion setting. More... | |
bool | ShowTolerance (double &out_tolerance) const |
Shows the tolerance conversion setting. More... | |
bool | ShowAllowedSurfaces (SurfaceTypeArray &out_allowed_surfaces) const |
Shows the allowed surfaces conversion setting. More... | |
bool | ShowAllowedCurves (CurveTypeArray &out_allowed_curves) const |
Shows the allowed curves conversion 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 NURBSConversionOptionsKit | GetDefault () |
Creates a NURBSConversionOptionsKit 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::ExchangeNURBSConversionOptionsKit |
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.
HPS::Exchange::NURBSConversionOptionsKit::NURBSConversionOptionsKit | ( | ) |
The default constructor creates an empty NURBSConversionOptionsKit object.
HPS::Exchange::NURBSConversionOptionsKit::NURBSConversionOptionsKit | ( | NURBSConversionOptionsKit const & | in_kit | ) |
The copy constructor creates a new NURBSConversionOptionsKit object that contains the same settings as the source NURBSConversionOptionsKit.
in_kit | The source NURBSConversionOptionsKit to copy. |
HPS::Exchange::NURBSConversionOptionsKit::NURBSConversionOptionsKit | ( | NURBSConversionOptionsKit && | in_that | ) |
The move constructor creates an NURBSConversionOptionsKit by transferring the underlying impl of the rvalue reference to this NURBSConversionOptionsKit thereby avoiding a copy and allocation.
in_that | An rvalue reference to an NURBSConversionOptionsKit to take the impl from. |
|
virtual |
|
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.
|
virtual |
Indicates whether this NURBSConversionOptionsKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::Exchange::NURBSConversionOptionsKit::Equals | ( | NURBSConversionOptionsKit const & | in_kit | ) | const |
Check if the source NURBSConversionOptionsKit is equivalent to this NURBSConversionOptionsKit.
in_kit | The source NURBSConversionOptionsKit to compare to this NURBSConversionOptionsKit. |
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
static |
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.
|
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.
|
inherited |
|
inlinevirtual |
bool HPS::Exchange::NURBSConversionOptionsKit::operator!= | ( | NURBSConversionOptionsKit const & | in_kit | ) | const |
Check if the source NURBSConversionOptionsKit is not equivalent to this NURBSConversionOptionsKit.
in_kit | The source NURBSConversionOptionsKit to compare to this NURBSConversionOptionsKit. |
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::operator= | ( | NURBSConversionOptionsKit && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this NURBSConversionOptionsKit thereby avoiding a copy.
in_that | An rvalue reference to an NURBSConversionOptionsKit to take the impl from. |
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::operator= | ( | NURBSConversionOptionsKit const & | in_kit | ) |
Copies the source NURBSConversionOptionsKit into this NURBSConversionOptionsKit.
in_kit | The source NURBSConversionOptionsKit to copy. |
bool HPS::Exchange::NURBSConversionOptionsKit::operator== | ( | NURBSConversionOptionsKit const & | in_kit | ) | const |
Check if the source NURBSConversionOptionsKit is equivalent to this NURBSConversionOptionsKit.
in_kit | The source NURBSConversionOptionsKit to compare to this NURBSConversionOptionsKit. |
|
virtualinherited |
Resets this object to its initial, uninitialized state.
Reimplemented in HPS::EventHandler, HPS::EventDispatcher, HPS::World, HPS::HighlightSearchResults, HPS::HighlightSearchResultsIterator, HPS::SelectionResults, HPS::SelectionResultsIterator, HPS::FontSearchResults, HPS::FontSearchResultsIterator, HPS::SearchResults, and HPS::SearchResultsIterator.
void HPS::Exchange::NURBSConversionOptionsKit::Set | ( | NURBSConversionOptionsKit const & | in_kit | ) |
Copies the source NURBSConversionOptionsKit into this NURBSConversionOptionsKit.
in_kit | The source NURBSConversionOptionsKit to copy. |
NURBSConversionOptionsKit& 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.
in_state | Whether to compute 3D curves from BRep data. |
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::SetAllowedCurves | ( | CurveTypeArray const & | 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.
in_allowed_curves | An array of curves which the conversion can produce. |
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::SetAllowedCurves | ( | size_t | in_count, |
CurveType const | 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.
in_count | The size of in_allowed_curves. |
in_allowed_curves | An array of curves which the conversion can produce. |
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::SetAllowedSurfaces | ( | SurfaceTypeArray const & | 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.
in_allowed_surfaces | An array of surfaces which the conversion can produce. |
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::SetAllowedSurfaces | ( | size_t | in_count, |
SurfaceType const | 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.
in_count | The size of in_allowed_surfaces. |
in_allowed_surfaces | An array of surfaces which the conversion can produce. |
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::SetClosedFaceSplitting | ( | bool | in_state | ) |
Sets whether to split closed faces.
This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bSplitClosedFaces.
in_state | Whether to split closed faces at the parametric seam and mid-parameter. |
NURBSConversionOptionsKit& 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.
in_state | Whether to replace UV curves which cross seams of periodic surfaces. |
NURBSConversionOptionsKit& 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.
in_state | If true, the parametrization information for surfaces will be retained, otherwise it will be recalculated. |
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::SetPeriodicFaceSplitting | ( | bool | in_state | ) |
Sets whether to split periodic faces.
This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bSplitFaces.
in_state | Whether to split periodic faces on parametric seams. |
NURBSConversionOptionsKit& 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.
in_tolerance | The tolerance of the resulting BRep data. The value is relative to the scale of the model. |
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::SetUVCurvesComputation | ( | bool | in_state, |
bool | in_allow_cross_seam_curves | ||
) |
Sets whether to compute UV curves from BRep data.
in_state | Whether to compute UV curves from BRep data. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bForceComputeUV. |
in_allow_cross_seam_curves | Whether to allow UV curves to cross seams. This corresponds to the value that will be passed to A3DCopyAndAdaptBrepModelData::m_bAllowUVCrossingSeams. |
void HPS::Exchange::NURBSConversionOptionsKit::Show | ( | NURBSConversionOptionsKit & | out_kit | ) | const |
Copies this NURBSConversionOptionsKit into the given NURBSConversionOptionsKit.
out_kit | The NURBSConversionOptionsKit to populate with the contents of this NURBSConversionOptionsKit. |
bool HPS::Exchange::NURBSConversionOptionsKit::Show3DCurvesComputation | ( | bool & | out_state | ) | const |
Shows the 3D curve computation conversion setting.
out_state | Whether 3D curves will be computed by the conversion |
bool HPS::Exchange::NURBSConversionOptionsKit::ShowAllowedCurves | ( | CurveTypeArray & | out_allowed_curves | ) | const |
Shows the allowed curves conversion setting.
out_allowed_curves | The types of curves the conversion is allowed to produce. |
bool HPS::Exchange::NURBSConversionOptionsKit::ShowAllowedSurfaces | ( | SurfaceTypeArray & | out_allowed_surfaces | ) | const |
Shows the allowed surfaces conversion setting.
out_allowed_surfaces | The types of surfaces the conversion is allowed to produce. |
bool HPS::Exchange::NURBSConversionOptionsKit::ShowClosedFaceSplitting | ( | bool & | out_state | ) | const |
Shows the face splitting conversion setting.
out_state | Whether faces will be split by the conversion |
bool HPS::Exchange::NURBSConversionOptionsKit::ShowCrossSeamCurveReplacement | ( | bool & | out_state | ) | const |
Shows the cross seam curve replacement conversion setting.
out_state | Whether cross seam curves are going to be replaced by the conversion |
bool HPS::Exchange::NURBSConversionOptionsKit::ShowParameterization | ( | bool & | out_state | ) | const |
Shows the parameterization conversion setting.
out_state | Whether existing parameterization will be maintained by the conversion |
bool HPS::Exchange::NURBSConversionOptionsKit::ShowPeriodicFaceSplitting | ( | bool & | out_state | ) | const |
Shows the periodic face splitting conversion setting.
out_state | Whether periodic faces will be split by the conversion |
bool HPS::Exchange::NURBSConversionOptionsKit::ShowTolerance | ( | double & | out_tolerance | ) | const |
Shows the tolerance conversion setting.
out_tolerance | The tolerance that will be used for the conversion |
bool HPS::Exchange::NURBSConversionOptionsKit::ShowUVCurvesComputation | ( | bool & | out_state, |
bool & | out_allow_cross_seam_curves | ||
) | const |
Shows the UV curve computation conversion setting.
out_state | Whether UV curves will be computed by the conversion |
out_allow_cross_seam_curves | Whether UV curves will be allowed to cross seams |
|
virtualinherited |
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.
Reimplemented in HPS::UpdateOptionsControl, HPS::HighlightControl, HPS::SelectionOptionsControl, HPS::OffScreenWindowOptionsControl, HPS::ApplicationWindowOptionsControl, HPS::StandAloneWindowOptionsControl, HPS::AttributeLockControl, HPS::WindowInfoControl, HPS::DebuggingControl, HPS::SubwindowControl, HPS::ContourLineControl, HPS::VisualEffectsControl, HPS::TransformMaskControl, HPS::PostProcessEffectsControl, HPS::DrawingAttributeControl, HPS::HiddenLineAttributeControl, HPS::PerformanceControl, HPS::NURBSSurfaceAttributeControl, HPS::ConditionControl, HPS::StyleControl, HPS::PortfolioControl, HPS::MaterialMappingControl, HPS::TextureMatrixControl, HPS::ModellingMatrixControl, HPS::CurveAttributeControl, HPS::EdgeAttributeControl, HPS::LineAttributeControl, HPS::TextAttributeControl, HPS::CuttingSectionAttributeControl, HPS::CylinderAttributeControl, HPS::LightingAttributeControl, HPS::SphereAttributeControl, HPS::MarkerAttributeControl, HPS::CullingControl, HPS::ColorInterpolationControl, HPS::TransparencyControl, HPS::SelectabilityControl, HPS::CameraControl, HPS::VisibilityControl, HPS::BoundingControl, HPS::Kit, and HPS::Control.
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::Unset3DCurvesComputation | ( | ) |
Removes the 3D curves computation conversion state.
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::UnsetAllowedCurves | ( | ) |
Removes the allowed curves conversion state.
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::UnsetAllowedSurfaces | ( | ) |
Removes the allowed surfaces conversion state.
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::UnsetClosedFaceSplitting | ( | ) |
Removes the closed face splitting conversion state.
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::UnsetCrossSeamCurveReplacement | ( | ) |
Removes the cross seam replacement conversion state.
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::UnsetEverything | ( | ) |
Removes all settings.
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::UnsetParameterization | ( | ) |
Removes the parameterization conversion state.
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::UnsetPeriodicFaceSplitting | ( | ) |
Removes the periodic face splitting conversion state.
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::UnsetTolerance | ( | ) |
Removes the tolerance conversion state.
NURBSConversionOptionsKit& HPS::Exchange::NURBSConversionOptionsKit::UnsetUVCurvesComputation | ( | ) |
Removes the UV curves computation conversion state.
|
static |