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

Texture mapped, lit, indexed geometry model. This class or subclasses can be used with the CommonVertexShader.TextureMappedLitModel and CommonFragmentShader.TextureMappedLitModel shaders. Note that if the properties are overridden, the subclass must apply the appropriate attributes. More...

Public Member Functions

 IndexedGeometryTextureMappedLitModel ()
 Initializes a new instance of the IndexedGeometryTextureMappedLitModel class. More...
 
 IndexedGeometryTextureMappedLitModel (ILitGeometry geometry)
 Initializes a new instance of the IndexedGeometryModel class. Copies properties from a supplied ILitGeometry. Generally, the base geometry should also implement IIndexedGeometry and IImageMappedGeometry. More...
 
- Public Member Functions inherited from Durwella.Unplugged.Viz.IndexedGeometryTextureMappedModel
 IndexedGeometryTextureMappedModel ()
 Initializes a new instance of the IndexedGeometryTextureMappedModel class. More...
 
 IndexedGeometryTextureMappedModel (IImageMappedGeometry geometry)
 Initializes a new instance of the IndexedGeometryTextureMappedModel class. Copies properties from a supplied IImageMappedGeometry. Generally, the base geometry should also implement IIndexedGeometry. More...
 
- Public Member Functions inherited from Durwella.Unplugged.Viz.IndexedGeometryModel
 IndexedGeometryModel ()
 Initializes a new instance of the IndexedGeometryModel class. More...
 
 IndexedGeometryModel (IIndexedGeometry geometry)
 Initializes a new instance of the IndexedGeometryModel class. Copies properties from a supplied IIndexedGeometry. More...
 

Properties

virtual float[,] Normals [get, set]
 Tagged with VertexAttributeAttribute. More...
 
virtual float[] LightPosition [get, set]
 Tagged with UniformAttribute. More...
 
- Properties inherited from Durwella.Unplugged.Viz.IndexedGeometryTextureMappedModel
virtual Array TextureCoordinates [get, set]
 Tagged with VertexAttributeAttribute. More...
 
virtual object Image [get, set]
 Tagged with TextureMapAttribute(MagnificationFilter.LinearInterpolation, WrapMode.Repeat). More...
 
- Properties inherited from Durwella.Unplugged.Viz.IndexedGeometryModel
virtual Array Vertices [get, set]
 Tagged with VertexAttributeAttribute. More...
 
virtual int[] Indices [get, set]
 Tagged with VertexIndicesAttribute. More...
 
- Properties inherited from Durwella.Unplugged.Viz.IIndexedGeometry
int[] Indices [get]
 
- Properties inherited from Durwella.Unplugged.Viz.IGeometry
Array Vertices [get]
 
- Properties inherited from Durwella.Unplugged.Viz.IImageMappedGeometry
object Image [get]
 If Image is a string, it will be treated as the path to in image file. IMAGE RESOLUTIONS MUST BE POWERS OF TWO. More...
 
- Properties inherited from Durwella.Unplugged.Viz.ITexturedGeometry
Array TextureCoordinates [get]
 
- Properties inherited from Durwella.Unplugged.Viz.ILitGeometry
float[,] Normals [get]
 
float[] LightPosition [get]
 

Detailed Description

Texture mapped, lit, indexed geometry model. This class or subclasses can be used with the CommonVertexShader.TextureMappedLitModel and CommonFragmentShader.TextureMappedLitModel shaders. Note that if the properties are overridden, the subclass must apply the appropriate attributes.

Inheritance diagram for Durwella.Unplugged.Viz.IndexedGeometryTextureMappedLitModel:
Durwella.Unplugged.Viz.IndexedGeometryTextureMappedModel Durwella.Unplugged.Viz.ILitGeometry Durwella.Unplugged.Viz.IndexedGeometryModel Durwella.Unplugged.Viz.IImageMappedGeometry Durwella.Unplugged.Viz.IGeometry Durwella.Unplugged.Viz.IIndexedGeometry Durwella.Unplugged.Viz.ITexturedGeometry Durwella.Unplugged.Viz.IGeometry Durwella.Unplugged.Viz.IGeometry

Constructor & Destructor Documentation

Durwella.Unplugged.Viz.IndexedGeometryTextureMappedLitModel.IndexedGeometryTextureMappedLitModel ( )

Initializes a new instance of the IndexedGeometryTextureMappedLitModel class.

Durwella.Unplugged.Viz.IndexedGeometryTextureMappedLitModel.IndexedGeometryTextureMappedLitModel ( ILitGeometry  geometry)

Initializes a new instance of the IndexedGeometryModel class. Copies properties from a supplied ILitGeometry. Generally, the base geometry should also implement IIndexedGeometry and IImageMappedGeometry.

Parameters
geometryThe base geometry.

Property Documentation

virtual float [] Durwella.Unplugged.Viz.IndexedGeometryTextureMappedLitModel.LightPosition
getset

Tagged with UniformAttribute.

virtual float [,] Durwella.Unplugged.Viz.IndexedGeometryTextureMappedLitModel.Normals
getset

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