NX Open C++ Reference Guide
|
Represents the set of View related Visualization visual preferences
To obtain an instance of this class, refer to View
Created in NX3.0.0.
More...
Classes | |
struct | DisplayAppearanceOptions |
Describes the rendering style and the appearance of edges and silhouettes in the view. More... | |
struct | SurfaceDisplayOptions |
Describes the appearance of edges and silhouettes in the view. More... | |
struct | TrueSurfaceDisplayPref |
Represents the various surface display parameters. More... | |
Public Member Functions | |
NXOpen::Preferences::ViewVisualizationVisual::DisplayAppearanceOptions | DisplayAppearance () |
Returns the rendering style and the edge display options of the view. | |
NXOpen::Preferences::ViewVisualizationVisual::HiddenEdgeStyleType | HiddenEdgeStyle () |
Returns the hidden edge display style for shaded faces in the view. | |
void | SetDisplayAppearance (const NXOpen::Preferences::ViewVisualizationVisual::DisplayAppearanceOptions &displayAppearanceOptions) |
Sets the rendering style and the edge display options of the view. | |
void | SetHiddenEdgeStyle (NXOpen::Preferences::ViewVisualizationVisual::HiddenEdgeStyleType hiddenEdgeStyle) |
Sets the hidden edge display style for shaded faces in the view. | |
void | SetShadedEdgeColor (int shadedEdgeColor) |
Sets the edge color for shaded faces in the view. | |
void | SetShadedEdgeStyle (NXOpen::Preferences::ViewVisualizationVisual::ShadedEdgeStyleType shadedEdgeStyle) |
Sets the edge display style for shaded faces in the view. | |
void | SetShininessData (double shininessData) |
Sets the shininess value. | |
void | SetSurfaceDisplay (const NXOpen::Preferences::ViewVisualizationVisual::SurfaceDisplayOptions &surfaceDisplay) |
Sets the rendering style and the edge display options of the view. | |
void | SetTrueSurfaceDisplay (const NXOpen::Preferences::ViewVisualizationVisual::TrueSurfaceDisplayPref &trueSurfaceDisplay) |
Sets the true surface display parameters. | |
void | SetTwoSidedLight (bool twoSidedLight) |
Sets the two sided light flag. | |
int | ShadedEdgeColor () |
Returns the edge color for shaded faces in the view. | |
NXOpen::Preferences::ViewVisualizationVisual::ShadedEdgeStyleType | ShadedEdgeStyle () |
Returns the edge display style for shaded faces in the view. | |
double | ShininessData () |
Returns the shininess value. | |
NXOpen::Preferences::ViewVisualizationVisual::SurfaceDisplayOptions | SurfaceDisplay () |
Returns the rendering style and the edge display options of the view. | |
tag_t | Tag () const |
Returns the tag of this object. | |
NXOpen::Preferences::ViewVisualizationVisual::TrueSurfaceDisplayPref | TrueSurfaceDisplay () |
Returns the true surface display parameters. | |
bool | TwoSidedLight () |
Returns the two sided light flag. | |
Represents the set of View related Visualization visual preferences
To obtain an instance of this class, refer to View
Created in NX3.0.0.
Describes the available display mode types.
Specifies shading parameters for the selected view.
DisplayModeTypeWireframe |
View is displayed as a wireframe-model. |
DisplayModeTypePartiallyShaded |
Shade only selected object. |
DisplayModeTypeFullyShaded |
Shading is applicable to all objects in view. |
DisplayModeTypeFaceAnalysis |
Display faces using the color analysis data. |
DisplayModeTypeStudio |
In Studio mode, objects are realistically rendered according to material and texture characteristics assigned to them. |
Describes the available hidden edges types.
Determines how hidden edges are displayed in the selected view.
Describes the rendering style for geometry displayed in the view.
Describes all possible font selection for visible smooth edges.
Describes all possible width selection for visible smooth edges.
NXOpen::Preferences::ViewVisualizationVisual::DisplayAppearanceOptions NXOpen::Preferences::ViewVisualizationVisual::DisplayAppearance | ( | ) |
Returns the rendering style and the edge display options of the view.
Created in NX8.5.0.
License requirements : None
NXOpen::Preferences::ViewVisualizationVisual::HiddenEdgeStyleType NXOpen::Preferences::ViewVisualizationVisual::HiddenEdgeStyle | ( | ) |
Returns the hidden edge display style for shaded faces in the view.
Created in NX4.0.0.
License requirements : None
void NXOpen::Preferences::ViewVisualizationVisual::SetDisplayAppearance | ( | const NXOpen::Preferences::ViewVisualizationVisual::DisplayAppearanceOptions & | displayAppearanceOptions | ) |
Sets the rendering style and the edge display options of the view.
Created in NX8.5.0.
License requirements : None
displayAppearanceOptions | display appearance options |
void NXOpen::Preferences::ViewVisualizationVisual::SetHiddenEdgeStyle | ( | NXOpen::Preferences::ViewVisualizationVisual::HiddenEdgeStyleType | hiddenEdgeStyle | ) |
Sets the hidden edge display style for shaded faces in the view.
Created in NX4.0.0.
License requirements : None
hiddenEdgeStyle | hidden edge style |
void NXOpen::Preferences::ViewVisualizationVisual::SetShadedEdgeColor | ( | int | shadedEdgeColor | ) |
Sets the edge color for shaded faces in the view.
Created in NX4.0.0.
License requirements : None
shadedEdgeColor | shaded edge color |
void NXOpen::Preferences::ViewVisualizationVisual::SetShadedEdgeStyle | ( | NXOpen::Preferences::ViewVisualizationVisual::ShadedEdgeStyleType | shadedEdgeStyle | ) |
Sets the edge display style for shaded faces in the view.
Created in NX4.0.0.
License requirements : None
shadedEdgeStyle | shaded edge style |
void NXOpen::Preferences::ViewVisualizationVisual::SetShininessData | ( | double | shininessData | ) |
Sets the shininess value.
Specifies the intensity of the graphics driver addition of highlights to shaded surfaces, making them appear shiny. The value 0.0 adds no shininess, and 1.0 adds the maximum amount of shininess.
Created in NX3.0.0.
License requirements : None
shininessData | shininess data |
void NXOpen::Preferences::ViewVisualizationVisual::SetSurfaceDisplay | ( | const NXOpen::Preferences::ViewVisualizationVisual::SurfaceDisplayOptions & | surfaceDisplay | ) |
Sets the rendering style and the edge display options of the view.
Created in NX4.0.0.
License requirements : None
surfaceDisplay | surface display |
void NXOpen::Preferences::ViewVisualizationVisual::SetTrueSurfaceDisplay | ( | const NXOpen::Preferences::ViewVisualizationVisual::TrueSurfaceDisplayPref & | trueSurfaceDisplay | ) |
Sets the true surface display parameters.
Created in NX3.0.0.
License requirements : None
trueSurfaceDisplay | true surface display |
void NXOpen::Preferences::ViewVisualizationVisual::SetTwoSidedLight | ( | bool | twoSidedLight | ) |
Sets the two sided light flag.
Specifies whether lighting should be applied to both the front and backsides of faces. If it is true, then lighting from a light source is applied to the front or the back face, depending on which side is exposed to the light source. If this is false, then lighting is not applied to the back of a face even if the back is exposed to the light source.
Created in NX3.0.0.
License requirements : None
twoSidedLight | two sided light |
int NXOpen::Preferences::ViewVisualizationVisual::ShadedEdgeColor | ( | ) |
Returns the edge color for shaded faces in the view.
Created in NX4.0.0.
License requirements : None
NXOpen::Preferences::ViewVisualizationVisual::ShadedEdgeStyleType NXOpen::Preferences::ViewVisualizationVisual::ShadedEdgeStyle | ( | ) |
Returns the edge display style for shaded faces in the view.
Created in NX4.0.0.
License requirements : None
double NXOpen::Preferences::ViewVisualizationVisual::ShininessData | ( | ) |
Returns the shininess value.
Specifies the intensity of the graphics driver addition of highlights to shaded surfaces, making them appear shiny. The value 0.0 adds no shininess, and 1.0 adds the maximum amount of shininess.
Created in NX3.0.0.
License requirements : None
NXOpen::Preferences::ViewVisualizationVisual::SurfaceDisplayOptions NXOpen::Preferences::ViewVisualizationVisual::SurfaceDisplay | ( | ) |
Returns the rendering style and the edge display options of the view.
Created in NX4.0.0.
License requirements : None
tag_t NXOpen::Preferences::ViewVisualizationVisual::Tag | ( | ) | const |
Returns the tag of this object.
NXOpen::Preferences::ViewVisualizationVisual::TrueSurfaceDisplayPref NXOpen::Preferences::ViewVisualizationVisual::TrueSurfaceDisplay | ( | ) |
Returns the true surface display parameters.
Created in NX3.0.0.
License requirements : None
bool NXOpen::Preferences::ViewVisualizationVisual::TwoSidedLight | ( | ) |
Returns the two sided light flag.
Specifies whether lighting should be applied to both the front and backsides of faces. If it is true, then lighting from a light source is applied to the front or the back face, depending on which side is exposed to the light source. If this is false, then lighting is not applied to the back of a face even if the back is exposed to the light source.
Created in NX3.0.0.
License requirements : None