Frapper
1.0a
|
Class for a 3D viewport widget powered by OGRE. More...
#include <ViewportWidget.h>
Public Slots | |
void | applyViewingParameters (ViewingParameters *viewingParameters) |
Applies the given viewing parameters to the viewport's viewing parameters. | |
void | setImage (unsigned int stageIndex, Ogre::TexturePtr image) |
Sets the image that should be displayed in the viewport. | |
void | homeView () |
Resets the viewport's view settings. | |
void | setWireframe (bool wireframe) |
Activates or deactivates wireframe view in the viewport. | |
void | setBackfaceCulling (bool backfaceCulling) |
Activates or deactivates the omission of polygons facing away from the camera. | |
void | toggleOrigin () |
Toggles the display of the point of origin in the viewport. | |
void | toggleCenterPoint () |
Toggles the display of the center point in the viewport. | |
void | toggleOrientationIndicator () |
Toggles the display of the orientation indicator in the viewport. | |
void | toggleGrid () |
Toggles the display of the coordinate grid in the viewport. | |
void | screenCapture () |
Write the contents of the current render window to image file. | |
Signals | |
void | objectSelected (const QString &objectName, bool toggle) |
Signal that is emitted when an object in the viewport has been clicked. | |
void | viewChanged (ViewingParameters *viewingParameters) |
Signal that is emitted when the viewing parameters have changed. | |
void | frameSelectedObjectsRequested (ViewingParameters *viewingParameters) |
Signal that is emitted when the selected objects in the viewport should be framed by the viewport's camera. | |
void | renderingTriggered () |
Rendering process has been initiated. | |
Public Member Functions | |
ViewportWidget (QWidget *parent=0, unsigned int stageIndex=1, bool fullscreen=false, bool stereo=false, int width=1024, int height=768) | |
Constructor of the ViewportWidget class. | |
virtual | ~ViewportWidget () |
Destructor of the ViewportWidget class. | |
virtual QPaintEngine * | paintEngine () const |
Returns a pointer to the paint engine used for drawing on the device. | |
unsigned int | getStageIndex () |
Returns the index of the stage to display in the viewport. | |
void | setStageIndex (unsigned int stageIndex) |
Sets the index of the stage to display in the viewport. | |
void | setViewMode (bool viewMode) |
Activates or deactivates the view mode in the viewport widget. | |
void | frameSelectedObjects () |
Centers the viewport's view on currently selected objects. | |
void | setFog (bool enabled, float density) |
Sets the fog parameters of the viewport. | |
QColor | getFogColor () |
Returns the fog color of the scene. | |
void | setFogColor (const QColor &color) |
Sets the fog color of the scene. | |
QColor | getBackgroundColor () |
Returns the background color of the scene. | |
void | setBackgroundColor (const QColor &color) |
Sets the background color of the scene. | |
void | setFullscreen (bool fullscreen, int width, int height) |
Sets fullscreen mode for the viewport widget. | |
void | getStereoParameters (float &rttWidth, float &rttHeight, float &eyeDist, float &fOffsetMultiplier, float &nearClip, float &farClip, float &fov, float &focalLength) |
Fills the given variables with stereo parameter values. | |
void | setStereoParameters (const unsigned int rttWidth, const unsigned int rttHeight, const float eyeDist, const float fOffsetMultiplier, const float nearClip, const float farClip, const float fov, const float focalLength) |
Sets the stereo parameters to the given values. | |
void | setStereo (bool enable) |
Toggles the stereo mode for the viewport widget. | |
void | setOverlayOnly (bool enable) |
Sets whether only overlays (no geometry) should be displayed in viewport. | |
float | getFps () |
Returns the current number of frames per second rendered in the viewport. | |
int | getTriangleCount () |
Returns the number of triangles last rendered in the viewport. | |
ViewingParameters * | getViewingParameters () |
Returns the viewing parameter's of the currently active camera. | |
void | updateView () |
Calculates the transformation of the viewport's camera according to the current viewing angles, the viewing radius, and the center of view. | |
Ogre::RenderWindow * | getRenderWindow () |
Get the created render window. | |
Protected Member Functions | |
virtual void | resizeEvent (QResizeEvent *event) |
Handles resize events for the widget. | |
virtual void | paintEvent (QPaintEvent *event) |
Handles paint events for the widget. | |
virtual void | mousePressEvent (QMouseEvent *event) |
Handles mouse press events for the widget. | |
virtual void | mouseMoveEvent (QMouseEvent *event) |
Handles mouse move events for the widget. | |
virtual void | mouseReleaseEvent (QMouseEvent *event) |
Handles mouse release events for the widget. | |
virtual void | wheelEvent (QWheelEvent *event) |
Handles mouse wheel events for the widget. | |
Protected Attributes | |
unsigned int | m_stageIndex |
The index of the stage to display in the viewport. | |
bool | m_showOverlays |
Show overlays. | |
bool | m_fullscreen |
Flag that states whether the widget is used in fullscreen mode. | |
bool | m_stereo |
Flag that states whether stereo viewing is activated. | |
float | m_stereoEyeDist |
Stereo view parameters. | |
float | m_stereoFOffsetMultiplier |
float | m_stereoNearClip |
float | m_stereoFarClip |
float | m_stereoFov |
float | m_stereoFocalLength |
unsigned int | m_stereoRttWidth |
unsigned int | m_stereoRttHeight |
int | m_width |
The width of the viewport when in fullscreen mode. | |
int | m_height |
The height of the viewport when in fullscreen mode. | |
Ogre::RenderWindow * | m_renderWindow |
The OGRE render window to use in the viewport widget. | |
Ogre::SceneManager * | m_sceneManager |
The main OGRE scene manager. | |
Ogre::SceneNode * | m_cameraSceneNode |
The main viewport's viewing camera scene node. | |
Ogre::MaterialPtr | m_imageMaterial |
Material for the viewport's image overlay that is used to display image results from nodes. | |
Ogre::Camera * | m_camera |
The viewport's viewing cameras. | |
Ogre::Camera * | m_camera0 |
Ogre::Camera * | m_camera1 |
Ogre::Camera * | m_camera2 |
Ogre::Camera * | m_camera3 |
Ogre::Camera * | m_camera4 |
QString | m_cameraName |
The current camera name. | |
Ogre::Light * | m_headLight |
The viewing camera's light. | |
Ogre::CompositorInstance * | m_stereoCompositor |
The stereo compositor. | |
Ogre::RenderTarget * | m_stereoRenderTarget |
The stereo OGRE texture render target. | |
Ogre::Viewport * | m_viewport |
The OGRE viewports. | |
Ogre::Viewport * | m_stereoViewport0 |
Ogre::Viewport * | m_stereoViewport1 |
Ogre::Viewport * | m_stereoViewport2 |
Ogre::Viewport * | m_stereoViewport3 |
Ogre::Viewport * | m_stereoViewport4 |
Ogre::ColourValue | m_backgroundColor |
The background color of the viewport. | |
Ogre::ColourValue | m_fogColor |
The fog color of the scene. | |
Ogre::SceneNode * | m_orientationIndicatorCameraSceneNode |
The orientation indicator viewport's camera scene node. | |
Ogre::Camera * | m_orientationIndicatorCamera |
The orientation indicator viewport's camera. | |
Ogre::Viewport * | m_orientationIndicatorViewport |
The orientation indicator viewport to display axes that show the main camera's orientation. | |
Ogre::Overlay * | m_labelOverlay |
The overlay for all text information panel overlay elements. | |
Ogre::Overlay * | m_imageOverlay |
The overlay for the image panel overlay element. | |
Ogre::PanelOverlayElement * | m_leftTopHudPanel |
The panel overlay element used for displaying text information in the top left corner of the viewport. | |
Ogre::TextAreaOverlayElement * | m_leftTopHudTextArea |
The text area overlay element used for displaying text information in the top left corner of the viewport. | |
Ogre::PanelOverlayElement * | m_imagePanel |
The panel overlay element used for displaying an image. | |
Ogre::SceneNode * | m_viewportObjectsSceneNode |
The node that all exclusive viewport object scene nodes will be attached to. | |
Ogre::SceneNode * | m_originSceneNode |
The node that the coordinate system's origin axes will be attached to. | |
Ogre::SceneNode * | m_centerPointSceneNode |
The node that the center axes will be attached to. | |
Ogre::SceneNode * | m_orientationIndicatorSceneNode |
The node that the orientation indicator will be attached to. | |
Ogre::SceneNode * | m_gridSceneNode |
The node that the coordinate grid will be attached to. | |
bool | m_viewMode |
Flag that states whether the viewing mode is activated. | |
QPoint | m_lastPosition |
The last position of the mouse pointer over the viewport. | |
ViewingParameters * | m_viewingParameters |
The viewing parameters for the viewport's active camera. | |
bool | m_wireframe |
Flag that states whether wireframe view is activated. | |
bool | m_backfaceCulling |
Flag that states whether backface culling is activated. | |
bool | m_showOrigin |
Flag that states whether the origin should be visible in the viewport. | |
bool | m_showCenterPoint |
Flag that states whether the center should be visible in the viewport. | |
bool | m_showOrientationIndicator |
Flag that states whether the orientation indicator is shown in the widget. | |
bool | m_showGrid |
Flag that states whether the grid should be visible in the viewport. | |
bool | m_overlayOnly |
Flag that states whether the geometry should be visible. | |
float | m_dbgColor |
The background color. | |
Private Member Functions | |
Ogre::String | createUniqueName (const QString &objectName) |
Creates a unique name from the given object name by adding the viewport. widget's index. | |
bool | createdefaultShaders () |
Creates the default cg Shaders used for the default materials. | |
Ogre::HighLevelGpuProgramPtr | compileShader (const Ogre::String &code, Ogre::GpuProgramType type, const Ogre::String &nameSuffix) |
Compiles the given CG Shader Code and returns a Pointer to the loaded Ogre resource. | |
bool | createRenderWindow () |
Creates the OGRE render window. | |
void | initializeResources () |
Initializes the resources that will be available to OGRE. | |
void | createViewportObjects () |
Creates basic viewport objects like the viewing camera, the head light, coordinate axes and the grid. | |
void | createOverlays () |
Creates overlay layers for visual components that will be rendered on top of the main scene layer. | |
void | render () |
Redraws the OGRE scene into the viewport widget. | |
Ogre::MaterialPtr | createColorMaterial (const Ogre::String &group, const Ogre::String &name, const Ogre::ColourValue &color, bool wireframe=false) |
Creates a self-illuminating material with the given name and color under the given group name. | |
void | createAxes (const QString &name, Ogre::SceneNode *parentNode, Ogre::uint32 visibilityFlags=VF_MAIN_VIEWPORT) |
Creates three manual objects for X, Y and Z axes with the given name and attaches them to the given parent scene node. The axes will each have a length of 1. | |
void | createGrid (Ogre::SceneNode *parentNode) |
Creates a coordinate grid and attaches it to the given parent scene node. | |
Ogre::SceneNode * | getClickedSceneNode (const QPointF &mousePosition) |
Returns the scene node that is located under the given mouse position in the viewport. | |
Static Private Attributes | |
static unsigned int | s_viewportIndex = 0 |
The index of the next viewport widget to create. | |
static Ogre::HighLevelGpuProgramPtr | s_defaultVertexShader |
A simple Default vertex shader in CG. | |
static Ogre::HighLevelGpuProgramPtr | s_defaultFragmentShader |
A simple Default fragment shader in CG. | |
static Ogre::HighLevelGpuProgramPtr | s_defaultUVVertexShader |
A simple Default vertex shader with UV-Coordinates in CG. | |
static Ogre::HighLevelGpuProgramPtr | s_defaultTU0FragmentShader |
A simple Default fragment shader with one textue in CG. | |
static Ogre::MaterialPtr | s_redMaterial |
Material for self-illuminating red objects (like coordinate X axes). | |
static Ogre::MaterialPtr | s_greenMaterial |
Material for self-illuminating green objects (like coordinate Y axes). | |
static Ogre::MaterialPtr | s_blueMaterial |
Material for self-illuminating blue objects (like coordinate Z axes). | |
static Ogre::MaterialPtr | s_grayMaterial |
Material for self-illuminating gray objects. | |
static Ogre::MaterialPtr | s_blackMaterial |
Material for self-illuminating black objects. | |
static Ogre::MaterialPtr | s_defaultMaterial |
Default material to use in shaded mode. | |
static Ogre::MaterialPtr | s_nullMaterial |
Material for Null objects. | |
Frapper::ViewportWidget::ViewportWidget | ( | QWidget * | parent = 0 , |
unsigned int | stageIndex = 1 , |
||
bool | fullscreen = false , |
||
bool | stereo = false , |
||
int | width = 1024 , |
||
int | height = 768 |
||
) |
Constructor of the ViewportWidget class.
Constructors and Destructors.
parent | The parent widget the created instance will be a child of. |
stageIndex | The index of the stage to display in the viewport. |
fullscreen | Flag that controls whether the widget is used in fullscreen mode. |
stereo | Flag that controls whether the widget is used in stereo mode. |
width | The width of the viewport when in fullscreen mode. |
height | The height of the viewport when in fullscreen mode. |
Constructor of the ViewportWidget class.
parent | The parent widget the created instance will be a child of. |
stageIndex | The index of the stage to display in the viewport. |
fullscreen | Flag that controls whether the widget is used in fullscreen mode. |
width | The width of the viewport when in fullscreen mode. |
height | The height of the viewport when in fullscreen mode. |
|
virtual |
Destructor of the ViewportWidget class.
Defined virtual to guarantee that the destructor of a derived class will be called if the instance of the derived class is saved in a variable of its parent class type.
|
virtual |
Returns a pointer to the paint engine used for drawing on the device.
Public Functions.
Returning 0 by this function fixes the widget flickering bug in Qt 4.5.
Returns a pointer to the paint engine used for drawing on the device.
Returning 0 by this function fixes the widget flickering bug in Qt 4.5.
unsigned int Frapper::ViewportWidget::getStageIndex | ( | ) |
Returns the index of the stage to display in the viewport.
void Frapper::ViewportWidget::setStageIndex | ( | unsigned int | stageIndex | ) |
Sets the index of the stage to display in the viewport.
stageIndex | The index of the new stage to display in the viewport. |
void Frapper::ViewportWidget::setViewMode | ( | bool | viewMode | ) |
Activates or deactivates the view mode in the viewport widget.
viewMode | The new value for the view mode flag. |
void Frapper::ViewportWidget::frameSelectedObjects | ( | ) |
Centers the viewport's view on currently selected objects.
void Frapper::ViewportWidget::setFog | ( | bool | enabled, |
float | density | ||
) |
Sets the fog parameters of the viewport.
enabled | Sets whether fog is enabled or not. |
density | Sets the density of the fog (exponential). |
QColor Frapper::ViewportWidget::getFogColor | ( | ) |
Returns the fog color of the scene.
void Frapper::ViewportWidget::setFogColor | ( | const QColor & | color | ) |
Sets the fog color of the scene.
color | Fog color of the scene. |
QColor Frapper::ViewportWidget::getBackgroundColor | ( | ) |
Returns the background color of the scene.
void Frapper::ViewportWidget::setBackgroundColor | ( | const QColor & | color | ) |
Sets the background color of the scene.
color | Background color of the scene. |
void Frapper::ViewportWidget::setFullscreen | ( | bool | fullscreen, |
int | width, | ||
int | height | ||
) |
Sets fullscreen mode for the viewport widget.
fullscreen | Flag to control whether to enable fullscreen mode. |
width | The width of the viewport in fullscreen mode. |
height | The height of the viewport in fullscreen mode. |
void Frapper::ViewportWidget::getStereoParameters | ( | float & | rttWidth, |
float & | rttHeight, | ||
float & | eyeDist, | ||
float & | fOffsetMultiplier, | ||
float & | nearClip, | ||
float & | farClip, | ||
float & | fov, | ||
float & | focalLength | ||
) |
Fills the given variables with stereo parameter values.
rttWidth | The width of the render texture. |
rttHeight | The height of the render texture. |
eyeDist | The viewer's eye distance. |
fOffsetMultiplier | A multiplier to calculate the frustum offset from the camera position. |
nearClip | The near clipping plane of the camera. |
farClip | The far clippping plane of the camera. |
fov | The camera's field of view setting. |
focalLength | The camera's focal length setting. |
void Frapper::ViewportWidget::setStereoParameters | ( | const unsigned int | rttWidth, |
const unsigned int | rttHeight, | ||
const float | eyeDist, | ||
const float | fOffsetMultiplier, | ||
const float | nearClip, | ||
const float | farClip, | ||
const float | fov, | ||
const float | focalLength | ||
) |
Sets the stereo parameters to the given values.
rttWidth | The width of the render texture. |
rttHeight | The height of the render texture. |
eyeDist | The viewer's eye distance. |
fOffsetMultiplier | A multiplier to calculate the frustum offset from the camera position. |
nearClip | The near clipping plane of the camera. |
farClip | The far clippping plane of the camera. |
fov | The camera's field of view setting. |
focalLength | The camera's focal length setting. |
void Frapper::ViewportWidget::setStereo | ( | bool | enable | ) |
Toggles the stereo mode for the viewport widget.
enable | Flag to enable or disable the stereo mode for the viewport widget. |
void Frapper::ViewportWidget::setOverlayOnly | ( | bool | enable | ) |
Sets whether only overlays (no geometry) should be displayed in viewport.
enable | If true no geometry will be displayed. |
float Frapper::ViewportWidget::getFps | ( | ) |
Returns the current number of frames per second rendered in the viewport.
int Frapper::ViewportWidget::getTriangleCount | ( | ) |
Returns the number of triangles last rendered in the viewport.
ViewingParameters * Frapper::ViewportWidget::getViewingParameters | ( | ) |
Returns the viewing parameter's of the currently active camera.
void Frapper::ViewportWidget::updateView | ( | ) |
Calculates the transformation of the viewport's camera according to the current viewing angles, the viewing radius, and the center of view.
Ogre::RenderWindow * Frapper::ViewportWidget::getRenderWindow | ( | ) |
Get the created render window.
Public Slots.
|
slot |
Applies the given viewing parameters to the viewport's viewing parameters.
viewingParameters | The viewing parameters to apply to the viewport. |
|
slot |
Sets the image that should be displayed in the viewport.
stageIndex | The index of the stage to which the image belongs. |
image | The image that should be displayed in the viewport. |
Only affects viewports that are set to display the content of the stage with the given index.
stageIndex | The index of the stage to which the image belongs. |
image | The image that should be displayed in the viewport. |
|
slot |
Resets the viewport's view settings.
|
slot |
Activates or deactivates wireframe view in the viewport.
wireframe | Flag that controls wireframe view in the viewport. |
|
slot |
Activates or deactivates the omission of polygons facing away from the camera.
backfaceCulling | Flag that controls the culling of polygons facing away from the camera. |
|
slot |
Toggles the display of the point of origin in the viewport.
|
slot |
Toggles the display of the center point in the viewport.
|
slot |
Toggles the display of the orientation indicator in the viewport.
|
slot |
Toggles the display of the coordinate grid in the viewport.
|
slot |
Write the contents of the current render window to image file.
|
signal |
Signal that is emitted when an object in the viewport has been clicked.
objectName | The name of the object that was selected, or an empty string if no object has been selected. |
toggle | Flag that controls whether the object's selected state should be toggled. |
|
signal |
Signal that is emitted when the viewing parameters have changed.
viewingParameters | The current viewing parameters. |
|
signal |
Signal that is emitted when the selected objects in the viewport should be framed by the viewport's camera.
Requests an adjustment of the viewing parameters the viewport's camera so that the currently selected objects are centered in the view.
viewingParameters | The viewing parameters to modify. |
|
signal |
Rendering process has been initiated.
|
protectedvirtual |
Handles resize events for the widget.
Protected Events.
event | The description of the resize event. |
Handles resize events for the widget.
event | The description of the resize event. |
|
protectedvirtual |
Handles paint events for the widget.
event | The description of the paint event. |
|
protectedvirtual |
Handles mouse press events for the widget.
event | The description of the mouse event. |
|
protectedvirtual |
Handles mouse move events for the widget.
event | The description of the mouse event. |
|
protectedvirtual |
Handles mouse release events for the widget.
event | The description of the mouse event. |
|
protectedvirtual |
Handles mouse wheel events for the widget.
event | The description of the mouse wheel event. |
|
private |
Creates a unique name from the given object name by adding the viewport. widget's index.
Private Functions.
Creates a unique name from the given object name by adding the viewport widget's index.
|
private |
Creates the default cg Shaders used for the default materials.
|
private |
Compiles the given CG Shader Code and returns a Pointer to the loaded Ogre resource.
\param code The cg schader code.
profileFlags | The shader profile flags. |
type | The type of the shader. |
code | The cg schader code. |
profileFlags | The shader profile flags. |
type | The type of the shader. |
|
private |
Creates the OGRE render window.
|
private |
Initializes the resources that will be available to OGRE.
|
private |
Creates basic viewport objects like the viewing camera, the head light, coordinate axes and the grid.
|
private |
Creates overlay layers for visual components that will be rendered on top of the main scene layer.
|
private |
Redraws the OGRE scene into the viewport widget.
|
private |
Creates a self-illuminating material with the given name and color under the given group name.
group | The name of the resource group to attach the material to. |
name | The unique name for the material. |
color | The color for the material. |
wireframe | Flag to control whether the material will display objects in wireframe mode. |
|
private |
Creates three manual objects for X, Y and Z axes with the given name and attaches them to the given parent scene node. The axes will each have a length of 1.
name | The prefix for the axes objects to create. |
parentNode | The scene node to which to attach the axes objects. |
visibilityFlags | The visibility flags to apply to the axes objects. |
|
private |
Creates a coordinate grid and attaches it to the given parent scene node.
parentNode | The scene node to which to attach the grid object. |
|
private |
Returns the scene node that is located under the given mouse position in the viewport.
mousePosition | The position of the mouse pointer over the viewport widget. |
|
staticprivate |
The index of the next viewport widget to create.
Private Static Data.
|
staticprivate |
A simple Default vertex shader in CG.
|
staticprivate |
A simple Default fragment shader in CG.
|
staticprivate |
A simple Default vertex shader with UV-Coordinates in CG.
|
staticprivate |
A simple Default fragment shader with one textue in CG.
|
staticprivate |
Material for self-illuminating red objects (like coordinate X axes).
|
staticprivate |
Material for self-illuminating green objects (like coordinate Y axes).
|
staticprivate |
Material for self-illuminating blue objects (like coordinate Z axes).
|
staticprivate |
Material for self-illuminating gray objects.
|
staticprivate |
Material for self-illuminating black objects.
|
staticprivate |
Default material to use in shaded mode.
|
staticprivate |
Material for Null objects.
|
protected |
The index of the stage to display in the viewport.
|
protected |
Show overlays.
|
protected |
Flag that states whether the widget is used in fullscreen mode.
|
protected |
Flag that states whether stereo viewing is activated.
|
protected |
Stereo view parameters.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
The width of the viewport when in fullscreen mode.
|
protected |
The height of the viewport when in fullscreen mode.
|
protected |
The OGRE render window to use in the viewport widget.
|
protected |
The main OGRE scene manager.
|
protected |
The main viewport's viewing camera scene node.
|
protected |
Material for the viewport's image overlay that is used to display image results from nodes.
|
protected |
The viewport's viewing cameras.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
The current camera name.
|
protected |
The viewing camera's light.
|
protected |
The stereo compositor.
|
protected |
The stereo OGRE texture render target.
|
protected |
The OGRE viewports.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
The background color of the viewport.
|
protected |
The fog color of the scene.
|
protected |
The orientation indicator viewport's camera scene node.
|
protected |
The orientation indicator viewport's camera.
|
protected |
The orientation indicator viewport to display axes that show the main camera's orientation.
|
protected |
The overlay for all text information panel overlay elements.
|
protected |
The overlay for the image panel overlay element.
|
protected |
The panel overlay element used for displaying text information in the top left corner of the viewport.
|
protected |
The text area overlay element used for displaying text information in the top left corner of the viewport.
|
protected |
The panel overlay element used for displaying an image.
|
protected |
The node that all exclusive viewport object scene nodes will be attached to.
|
protected |
The node that the coordinate system's origin axes will be attached to.
|
protected |
The node that the center axes will be attached to.
|
protected |
The node that the orientation indicator will be attached to.
|
protected |
The node that the coordinate grid will be attached to.
|
protected |
Flag that states whether the viewing mode is activated.
|
protected |
The last position of the mouse pointer over the viewport.
|
protected |
The viewing parameters for the viewport's active camera.
|
protected |
Flag that states whether wireframe view is activated.
|
protected |
Flag that states whether backface culling is activated.
|
protected |
Flag that states whether the origin should be visible in the viewport.
|
protected |
Flag that states whether the center should be visible in the viewport.
|
protected |
Flag that states whether the orientation indicator is shown in the widget.
|
protected |
Flag that states whether the grid should be visible in the viewport.
|
protected |
Flag that states whether the geometry should be visible.
|
protected |
The background color.