MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.Matrix4_unsigned_char Class Reference
Inheritance diagram for meshlib.Matrix4_unsigned_char:

Public Member Functions

 Matrix4_unsigned_char (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Matrix4_unsigned_char ()
 Matrix4_unsigned_char (meshlib.Matrix4_unsigned_char _other)
 Matrix4_unsigned_char (meshlib.Vector4_unsigned_char x, meshlib.Vector4_unsigned_char y, meshlib.Vector4_unsigned_char z, meshlib.Vector4_unsigned_char w)
 Matrix4_unsigned_char (meshlib.Matrix3_unsigned_char r, meshlib.Vector3_unsigned_char t)
meshlib.Matrix4_unsigned_char assignFromAnother (meshlib.Matrix4_unsigned_char _other)
byte call (int row, int col)
java.lang.foreign.MemorySegment call_mut (int row, int col)
meshlib.Vector4_unsigned_char index (int row)
meshlib.Vector4_unsigned_char index_mut (int row)
meshlib.Vector4_unsigned_char col (int i)
byte trace ()
byte normSq ()
double norm ()
meshlib.Matrix3_unsigned_char submatrix3 (int i, int j)
byte det ()
meshlib.Matrix4_unsigned_char transposed ()
meshlib.Matrix3_unsigned_char getRotation ()
void setRotation (meshlib.Matrix3_unsigned_char rot)
meshlib.Vector3_unsigned_char getTranslation ()
void setTranslation (meshlib.Vector3_unsigned_char t)
java.lang.foreign.MemorySegment data_mut ()
java.lang.Byte data ()
meshlib.Vector4_unsigned_char x ()
void setX (meshlib.Vector4_unsigned_char value)
meshlib.Vector4_unsigned_char y ()
void setY (meshlib.Vector4_unsigned_char value)
meshlib.Vector4_unsigned_char z ()
void setZ (meshlib.Vector4_unsigned_char value)
meshlib.Vector4_unsigned_char w ()
void setW (meshlib.Vector4_unsigned_char value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Static Public Member Functions

static meshlib.Matrix4_unsigned_char zero ()
static meshlib.Matrix4_unsigned_char identity ()
static meshlib.Matrix4_unsigned_char scale (byte s)

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

arbitrary 4x4 matrix Generated from class MR::Matrix4<unsigned char>.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ Matrix4_unsigned_char() [1/5]

meshlib.Matrix4_unsigned_char.Matrix4_unsigned_char ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ Matrix4_unsigned_char() [2/5]

meshlib.Matrix4_unsigned_char.Matrix4_unsigned_char ( )

Constructs an empty (default-constructed) instance.

Calls MR_Matrix4_unsigned_char_DefaultConstruct().

◆ Matrix4_unsigned_char() [3/5]

meshlib.Matrix4_unsigned_char.Matrix4_unsigned_char ( meshlib.Matrix4_unsigned_char _other)

Generated from constructor MR::Matrix4<unsigned char>::Matrix4. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_Matrix4_unsigned_char_ConstructFromAnother().

◆ Matrix4_unsigned_char() [4/5]

initializes matrix from 4 row-vectors Generated from constructor MR::Matrix4<unsigned char>::Matrix4. The reference to the parameter x might be preserved in the constructed object. The reference to the parameter y might be preserved in the constructed object. The reference to the parameter z might be preserved in the constructed object. The reference to the parameter w might be preserved in the constructed object.

Calls MR_Matrix4_unsigned_char_Construct_4().

◆ Matrix4_unsigned_char() [5/5]

meshlib.Matrix4_unsigned_char.Matrix4_unsigned_char ( meshlib.Matrix3_unsigned_char r,
meshlib.Vector3_unsigned_char t )

construct from rotation matrix and translation vector Generated from constructor MR::Matrix4<unsigned char>::Matrix4. The reference to the parameter r might be preserved in the constructed object. The reference to the parameter t might be preserved in the constructed object.

Calls MR_Matrix4_unsigned_char_Construct_2().

Member Function Documentation

◆ assignFromAnother()

meshlib.Matrix4_unsigned_char meshlib.Matrix4_unsigned_char.assignFromAnother ( meshlib.Matrix4_unsigned_char _other)

Generated from method MR::Matrix4<unsigned char>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_Matrix4_unsigned_char_AssignFromAnother().

◆ call()

byte meshlib.Matrix4_unsigned_char.call ( int row,
int col )

element access Generated from method MR::Matrix4<unsigned char>::operator().

Calls MR_Matrix4_unsigned_char_call().

◆ call_mut()

java.lang.foreign.MemorySegment meshlib.Matrix4_unsigned_char.call_mut ( int row,
int col )

Generated from method MR::Matrix4<unsigned char>::operator().

Calls MR_Matrix4_unsigned_char_call_mut(). Some types are raw C types, see the C bindings for the details.

◆ col()

meshlib.Vector4_unsigned_char meshlib.Matrix4_unsigned_char.col ( int i)

column access Generated from method MR::Matrix4<unsigned char>::col.

Calls MR_Matrix4_unsigned_char_col().

◆ data()

java.lang.Byte meshlib.Matrix4_unsigned_char.data ( )

Generated from method MR::Matrix4<unsigned char>::data.

Calls MR_Matrix4_unsigned_char_data().

◆ data_mut()

java.lang.foreign.MemorySegment meshlib.Matrix4_unsigned_char.data_mut ( )

Generated from method MR::Matrix4<unsigned char>::data.

Calls MR_Matrix4_unsigned_char_data_mut(). Some types are raw C types, see the C bindings for the details.

◆ det()

byte meshlib.Matrix4_unsigned_char.det ( )

computes determinant of the matrix Generated from method MR::Matrix4<unsigned char>::det.

Calls MR_Matrix4_unsigned_char_det().

◆ getRotation()

meshlib.Matrix3_unsigned_char meshlib.Matrix4_unsigned_char.getRotation ( )

Generated from method MR::Matrix4<unsigned char>::getRotation.

Calls MR_Matrix4_unsigned_char_getRotation().

◆ getTranslation()

meshlib.Vector3_unsigned_char meshlib.Matrix4_unsigned_char.getTranslation ( )

Generated from method MR::Matrix4<unsigned char>::getTranslation.

Calls MR_Matrix4_unsigned_char_getTranslation().

◆ identity()

meshlib.Matrix4_unsigned_char meshlib.Matrix4_unsigned_char.identity ( )
static

Generated from method MR::Matrix4<unsigned char>::identity.

Calls MR_Matrix4_unsigned_char_identity().

◆ index()

meshlib.Vector4_unsigned_char meshlib.Matrix4_unsigned_char.index ( int row)

row access Generated from method MR::Matrix4<unsigned char>::operator[].

Calls MR_Matrix4_unsigned_char_index().

◆ index_mut()

meshlib.Vector4_unsigned_char meshlib.Matrix4_unsigned_char.index_mut ( int row)

Generated from method MR::Matrix4<unsigned char>::operator[].

Calls MR_Matrix4_unsigned_char_index_mut().

◆ norm()

double meshlib.Matrix4_unsigned_char.norm ( )

Generated from method MR::Matrix4<unsigned char>::norm.

Calls MR_Matrix4_unsigned_char_norm().

◆ normSq()

byte meshlib.Matrix4_unsigned_char.normSq ( )

compute sum of squared matrix elements Generated from method MR::Matrix4<unsigned char>::normSq.

Calls MR_Matrix4_unsigned_char_normSq().

◆ scale()

meshlib.Matrix4_unsigned_char meshlib.Matrix4_unsigned_char.scale ( byte s)
static

returns a matrix that scales uniformly Generated from method MR::Matrix4<unsigned char>::scale.

Calls MR_Matrix4_unsigned_char_scale().

◆ setRotation()

void meshlib.Matrix4_unsigned_char.setRotation ( meshlib.Matrix3_unsigned_char rot)

Generated from method MR::Matrix4<unsigned char>::setRotation.

Calls MR_Matrix4_unsigned_char_setRotation().

◆ setTranslation()

void meshlib.Matrix4_unsigned_char.setTranslation ( meshlib.Vector3_unsigned_char t)

Generated from method MR::Matrix4<unsigned char>::setTranslation.

Calls MR_Matrix4_unsigned_char_setTranslation().

◆ setW()

void meshlib.Matrix4_unsigned_char.setW ( meshlib.Vector4_unsigned_char value)

Modifies a member variable of class MR::Matrix4<unsigned char> named w. The reference to the parameter value might be preserved in this object in element w.

Calls MR_Matrix4_unsigned_char_Set_w().

◆ setX()

void meshlib.Matrix4_unsigned_char.setX ( meshlib.Vector4_unsigned_char value)

rows, identity matrix by default Modifies a member variable of class MR::Matrix4<unsigned char> named x. The reference to the parameter value might be preserved in this object in element x.

Calls MR_Matrix4_unsigned_char_Set_x().

◆ setY()

void meshlib.Matrix4_unsigned_char.setY ( meshlib.Vector4_unsigned_char value)

Modifies a member variable of class MR::Matrix4<unsigned char> named y. The reference to the parameter value might be preserved in this object in element y.

Calls MR_Matrix4_unsigned_char_Set_y().

◆ setZ()

void meshlib.Matrix4_unsigned_char.setZ ( meshlib.Vector4_unsigned_char value)

Modifies a member variable of class MR::Matrix4<unsigned char> named z. The reference to the parameter value might be preserved in this object in element z.

Calls MR_Matrix4_unsigned_char_Set_z().

◆ submatrix3()

meshlib.Matrix3_unsigned_char meshlib.Matrix4_unsigned_char.submatrix3 ( int i,
int j )

computes submatrix of the matrix with excluded i-th row and j-th column Generated from method MR::Matrix4<unsigned char>::submatrix3.

Calls MR_Matrix4_unsigned_char_submatrix3().

◆ trace()

byte meshlib.Matrix4_unsigned_char.trace ( )

computes trace of the matrix Generated from method MR::Matrix4<unsigned char>::trace.

Calls MR_Matrix4_unsigned_char_trace().

◆ transposed()

meshlib.Matrix4_unsigned_char meshlib.Matrix4_unsigned_char.transposed ( )

computes transposed matrix Generated from method MR::Matrix4<unsigned char>::transposed.

Calls MR_Matrix4_unsigned_char_transposed().

◆ w()

meshlib.Vector4_unsigned_char meshlib.Matrix4_unsigned_char.w ( )

Returns a pointer to a member variable of class MR::Matrix4<unsigned char> named w. The reference to this object might be preserved as the return value.

Calls MR_Matrix4_unsigned_char_Get_w().

◆ x()

meshlib.Vector4_unsigned_char meshlib.Matrix4_unsigned_char.x ( )

rows, identity matrix by default Returns a pointer to a member variable of class MR::Matrix4<unsigned char> named x. The reference to this object might be preserved as the return value.

Calls MR_Matrix4_unsigned_char_Get_x().

◆ y()

meshlib.Vector4_unsigned_char meshlib.Matrix4_unsigned_char.y ( )

Returns a pointer to a member variable of class MR::Matrix4<unsigned char> named y. The reference to this object might be preserved as the return value.

Calls MR_Matrix4_unsigned_char_Get_y().

◆ z()

meshlib.Vector4_unsigned_char meshlib.Matrix4_unsigned_char.z ( )

Returns a pointer to a member variable of class MR::Matrix4<unsigned char> named z. The reference to this object might be preserved as the return value.

Calls MR_Matrix4_unsigned_char_Get_z().

◆ zero()

meshlib.Matrix4_unsigned_char meshlib.Matrix4_unsigned_char.zero ( )
static

Generated from method MR::Matrix4<unsigned char>::zero.

Calls MR_Matrix4_unsigned_char_zero().


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