NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Preferences::SessionVisualizationPerformance Class Reference

Represents visualization performance preferences that are applicable to the entire session. More...

Public Member Functions

bool RenderSolidsUsingStoredFacets ()
 Returns the rendering of solids using stored facets during interactive mode. More...
 
void SetRenderSolidsUsingStoredFacets (bool useStoredFacets)
 Sets the rendering of solids using stored facets during interactive mode. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents visualization performance preferences that are applicable to the entire session.


To obtain an instance of this class, refer to NXOpen::Preferences::SessionPreferences

Created in NX11.0.0.

Member Function Documentation

bool NXOpen::Preferences::SessionVisualizationPerformance::RenderSolidsUsingStoredFacets ( )

Returns the rendering of solids using stored facets during interactive mode.


When a solid is rendered in non-lightweight mode, this preference can be enabled to use facets stored in the part if valid facets exist for the solid, even if those facets do not meet the current rendering parameters. This improves performance of certain shaded displays by avoiding need to tessellate the solid, though the visual quality may be impacted. E.g. when this preference is enabled, smooth edge settings (e.g. see use of NXOpen::Preferences::ViewVisualizationVisual::SmoothEdgeWidth ) are implicitly ignored to improve the performance.

This setting is ignored by NXOpen::ViewCollection::UpdateDisplay .

The display is not immediately regenerated when this setting is changed. Use NXOpen::ViewCollection::Regenerate to update display.


Created in NX11.0.0.

License requirements : None

void NXOpen::Preferences::SessionVisualizationPerformance::SetRenderSolidsUsingStoredFacets ( bool  useStoredFacets)

Sets the rendering of solids using stored facets during interactive mode.


When a solid is rendered in non-lightweight mode, this preference can be enabled to use facets stored in the part if valid facets exist for the solid, even if those facets do not meet the current rendering parameters. This improves performance of certain shaded displays by avoiding need to tessellate the solid, though the visual quality may be impacted. E.g. when this preference is enabled, smooth edge settings (e.g. see use of NXOpen::Preferences::ViewVisualizationVisual::SmoothEdgeWidth ) are implicitly ignored to improve the performance.

This setting is ignored by NXOpen::ViewCollection::UpdateDisplay .

The display is not immediately regenerated when this setting is changed. Use NXOpen::ViewCollection::Regenerate to update display.


Created in NX11.0.0.

License requirements : None

Parameters
useStoredFacetsusestoredfacets
tag_t NXOpen::Preferences::SessionVisualizationPerformance::Tag ( ) const

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.