DzDrawStyle Class Reference
[Basic Objects]

Encapsulates the drawing parameters for a 3D view. More...

Inheritance diagram for DzDrawStyle:

DzBase QObject Object DzDefaultStyle DzPickStyle DzUnshadedStyle DzUserDrawStyle DzHiddenLineStyle DzLitWireFrameStyle DzSmoothShadedStyle DzSolidBoxStyle DzTexturedStyle DzWireBoxStyle DzWireFrameStyle DzWireShadedStyle DzWireTexturedStyle List of all members.

Enumerations



enum  ShadeStyle {
  WIRE_BOX, SOLID_BOX, WIREFRAME, LIT_WIREFRAME,
  HIDDEN_LINE, WIRE_SHADED, SMOOTH_SHADED, WIRE_TEXTURED,
  TEXTURED, GLSL_SHADER, UNSHADED, PICKING
}

Properties

Boolean drawCuesDefault
Boolean drawObjectsOnly
Boolean drawShadowCastersOnly
Boolean isUserStyle
Boolean renderQuality

Methods

DzSceneShader shader ()
ShadeStyle shadeStyle ()

Detailed Description

Encapsulates the drawing parameters for a 3D view.


Member Enumeration Documentation

enum DzDrawStyle::ShadeStyle

A list of shading styles for rendering scene objects in OpenGL

Enumerator:
WIRE_BOX  Draws unlit wireframe bounding boxes
SOLID_BOX  Draws smooth-shaded bounding boxes
WIREFRAME  Draws unlit wireframes
LIT_WIREFRAME  Draws lit wireframes
HIDDEN_LINE  Draws unlit wireframes, front geometry facing only
WIRE_SHADED  Draws lit smooth shaded objects with wireframes imposed
SMOOTH_SHADED  Draws lit smooth shaded objects
WIRE_TEXTURED  Draws lit smooth shaded objects with any texture/transparency maps applied and wireframes imposed
TEXTURED  Draws lit smooth shaded objects with any texture/transparency maps applied
GLSL_SHADER  Draws lit smooth shaded objects with a GLSL shader applied
UNSHADED  Draws unlit smooth shaded objects
PICKING  Special mode for using OpenGL to determine a selected object when the user clicks in the view


Member Function Documentation

DzSceneShader DzDrawStyle::shader (  ) 

Returns:
The scene shader for this draw operation, if any.

ShadeStyle DzDrawStyle::shadeStyle (  ) 

Returns:
The shading style for the current drawing operation


Member Data Documentation

Boolean DzDrawStyle::drawCuesDefault

Whether or not visual cues (such as bounding boxes for selected nodes) should be drawn when appropriate.

bool DzDrawStyle::drawObjectsOnly

Whether or not only objects should be drawn

bool DzDrawStyle::drawShadowCastersOnly

Whether or not only shadow casters should be drawn

Boolean DzDrawStyle::isUserStyle

Read-Only - Whether or not the style is a user style

bool DzDrawStyle::renderQuality

Whether or not the draw is render quality.


Generated on Thu Sep 24 12:21:11 2009

Copyright © 2002 - 2009 DAZ 3D, Inc.