C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
VSN::GlobalFlags Class Reference

Global settings for visualization module. More...

#include <vsn_globalflags.h>

Static Public Member Functions

static void Initialize ()
 Initializes default values.
 
static String GetVersionOpenGl ()
 Returns OpenGL version.
 
static String GetVendorOpenGl ()
 Returns vendor name.
 
static String GetRendererOpenGl ()
 Returns OpenGL render name.
 
static bool HasFrameBufferObject ()
 True if frame buffer rendering is available and texture rendering too.
 
static bool HasFrameBufferObjectBlit ()
 True if frame buffer rendering is available and texture rendering with pixel rectangular area copying too.
 
static bool HasPointSprites ()
 True if point sprites is available.
 
static bool IsSelectionMode ()
 Returns selection mode flag.
 
static void SetSelectionMode (bool set)
 Sets selection mode flag.
 
static bool IsSelectionModeGroupGeometry ()
 Returns selection mode flag (group geometry).
 
static void SetSelectionModeGroupGeometry (bool set)
 Sets selection mode flag (group geometry).
 
static bool IsSelectionPolygonGeometry ()
 Returns selection flag of PolygonGeometry.
 
static void SetSelectionPolygonGeometry (bool set)
 Sets selection flag of PolygonGeometry.
 
static bool IsPixelCullingEnabled ()
 True if pixel culling is used.
 
static void SetPixelCullingEnabled (bool set)
 Sets pixel culling use flag.
 
static bool IsScenePixelCullingEnabled ()
 Returns true if pixel culling, while managing the scene, is enabled. More...
 
static void SetScenePixelCullingEnabled (bool set)
 Sets pixel culling, while managing the scene, use flag.
 
static bool IsPixelCullingOrientedBoundBox ()
 Returns true if pixel culling with the oriented bounding box is used.
 
static void SetPixelCullingOrientedBoundBox (bool set)
 Sets pixel culling with the oriented bounding box use flag.
 
static CullFaces GetFaceCulling ()
 NO TRANSLATION.
 
static void SetFaceCulling (CullFaces set)
 NO TRANSLATION.
 
static bool IsBoundingVolume ()
 Returns bounding volume use flag.
 
static void SetBoundingVolume (bool set)
 Sets bounding volume use flag.
 
static bool IsFrustumCulling ()
 Returns frustum culling use flag.
 
static void SetFrustumCulling (bool set)
 Sets frustum culling use flag.
 
static bool IsHiddenEdges ()
 NO TRANSLATION.
 
static void SetHideEdges (bool set)
 NO TRANSLATION.
 
static bool IsReadyFlags ()
 Checks if all flags are ready to be used by user.
 
static bool IsBuildQuadGrid ()
 Returns value build quadrangle grid.
 
static void SetBuildQuadGrid (bool bBuild)
 Set the flag to build a quad grid.
 
static HighlighterType GetFaceHighlighter ()
 Returns highlight type to face.
 
static void SetFaceHighlighter (HighlighterType type)
 Sets highlight type to face.
 

Detailed Description

Global settings for visualization module.

GlobalFlags class provides functions to control C3D visualization module (C3D Vision) global settings.

Member Function Documentation

◆ IsScenePixelCullingEnabled()

static bool VSN::GlobalFlags::IsScenePixelCullingEnabled ( )
static

Returns true if pixel culling, while managing the scene, is enabled.

~The flag is set to false by default. It is set to true automatically when activating PrCameraOrbit, PrCameraPan or another process for managing the scene. When deactivating a process, the flag is set to an old value.

Note
To set PixelCulling enabled for all the time, you should manually set the value of the flags scenePixelCullingEnabled and pixelCullingEnabled to true.

The documentation for this class was generated from the following file: