|
NX Open C++ Reference Guide
|
Represents the set of shade visualization preferences applicable to entire part
To obtain an instance of this class, refer to Preferences::PartPreferences
Created in NX3.0.0.
More...
Public Member Functions | |
| double | AdvancedVisViewAngleTolerance () |
| Returns the angle tolerance for advanced visualization views. | |
| double | AdvancedVisViewEdgeTolerance () |
| Returns the edge tolerance for advanced visualization views. | |
| double | AdvancedVisViewFaceTolerance () |
| Returns the face tolerance for advanced visualization views. | |
| NXOpen::Preferences::PartVisualizationShade::AdvViewToleranceType | AdvancedVisViewTolerance () |
| Returns the tolerance for advanced visualization views. | |
| NXOpen::Preferences::PartVisualizationShade::ViewUpdateModeType | AdvancedVisViewUpdateMode () |
| Returns the update mode for advanced visualization views. | |
| double | AdvancedVisViewWidthTolerance () |
| Returns the width tolerance for advanced Visualization Views. | |
| double | AdvVisFacetScaleRatio () |
| Returns the facet to view scale ratio for Advanced Visualization views as specified by the user | |
| bool | AdvVisFacetToViewScale () |
| Returns whether the facet to view scale for Advanced Visualization views should be computed automatically or should be defined by the user | |
| bool | AlignAdvVisViewFacetsAlongEdges () |
| Returns the state of whether facets should be aligned along common edges for Advanced Visualization Views Created in NX8.5.0. | |
| bool | AlignShadedViewFacetsAlongEdges () |
| Returns the state of whether facets should be aligned along common edges for Shaded Views Created in NX8.5.0. | |
| void | GetAdvVisViewFacetTolerances (NXOpen::Preferences::PartVisualizationShade::AdvViewToleranceType advVisViewToleranceSet, double *edgeTolerance, double *faceTolerance, double *angleTolerance, double *widthTolerance) |
| Returns the edge, face, angle and width tolerances to be used with the specified tolerance set for Advanced Visualization views. | |
| void | GetShadedViewFacetTolerances (NXOpen::Preferences::PartVisualizationShade::ShadedViewToleranceType shadedViewToleranceSet, double *edgeTolerance, double *faceTolerance, double *angleTolerance) |
| Returns the edge, face and angle tolerances to be used with the specified tolerance set for shaded views. | |
| int | HiddenGeometryColor () |
| Returns the shade hidden geometry color. | |
| void | SetAdvancedVisViewAngleTolerance (double advancedVisViewAngleTolerance) |
| Sets the angle tolerance for advanced visualization views. | |
| void | SetAdvancedVisViewEdgeTolerance (double advancedVisViewEdgeTolerance) |
| Sets the edge tolerance for advanced visualization views. | |
| void | SetAdvancedVisViewFaceTolerance (double advancedVisViewFaceTolerance) |
| Sets the face tolerance for advanced visualization views. | |
| void | SetAdvancedVisViewTolerance (NXOpen::Preferences::PartVisualizationShade::AdvViewToleranceType advancedVisViewTolerance) |
| Sets the tolerance for advanced visualization views. | |
| void | SetAdvancedVisViewUpdateMode (NXOpen::Preferences::PartVisualizationShade::ViewUpdateModeType advancedVisViewUpdateMode) |
| Sets the update mode for advanced visualization views. | |
| void | SetAdvancedVisViewWidthTolerance (double advancedVisViewWidthTolerance) |
| Sets the width tolerance for advanced Visualization Views. | |
| void | SetAdvVisFacetScaleRatio (double advVisViewFacetScaleRatio) |
| Sets the facet to view scale ratio for Advanced Visualization views as specified by the user | |
| void | SetAdvVisFacetToViewScale (bool advVisViewFacetToViewScale) |
| Sets whether the facet to view scale for Advanced Visualization views should be computed automatically or should be defined by the user | |
| void | SetAdvVisViewFacetTolerances (NXOpen::Preferences::PartVisualizationShade::AdvViewToleranceType advVisViewToleranceSet, double edgeTolerance, double faceTolerance, double angleTolerance, double widthTolerance) |
| Sets the edge, face, angle and width tolerances to be used with the specified tolerance set for Advanced Visualization views. | |
| void | SetAlignAdvVisViewFacetsAlongEdges (bool alignAdvVisViewFacetsAlongEdges) |
| Sets the state of whether facets should be aligned along common edges for Advanced Visualization Views Created in NX8.5.0. | |
| void | SetAlignShadedViewFacetsAlongEdges (bool alignShadedViewFacetsAlongEdges) |
| Sets the state of whether facets should be aligned along common edges for Shaded Views Created in NX8.5.0. | |
| void | SetHiddenGeometryColor (int hiddenGeomColor) |
| Sets the shade hidden geometry color. | |
| void | SetShadedFacetScaleRatio (double shadedViewFacetScaleRatio) |
| Sets the facet to view scale ratio for Shaded views as specified by the user | |
| void | SetShadedFacetToViewScale (bool shadedViewFacetToViewScale) |
| Sets whether the facet to view scale for Shaded views should be computed automatically or should be defined by the user | |
| void | SetShadedViewAngleTolerance (double shadedViewAngleTolerance) |
| Sets the angle tolerance for shaded views. | |
| void | SetShadedViewEdgeTolerance (double shadedViewEdgeTolerance) |
| Sets the edge tolerance for shaded views. | |
| void | SetShadedViewFaceTolerance (double shadedViewFaceTolerance) |
| Sets the face tolerance for shaded views. | |
| void | SetShadedViewFacetTolerances (NXOpen::Preferences::PartVisualizationShade::ShadedViewToleranceType shadedViewToleranceSet, double edgeTolerance, double faceTolerance, double angleTolerance) |
| Sets the edge, face and angle tolerances to be used with the specified tolerance set for shaded views. | |
| void | SetShadedViewTolerance (NXOpen::Preferences::PartVisualizationShade::ShadedViewToleranceType shadedViewTolerance) |
| Sets the tolerance for shaded views. | |
| void | SetShadedViewUpdateMode (NXOpen::Preferences::PartVisualizationShade::ViewUpdateModeType shadedViewUpdateMode) |
| Sets the update mode for shaded views. | |
| double | ShadedFacetScaleRatio () |
| Returns the facet to view scale ratio for Shaded views as specified by the user | |
| bool | ShadedFacetToViewScale () |
| Returns whether the facet to view scale for Shaded views should be computed automatically or should be defined by the user | |
| double | ShadedViewAngleTolerance () |
| Returns the angle tolerance for shaded views. | |
| double | ShadedViewEdgeTolerance () |
| Returns the edge tolerance for shaded views. | |
| double | ShadedViewFaceTolerance () |
| Returns the face tolerance for shaded views. | |
| NXOpen::Preferences::PartVisualizationShade::ShadedViewToleranceType | ShadedViewTolerance () |
| Returns the tolerance for shaded views. | |
| NXOpen::Preferences::PartVisualizationShade::ViewUpdateModeType | ShadedViewUpdateMode () |
| Returns the update mode for shaded views. | |
| tag_t | Tag () const |
| Returns the tag of this object. | |
Represents the set of shade visualization preferences applicable to entire part
To obtain an instance of this class, refer to Preferences::PartPreferences
Created in NX3.0.0.
Describes the available tolerance types for Advanced View.
Each of these options maps tolerance values to for specific operations : Curve Edge Chord Distance, Surface Chord Distance, Angular Tolerance, Facet Width Tolerance
| AdvViewToleranceTypeCoarse |
Coarse. |
| AdvViewToleranceTypeStandard |
Standard. |
| AdvViewToleranceTypeFine |
Fine. |
| AdvViewToleranceTypeExtrafine |
Extrafine. |
| AdvViewToleranceTypeSuperfine |
Superfine. |
| AdvViewToleranceTypeUltrafine |
Ultrafine. |
| AdvViewToleranceTypeCustomize |
Customize. User can specify the Edge Tolerance, Face Tolerance and Angle Tolerance, Width Tolerance specifically. |
Describes whether the shaded face edges are invisible or dashed visible or with a color to depict the hidden geometry.
Describes whether the shaded face edges are having no color or body color or user defined color.
| ShadedFaceEdgeOff |
Option is off. |
| ShadedFaceEdgeBodyColor |
Body Color. |
| ShadedFaceEdgeSpecifyColor |
Specified Color. |
Describes the available tolerance types for Shaded View.
Each of these options maps tolerance values to three specific faceting operations: Facet Edge Tolerance, Facet Chord Tolerance, and Angular Tolerance.
| ShadedViewToleranceTypeCoarse |
For Coarse: Facet Edge Tolerance is 0.01, Facet Chord Tolerance is 0.01, and Angular Tolerance is 0.0. |
| ShadedViewToleranceTypeStandard |
For Standard: Facet Edge Tolerance is 0.005, Facet Chord Tolerance is 0.005 , and Angular Tolerance is 15. |
| ShadedViewToleranceTypeFine |
For Fine: Facet Edge Tolerance is 0.0005, Facet Chord Tolerance is 0.0025, and Angular Tolerance is 6. |
| ShadedViewToleranceTypeExtrafine |
For Extrafine: Facet Edge Tolerance is 0.005, Facet Chord Tolerance is 0.001, and Angular Tolerance is 6. |
| ShadedViewToleranceTypeUltrafine |
For Ultrafine: Facet Edge Tolerance is 0.0005, Facet Chord Tolerance is 0.0005, and Angular Tolerance is 3. |
| ShadedViewToleranceTypeCustomize |
Customize. User can specify the Edge Tolerance, Face Tolerance and Angle Tolerance specifically. |
| double NXOpen::Preferences::PartVisualizationShade::AdvancedVisViewAngleTolerance | ( | ) |
Returns the angle tolerance for advanced visualization views.
Created in NX3.0.0.
License requirements : None
| double NXOpen::Preferences::PartVisualizationShade::AdvancedVisViewEdgeTolerance | ( | ) |
Returns the edge tolerance for advanced visualization views.
Created in NX3.0.0.
License requirements : None
| double NXOpen::Preferences::PartVisualizationShade::AdvancedVisViewFaceTolerance | ( | ) |
Returns the face tolerance for advanced visualization views.
Created in NX3.0.0.
License requirements : None
| NXOpen::Preferences::PartVisualizationShade::AdvViewToleranceType NXOpen::Preferences::PartVisualizationShade::AdvancedVisViewTolerance | ( | ) |
Returns the tolerance for advanced visualization views.
Created in NX3.0.0.
License requirements : None
| NXOpen::Preferences::PartVisualizationShade::ViewUpdateModeType NXOpen::Preferences::PartVisualizationShade::AdvancedVisViewUpdateMode | ( | ) |
Returns the update mode for advanced visualization views.
Created in NX3.0.0.
License requirements : None
| double NXOpen::Preferences::PartVisualizationShade::AdvancedVisViewWidthTolerance | ( | ) |
Returns the width tolerance for advanced Visualization Views.
Created in NX3.0.0.
License requirements : None
| double NXOpen::Preferences::PartVisualizationShade::AdvVisFacetScaleRatio | ( | ) |
Returns the facet to view scale ratio for Advanced Visualization views as specified by the user
Refer to Display::FacetSettingsBuilder::AdvVisRefinementFactor instead
Created in NX8.0.0.
License requirements : None
| bool NXOpen::Preferences::PartVisualizationShade::AdvVisFacetToViewScale | ( | ) |
Returns whether the facet to view scale for Advanced Visualization views should be computed automatically or should be defined by the user
Refer to Display::FacetSettingsBuilder::AdvVisFacetScale instead
Created in NX8.0.0.
License requirements : None
| bool NXOpen::Preferences::PartVisualizationShade::AlignAdvVisViewFacetsAlongEdges | ( | ) |
Returns the state of whether facets should be aligned along common edges for Advanced Visualization Views
Created in NX8.5.0.
License requirements : None
| bool NXOpen::Preferences::PartVisualizationShade::AlignShadedViewFacetsAlongEdges | ( | ) |
Returns the state of whether facets should be aligned along common edges for Shaded Views
Created in NX8.5.0.
License requirements : None
| void NXOpen::Preferences::PartVisualizationShade::GetAdvVisViewFacetTolerances | ( | NXOpen::Preferences::PartVisualizationShade::AdvViewToleranceType | advVisViewToleranceSet, |
| double * | edgeTolerance, | ||
| double * | faceTolerance, | ||
| double * | angleTolerance, | ||
| double * | widthTolerance | ||
| ) |
Returns the edge, face, angle and width tolerances to be used with the specified tolerance set for Advanced Visualization views.
Created in NX8.0.0.
License requirements : None
| advVisViewToleranceSet | adv vis view tolerance set |
| edgeTolerance | edge tolerance |
| faceTolerance | face tolerance |
| angleTolerance | angle tolerance |
| widthTolerance | width tolerance |
| void NXOpen::Preferences::PartVisualizationShade::GetShadedViewFacetTolerances | ( | NXOpen::Preferences::PartVisualizationShade::ShadedViewToleranceType | shadedViewToleranceSet, |
| double * | edgeTolerance, | ||
| double * | faceTolerance, | ||
| double * | angleTolerance | ||
| ) |
Returns the edge, face and angle tolerances to be used with the specified tolerance set for shaded views.
Created in NX8.0.0.
License requirements : None
| shadedViewToleranceSet | shaded view tolerance set |
| edgeTolerance | edge tolerance |
| faceTolerance | face tolerance |
| angleTolerance | angle tolerance |
| int NXOpen::Preferences::PartVisualizationShade::HiddenGeometryColor | ( | ) |
Returns the shade hidden geometry color.
Created in NX3.0.0.
License requirements : None
| void NXOpen::Preferences::PartVisualizationShade::SetAdvancedVisViewAngleTolerance | ( | double | advancedVisViewAngleTolerance | ) |
Sets the angle tolerance for advanced visualization views.
Created in NX3.0.0.
License requirements : None
| advancedVisViewAngleTolerance | advanced vis view angle tolerance |
| void NXOpen::Preferences::PartVisualizationShade::SetAdvancedVisViewEdgeTolerance | ( | double | advancedVisViewEdgeTolerance | ) |
Sets the edge tolerance for advanced visualization views.
Created in NX3.0.0.
License requirements : None
| advancedVisViewEdgeTolerance | advanced vis view edge tolerance |
| void NXOpen::Preferences::PartVisualizationShade::SetAdvancedVisViewFaceTolerance | ( | double | advancedVisViewFaceTolerance | ) |
Sets the face tolerance for advanced visualization views.
Created in NX3.0.0.
License requirements : None
| advancedVisViewFaceTolerance | advanced vis view face tolerance |
| void NXOpen::Preferences::PartVisualizationShade::SetAdvancedVisViewTolerance | ( | NXOpen::Preferences::PartVisualizationShade::AdvViewToleranceType | advancedVisViewTolerance | ) |
Sets the tolerance for advanced visualization views.
Created in NX3.0.0.
License requirements : None
| advancedVisViewTolerance | advanced vis view tolerance |
| void NXOpen::Preferences::PartVisualizationShade::SetAdvancedVisViewUpdateMode | ( | NXOpen::Preferences::PartVisualizationShade::ViewUpdateModeType | advancedVisViewUpdateMode | ) |
Sets the update mode for advanced visualization views.
Created in NX3.0.0.
License requirements : None
| advancedVisViewUpdateMode | advanced vis view update mode |
| void NXOpen::Preferences::PartVisualizationShade::SetAdvancedVisViewWidthTolerance | ( | double | advancedVisViewWidthTolerance | ) |
Sets the width tolerance for advanced Visualization Views.
Created in NX3.0.0.
License requirements : None
| advancedVisViewWidthTolerance | advanced vis view width tolerance |
| void NXOpen::Preferences::PartVisualizationShade::SetAdvVisFacetScaleRatio | ( | double | advVisViewFacetScaleRatio | ) |
Sets the facet to view scale ratio for Advanced Visualization views as specified by the user
Refer to Display::FacetSettingsBuilder::SetAdvVisRefinementFactor instead
Created in NX8.0.0.
License requirements : None
| advVisViewFacetScaleRatio | adv vis view facet scale ratio |
| void NXOpen::Preferences::PartVisualizationShade::SetAdvVisFacetToViewScale | ( | bool | advVisViewFacetToViewScale | ) |
Sets whether the facet to view scale for Advanced Visualization views should be computed automatically or should be defined by the user
Refer to Display::FacetSettingsBuilder::SetAdvVisFacetScale instead
Created in NX8.0.0.
License requirements : None
| advVisViewFacetToViewScale | adv vis view facet to view scale |
| void NXOpen::Preferences::PartVisualizationShade::SetAdvVisViewFacetTolerances | ( | NXOpen::Preferences::PartVisualizationShade::AdvViewToleranceType | advVisViewToleranceSet, |
| double | edgeTolerance, | ||
| double | faceTolerance, | ||
| double | angleTolerance, | ||
| double | widthTolerance | ||
| ) |
Sets the edge, face, angle and width tolerances to be used with the specified tolerance set for Advanced Visualization views.
Created in NX8.0.0.
License requirements : None
| advVisViewToleranceSet | adv vis view tolerance set |
| edgeTolerance | edge tolerance |
| faceTolerance | face tolerance |
| angleTolerance | angle tolerance |
| widthTolerance | width tolerance |
| void NXOpen::Preferences::PartVisualizationShade::SetAlignAdvVisViewFacetsAlongEdges | ( | bool | alignAdvVisViewFacetsAlongEdges | ) |
Sets the state of whether facets should be aligned along common edges for Advanced Visualization Views
Created in NX8.5.0.
License requirements : None
| alignAdvVisViewFacetsAlongEdges | align adv vis view facets along edges |
| void NXOpen::Preferences::PartVisualizationShade::SetAlignShadedViewFacetsAlongEdges | ( | bool | alignShadedViewFacetsAlongEdges | ) |
Sets the state of whether facets should be aligned along common edges for Shaded Views
Created in NX8.5.0.
License requirements : None
| alignShadedViewFacetsAlongEdges | align shaded view facets along edges |
| void NXOpen::Preferences::PartVisualizationShade::SetHiddenGeometryColor | ( | int | hiddenGeomColor | ) |
Sets the shade hidden geometry color.
Created in NX3.0.0.
License requirements : None
| hiddenGeomColor | hidden geom color |
| void NXOpen::Preferences::PartVisualizationShade::SetShadedFacetScaleRatio | ( | double | shadedViewFacetScaleRatio | ) |
Sets the facet to view scale ratio for Shaded views as specified by the user
Refer to Display::FacetSettingsBuilder::SetShadedRefinementFactor instead
Created in NX8.0.0.
License requirements : None
| shadedViewFacetScaleRatio | shaded view facet scale ratio |
| void NXOpen::Preferences::PartVisualizationShade::SetShadedFacetToViewScale | ( | bool | shadedViewFacetToViewScale | ) |
Sets whether the facet to view scale for Shaded views should be computed automatically or should be defined by the user
Refer to Display::FacetSettingsBuilder::SetShadedFacetScale instead
Created in NX8.0.0.
License requirements : None
| shadedViewFacetToViewScale | shaded view facet to view scale |
| void NXOpen::Preferences::PartVisualizationShade::SetShadedViewAngleTolerance | ( | double | shadedViewAngleTolerance | ) |
Sets the angle tolerance for shaded views.
Created in NX3.0.0.
License requirements : None
| shadedViewAngleTolerance | shaded view angle tolerance |
| void NXOpen::Preferences::PartVisualizationShade::SetShadedViewEdgeTolerance | ( | double | shadedViewEdgeTolerance | ) |
Sets the edge tolerance for shaded views.
Created in NX3.0.0.
License requirements : None
| shadedViewEdgeTolerance | shaded view edge tolerance |
| void NXOpen::Preferences::PartVisualizationShade::SetShadedViewFaceTolerance | ( | double | shadedViewFaceTolerance | ) |
Sets the face tolerance for shaded views.
Created in NX3.0.0.
License requirements : None
| shadedViewFaceTolerance | shaded view face tolerance |
| void NXOpen::Preferences::PartVisualizationShade::SetShadedViewFacetTolerances | ( | NXOpen::Preferences::PartVisualizationShade::ShadedViewToleranceType | shadedViewToleranceSet, |
| double | edgeTolerance, | ||
| double | faceTolerance, | ||
| double | angleTolerance | ||
| ) |
Sets the edge, face and angle tolerances to be used with the specified tolerance set for shaded views.
Created in NX8.0.0.
License requirements : None
| shadedViewToleranceSet | shaded view tolerance set |
| edgeTolerance | edge tolerance |
| faceTolerance | face tolerance |
| angleTolerance | angle tolerance |
| void NXOpen::Preferences::PartVisualizationShade::SetShadedViewTolerance | ( | NXOpen::Preferences::PartVisualizationShade::ShadedViewToleranceType | shadedViewTolerance | ) |
Sets the tolerance for shaded views.
Created in NX3.0.0.
License requirements : None
| shadedViewTolerance | shaded view tolerance |
| void NXOpen::Preferences::PartVisualizationShade::SetShadedViewUpdateMode | ( | NXOpen::Preferences::PartVisualizationShade::ViewUpdateModeType | shadedViewUpdateMode | ) |
Sets the update mode for shaded views.
Created in NX3.0.0.
License requirements : None
| shadedViewUpdateMode | shaded view update mode |
| double NXOpen::Preferences::PartVisualizationShade::ShadedFacetScaleRatio | ( | ) |
Returns the facet to view scale ratio for Shaded views as specified by the user
Refer to Display::FacetSettingsBuilder::ShadedRefinementFactor instead
Created in NX8.0.0.
License requirements : None
| bool NXOpen::Preferences::PartVisualizationShade::ShadedFacetToViewScale | ( | ) |
Returns whether the facet to view scale for Shaded views should be computed automatically or should be defined by the user
Refer to Display::FacetSettingsBuilder::ShadedFacetScale instead
Created in NX8.0.0.
License requirements : None
| double NXOpen::Preferences::PartVisualizationShade::ShadedViewAngleTolerance | ( | ) |
Returns the angle tolerance for shaded views.
Created in NX3.0.0.
License requirements : None
| double NXOpen::Preferences::PartVisualizationShade::ShadedViewEdgeTolerance | ( | ) |
Returns the edge tolerance for shaded views.
Created in NX3.0.0.
License requirements : None
| double NXOpen::Preferences::PartVisualizationShade::ShadedViewFaceTolerance | ( | ) |
Returns the face tolerance for shaded views.
Created in NX3.0.0.
License requirements : None
| NXOpen::Preferences::PartVisualizationShade::ShadedViewToleranceType NXOpen::Preferences::PartVisualizationShade::ShadedViewTolerance | ( | ) |
Returns the tolerance for shaded views.
Created in NX3.0.0.
License requirements : None
| NXOpen::Preferences::PartVisualizationShade::ViewUpdateModeType NXOpen::Preferences::PartVisualizationShade::ShadedViewUpdateMode | ( | ) |
Returns the update mode for shaded views.
Created in NX3.0.0.
License requirements : None
| tag_t NXOpen::Preferences::PartVisualizationShade::Tag | ( | ) | const |
Returns the tag of this object.