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 Types | |
enum | AdvViewToleranceType { AdvViewToleranceTypeCoarse, AdvViewToleranceTypeStandard, AdvViewToleranceTypeFine, AdvViewToleranceTypeExtrafine, AdvViewToleranceTypeSuperfine, AdvViewToleranceTypeUltrafine, AdvViewToleranceTypeCustomize } |
Describes the available tolerance types for Advanced View. More... | |
enum | HiddenShadedFaceEdges { HiddenShadedFaceEdgesInvisible, HiddenShadedFaceEdgesDashed, HiddenShadedFaceEdgesHiddenColor } |
Describes whether the shaded face edges are invisible or dashed visible or with a color to depict the hidden geometry. More... | |
enum | ShadedFaceEdge { ShadedFaceEdgeOff, ShadedFaceEdgeBodyColor, ShadedFaceEdgeSpecifyColor } |
Describes whether the shaded face edges are having no color or body color or user defined color. More... | |
enum | ShadedViewToleranceType { ShadedViewToleranceTypeCoarse, ShadedViewToleranceTypeStandard, ShadedViewToleranceTypeFine, ShadedViewToleranceTypeExtrafine, ShadedViewToleranceTypeUltrafine, ShadedViewToleranceTypeCustomize } |
Describes the available tolerance types for Shaded View. More... | |
enum | ViewUpdateModeType { ViewUpdateModeTypeVisibleObject, ViewUpdateModeTypeAllObject, ViewUpdateModeTypeNone } |
Describes whether the applied changes are applicable to visible object or all object or no object. 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 Created in NX8.0.0. | |
bool | AdvVisFacetToViewScale () |
Returns whether the facet to view scale for Advanced Visualization views should be computed automatically or should be defined by the user Created in NX8.0.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 Created in NX8.0.0. | |
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 Created in NX8.0.0. | |
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 | 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 Created in NX8.0.0. | |
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 Created in NX8.0.0. | |
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 Created in NX8.0.0. | |
bool | ShadedFacetToViewScale () |
Returns whether the facet to view scale for Shaded views should be computed automatically or should be defined by the user Created in NX8.0.0. | |
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. |
Returns the angle tolerance for advanced visualization views.
Created in NX3.0.0.
License requirements : None
Returns the edge tolerance for advanced visualization views.
Created in NX3.0.0.
License requirements : None
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
Returns the width tolerance for advanced Visualization Views.
Created in NX3.0.0.
License requirements : None
Returns the facet to view scale ratio for Advanced Visualization views as specified by the user
Created in NX8.0.0.
License requirements : None
Returns whether the facet to view scale for Advanced Visualization views should be computed automatically or should be defined by the user
Created in NX8.0.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 |
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
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
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::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
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
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 |
Returns the facet to view scale ratio for Shaded views as specified by the user
Created in NX8.0.0.
License requirements : None
Returns whether the facet to view scale for Shaded views should be computed automatically or should be defined by the user
Created in NX8.0.0.
License requirements : None
Returns the angle tolerance for shaded views.
Created in NX3.0.0.
License requirements : None
Returns the edge tolerance for shaded views.
Created in NX3.0.0.
License requirements : None
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.