MeshLib Java Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib.Matrix_float:

Public Member Functions

 Matrix_float (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 Matrix_float ()
 Matrix_float (meshlib.Matrix_float _other)
 Matrix_float (long numRows, long numCols)
meshlib.Matrix_float assignFromAnother (meshlib.Matrix_float _other)
java.lang.foreign.MemorySegment call_mut_2 (long row, long col)
java.lang.foreign.MemorySegment call_mut_1 (long i)
float call_2 (long row, long col)
float call_1 (long i)
meshlib.Matrix_float getSubMatrix (long startRow, long nRow, long startCol, long nCol)
meshlib.Matrix_float transposed ()
void fill (float val)
void clear ()
long getRowsNum ()
long getColsNum ()
meshlib.std_vector_float data ()
void resize (meshlib.Vector2i dims)
meshlib.Vector2i dims ()
long size ()
meshlib.PixelId toPixelId (meshlib.Vector2i pos)
long toIndex (meshlib.Vector2i pos)
meshlib.RectIndexer upcastToRectIndexer ()
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.Matrix_float staticDowncastFromRectIndexer (meshlib.RectIndexer object)

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

Row-major matrix with T values Generated from class MR::Matrix<float>. Base classes: Direct: (non-virtual) MR::RectIndexer

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

Constructor & Destructor Documentation

◆ Matrix_float() [1/4]

meshlib.Matrix_float.Matrix_float ( 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.

◆ Matrix_float() [2/4]

meshlib.Matrix_float.Matrix_float ( )

Constructs an empty (default-constructed) instance.

Calls MR_Matrix_float_DefaultConstruct().

◆ Matrix_float() [3/4]

meshlib.Matrix_float.Matrix_float ( meshlib.Matrix_float _other)

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

Calls MR_Matrix_float_ConstructFromAnother().

◆ Matrix_float() [4/4]

meshlib.Matrix_float.Matrix_float ( long numRows,
long numCols )

Generated from constructor MR::Matrix<float>::Matrix. The reference to the parameter numRows might be preserved in the constructed object. The reference to the parameter numCols might be preserved in the constructed object.

Calls MR_Matrix_float_Construct().

Member Function Documentation

◆ assignFromAnother()

meshlib.Matrix_float meshlib.Matrix_float.assignFromAnother ( meshlib.Matrix_float _other)

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

Calls MR_Matrix_float_AssignFromAnother().

◆ call_1()

float meshlib.Matrix_float.call_1 ( long i)

Generated from method MR::Matrix<float>::operator().

Calls MR_Matrix_float_call_1().

◆ call_2()

float meshlib.Matrix_float.call_2 ( long row,
long col )

Generated from method MR::Matrix<float>::operator().

Calls MR_Matrix_float_call_2().

◆ call_mut_1()

java.lang.foreign.MemorySegment meshlib.Matrix_float.call_mut_1 ( long i)

Generated from method MR::Matrix<float>::operator().

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

◆ call_mut_2()

java.lang.foreign.MemorySegment meshlib.Matrix_float.call_mut_2 ( long row,
long col )

main access method Generated from method MR::Matrix<float>::operator().

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

◆ clear()

void meshlib.Matrix_float.clear ( )

Generated from method MR::Matrix<float>::clear.

Calls MR_Matrix_float_clear().

◆ data()

meshlib.std_vector_float meshlib.Matrix_float.data ( )

Generated from method MR::Matrix<float>::data.

Calls MR_Matrix_float_data().

◆ dims()

meshlib.Vector2i meshlib.Matrix_float.dims ( )

Generated from method MR::Matrix<float>::dims.

Calls MR_Matrix_float_dims().

◆ fill()

void meshlib.Matrix_float.fill ( float val)

Generated from method MR::Matrix<float>::fill.

Calls MR_Matrix_float_fill().

◆ getColsNum()

long meshlib.Matrix_float.getColsNum ( )

Generated from method MR::Matrix<float>::getColsNum.

Calls MR_Matrix_float_getColsNum().

◆ getRowsNum()

long meshlib.Matrix_float.getRowsNum ( )

Generated from method MR::Matrix<float>::getRowsNum.

Calls MR_Matrix_float_getRowsNum().

◆ getSubMatrix()

meshlib.Matrix_float meshlib.Matrix_float.getSubMatrix ( long startRow,
long nRow,
long startCol,
long nCol )

Generated from method MR::Matrix<float>::getSubMatrix.

Calls MR_Matrix_float_getSubMatrix().

◆ resize()

void meshlib.Matrix_float.resize ( meshlib.Vector2i dims)

Generated from method MR::Matrix<float>::resize.

Calls MR_Matrix_float_resize().

◆ size()

long meshlib.Matrix_float.size ( )

Generated from method MR::Matrix<float>::size.

Calls MR_Matrix_float_size().

◆ staticDowncastFromRectIndexer()

meshlib.Matrix_float meshlib.Matrix_float.staticDowncastFromRectIndexer ( meshlib.RectIndexer object)
static

Static downcast from the base class MR::RectIndexer. Undefined behavior if the object isn't actually a Matrix_float. The result refers to object.

Calls MR_Matrix_float_MutableStaticDowncastFrom_MR_RectIndexer().

◆ toIndex()

long meshlib.Matrix_float.toIndex ( meshlib.Vector2i pos)

Generated from method MR::Matrix<float>::toIndex.

Calls MR_Matrix_float_toIndex().

◆ toPixelId()

meshlib.PixelId meshlib.Matrix_float.toPixelId ( meshlib.Vector2i pos)

Generated from method MR::Matrix<float>::toPixelId.

Calls MR_Matrix_float_toPixelId().

◆ transposed()

meshlib.Matrix_float meshlib.Matrix_float.transposed ( )

computes transposed matrix Generated from method MR::Matrix<float>::transposed.

Calls MR_Matrix_float_transposed().

◆ upcastToRectIndexer()

meshlib.RectIndexer meshlib.Matrix_float.upcastToRectIndexer ( )

Upcasts to the base class MR::RectIndexer. The result refers to this object.

Calls MR_Matrix_float_MutableUpcastTo_MR_RectIndexer().


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