Unplugged Viz
High-performance scientific visualization isn't just for the workstation anymore
|
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... | |
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.
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.
|
getset |
Enable or disabled culling of backfaces. Defaults to BackFaces.Culled.
|
getset |
Enable of disable the depth buffer. Defaults to DepthBuffer.Enabled
|
getset |
The type of primitive to use for drawing the model. Defaults to PrimitiveType.Points
|
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