IDS peak ICV v1.3.0
Loading...
Searching...
No Matches
TransformationMatrix3D Class Reference
Inheritance diagram for TransformationMatrix3D:

Public Member Functions

 TransformationMatrix3D ()
 Creates a 4x4 identity matrix.
 
 TransformationMatrix3D (float[,] matrixValues)
 Creates a matrix from the specified values.
 
IEnumerator< T > GetEnumerator ()
 
override int GetHashCode ()
 Computes a hash code based on all elements in the matrix.
 
override string ToString ()
 Returns a string representation of the matrix.
 

Static Public Member Functions

static Matrix< T > Diagonal (uint size, T value)
 Creates a diagonal matrix with the given value on the diagonal.
 
static Matrix< T > Identity (uint size)
 Creates an identity matrix of given size.
 

Properties

uint Rows [get]
 Number of rows in the matrix.
 
uint Columns [get]
 Number of columns in the matrix.
 
T this[uint row, uint col] [get, set]
 Gets or sets the element at the specified row and column.
 
static IEqualityComparer< Matrix< T > > Comparer [get]
 Gets a default equality comparer for comparing Matrix<T> data values.
 

Detailed Description

A transformation matrix is a square matrix that, when multiplied by the coordinates of a geometric object, changes the position, orientation, or size of the object.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 12 of file TransformationMatrix3D.cs.

Constructor & Destructor Documentation

◆ TransformationMatrix3D() [1/2]

Creates a 4x4 identity matrix.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 18 of file TransformationMatrix3D.cs.

◆ TransformationMatrix3D() [2/2]

TransformationMatrix3D ( float matrixValues[,])
inline

Creates a matrix from the specified values.

Parameters
matrixValuesA 4x4 array defining the transformation.
Since
IDSImaging.Peak.ICV 1.3

Definition at line 34 of file TransformationMatrix3D.cs.

Member Function Documentation

◆ Diagonal()

static Matrix< T > Diagonal ( uint size,
T value )
inlinestaticinherited

Creates a diagonal matrix with the given value on the diagonal.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 203 of file Matrix.cs.

◆ GetEnumerator()

IEnumerator< T > GetEnumerator ( )
inlineinherited

Definition at line 160 of file Matrix.cs.

◆ GetHashCode()

override int GetHashCode ( )
inlineinherited

Computes a hash code based on all elements in the matrix.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 175 of file Matrix.cs.

◆ Identity()

static Matrix< T > Identity ( uint size)
inlinestaticinherited

Creates an identity matrix of given size.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 218 of file Matrix.cs.

◆ ToString()

override string ToString ( )
inlineinherited

Returns a string representation of the matrix.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 250 of file Matrix.cs.

Property Documentation

◆ Columns

uint Columns
getinherited

Number of columns in the matrix.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 125 of file Matrix.cs.

◆ Comparer

IEqualityComparer<Matrix<T> > Comparer
staticgetinherited

Gets a default equality comparer for comparing Matrix<T> data values.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 157 of file Matrix.cs.

◆ Rows

uint Rows
getinherited

Number of rows in the matrix.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 119 of file Matrix.cs.

◆ this[uint row, uint col]

T this[uint row, uint col]
getsetinherited

Gets or sets the element at the specified row and column.

Since
IDSImaging.Peak.ICV 1.3

Definition at line 131 of file Matrix.cs.