Unplugged Viz
High-performance scientific visualization isn't just for the workstation anymore
Durwella.Unplugged.Viz.DrawWithAttribute Class Reference

Specifies a the settings to be used for drawing the specified model. Every model must have exactly oen DrawWithAttribute. This attribute is applied to a class. More...

Public Member Functions

 DrawWithAttribute ()
 Initializes a new instance of the DrawWithAttribute class. More...
 
 DrawWithAttribute (BackFaces backFaces)
 Initializes a new instance of the DrawWithAttribute class. Defaults PrimitiveType to PrimitiveType.TriangleStrip. More...
 
 DrawWithAttribute (PrimitiveType primitiveType)
 Initializes a new instance of the DrawWithAttribute class. More...
 
 DrawWithAttribute (PrimitiveType primitiveType, BackFaces backFaces)
 Initializes a new instance of the DrawWithAttribute class. More...
 
 DrawWithAttribute (PrimitiveType primitiveType, Winding winding)
 Initializes a new instance of the DrawWithAttribute class. Sets BackFaces to BackFaces.Culled. More...
 
 DrawWithAttribute (PrimitiveType primitiveType, DepthBuffer depthBuffer)
 Initializes a new instance of the DrawWithAttribute class. More...
 
 DrawWithAttribute (PrimitiveType primitiveType, BackFaces backFaces, DepthBuffer depthBuffer)
 Initializes a new instance of the DrawWithAttribute class. More...
 
 DrawWithAttribute (PrimitiveType primitiveType, BackFaces backFaces, DepthBuffer depthBuffer, Winding winding)
 Initializes a new instance of the DrawWithAttribute class. More...
 

Properties

PrimitiveType PrimitiveType [get, set]
 The type of primitive to use for drawing the model. Defaults to PrimitiveType.Points More...
 
BackFaces BackFaces [get, set]
 Enable or disabled culling of backfaces. Defaults to BackFaces.Culled. More...
 
DepthBuffer DepthBuffer [get, set]
 Enable of disable the depth buffer. Defaults to DepthBuffer.Enabled More...
 
Winding Winding [get, set]
 The winding mode to be used for determining front and back faces of triangles. The front face is the one that results in the selected Winding when viewed from that side. Defaults to Winding.CounterClockwise More...
 

Detailed Description

Specifies a the settings to be used for drawing the specified model. Every model must have exactly oen DrawWithAttribute. This attribute is applied to a class.

Inherits Durwella.Unplugged.Viz.UnpluggedAttribute.

Constructor & Destructor Documentation

Durwella.Unplugged.Viz.DrawWithAttribute.DrawWithAttribute ( )

Initializes a new instance of the DrawWithAttribute class.

Durwella.Unplugged.Viz.DrawWithAttribute.DrawWithAttribute ( BackFaces  backFaces)

Initializes a new instance of the DrawWithAttribute class. Defaults PrimitiveType to PrimitiveType.TriangleStrip.

Durwella.Unplugged.Viz.DrawWithAttribute.DrawWithAttribute ( PrimitiveType  primitiveType)

Initializes a new instance of the DrawWithAttribute class.

Durwella.Unplugged.Viz.DrawWithAttribute.DrawWithAttribute ( PrimitiveType  primitiveType,
BackFaces  backFaces 
)

Initializes a new instance of the DrawWithAttribute class.

Durwella.Unplugged.Viz.DrawWithAttribute.DrawWithAttribute ( PrimitiveType  primitiveType,
Winding  winding 
)

Initializes a new instance of the DrawWithAttribute class. Sets BackFaces to BackFaces.Culled.

Durwella.Unplugged.Viz.DrawWithAttribute.DrawWithAttribute ( PrimitiveType  primitiveType,
DepthBuffer  depthBuffer 
)

Initializes a new instance of the DrawWithAttribute class.

Durwella.Unplugged.Viz.DrawWithAttribute.DrawWithAttribute ( PrimitiveType  primitiveType,
BackFaces  backFaces,
DepthBuffer  depthBuffer 
)

Initializes a new instance of the DrawWithAttribute class.

Durwella.Unplugged.Viz.DrawWithAttribute.DrawWithAttribute ( PrimitiveType  primitiveType,
BackFaces  backFaces,
DepthBuffer  depthBuffer,
Winding  winding 
)

Initializes a new instance of the DrawWithAttribute class.

Property Documentation

BackFaces Durwella.Unplugged.Viz.DrawWithAttribute.BackFaces
getset

Enable or disabled culling of backfaces. Defaults to BackFaces.Culled.

DepthBuffer Durwella.Unplugged.Viz.DrawWithAttribute.DepthBuffer
getset

Enable of disable the depth buffer. Defaults to DepthBuffer.Enabled

PrimitiveType Durwella.Unplugged.Viz.DrawWithAttribute.PrimitiveType
getset

The type of primitive to use for drawing the model. Defaults to PrimitiveType.Points

Winding Durwella.Unplugged.Viz.DrawWithAttribute.Winding
getset

The winding mode to be used for determining front and back faces of triangles. The front face is the one that results in the selected Winding when viewed from that side. Defaults to Winding.CounterClockwise


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