C# Class HelixToolkit.Wpf.StudioReader

A 3D Studio file reader.
Inheritance: HelixToolkit.Wpf.ModelReader
ファイルを表示 Open project: litdev1/LitDev Class Usage Examples

Private Properties

Property Type Description
ReadChunkId ChunkID
ReadChunkSize int
ReadColor Color
ReadData byte[]
ReadFaceList System.Windows.Media.Int32Collection
ReadFaceMaterials List
ReadMatMap string
ReadMaterial void
ReadObject void
ReadString string
ReadTexCoords System.Windows.Media.PointCollection
ReadTransformation System.Windows.Media.Media3D.Matrix3D
ReadTriangularMesh void
ReadVector System.Windows.Media.Media3D.Vector3D
ReadVertexList System.Windows.Media.Media3D.Point3DCollection

Public Methods

Method Description
Read ( Stream s ) : System.Windows.Media.Media3D.Model3DGroup

Reads the model from the specified stream.

Read ( string path ) : System.Windows.Media.Media3D.Model3DGroup

Reads the model from the specified path.

Private Methods

Method Description
ReadChunkId ( BinaryReader reader ) : ChunkID

Read a chunk id.

ReadChunkSize ( BinaryReader reader ) : int

Read a chunk size.

ReadColor ( BinaryReader reader ) : Color

Read a color.

ReadData ( BinaryReader reader, int size ) : byte[]

Read data.

ReadFaceList ( BinaryReader reader ) : System.Windows.Media.Int32Collection

Read a face list.

ReadFaceMaterials ( BinaryReader reader, int msize ) : List

Read face materials.

ReadMatMap ( BinaryReader reader, int size ) : string

Read a mat map.

ReadMaterial ( BinaryReader reader, int msize ) : void

Read a material.

ReadObject ( BinaryReader reader, int msize ) : void

Read an object.

ReadString ( BinaryReader reader ) : string

Read a string.

ReadTexCoords ( BinaryReader reader ) : System.Windows.Media.PointCollection

Read tex coords.

ReadTransformation ( BinaryReader reader ) : Matrix3D

Read a transformation.

ReadTriangularMesh ( BinaryReader reader, int chunkSize ) : void

The read triangular mesh.

ReadVector ( BinaryReader reader ) : System.Windows.Media.Media3D.Vector3D

Read a vector.

ReadVertexList ( BinaryReader reader ) : Point3DCollection

Read a vertex list.

Method Details

Read() public method

Reads the model from the specified stream.
public Read ( Stream s ) : System.Windows.Media.Media3D.Model3DGroup
s Stream /// The stream. ///
return System.Windows.Media.Media3D.Model3DGroup

Read() public method

Reads the model from the specified path.
public Read ( string path ) : System.Windows.Media.Media3D.Model3DGroup
path string /// The path. ///
return System.Windows.Media.Media3D.Model3DGroup