MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.Matrix_float Class Reference
+ Inheritance diagram for meshlib.mrmeshpy.Matrix_float:

Public Member Functions

float __call__ (self, int row, int col)
 
float __call__ (self, int i)
 
float __call__ (self, int row, int col)
 
float __call__ (self, int i)
 
None __init__ (self)
 
None __init__ (self, int numRows, int numCols)
 
None __init__ (self, Matrix_float arg0)
 
None clear (self)
 
std_vector_float data (self)
 
None fill (self, float val)
 
int getColsNum (self)
 
int getRowsNum (self)
 
Matrix_float getSubMatrix (self, int startRow, int nRow, int startCol, int nCol)
 
Matrix_float transposed (self)
 
- Public Member Functions inherited from meshlib.mrmeshpy.RectIndexer
bool areNeigbors (self, PixelId v0, PixelId v1)
 
bool areNeigbors (self, Vector2i pos0, Vector2i pos1)
 
Vector2i dims (self)
 
PixelId getNeighbor (self, PixelId v, OutEdge2 toNei)
 
PixelId getNeighbor (self, PixelId v, Vector2i pos, OutEdge2 toNei)
 
None resize (self, Vector2i dims)
 
int size (self)
 
int toIndex (self, Vector2i pos)
 
PixelId toPixelId (self, Vector2i pos)
 
Vector2i toPos (self, PixelId id)
 
Vector2i toPos (self, int id)
 

Detailed Description

Generated from:  MR::Matrix<float>

Row-major matrix with T values
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.Matrix_float.__init__ ( self)

Reimplemented from meshlib.mrmeshpy.RectIndexer.

◆ __init__() [2/3]

None meshlib.mrmeshpy.Matrix_float.__init__ ( self,
int numRows,
int numCols )

Reimplemented from meshlib.mrmeshpy.RectIndexer.

◆ __init__() [3/3]

None meshlib.mrmeshpy.Matrix_float.__init__ ( self,
Matrix_float arg0 )
Implicit copy constructor.

Reimplemented from meshlib.mrmeshpy.RectIndexer.

Member Function Documentation

◆ __call__() [1/4]

float meshlib.mrmeshpy.Matrix_float.__call__ ( self,
int i )

◆ __call__() [2/4]

float meshlib.mrmeshpy.Matrix_float.__call__ ( self,
int i )

◆ __call__() [3/4]

float meshlib.mrmeshpy.Matrix_float.__call__ ( self,
int row,
int col )
main access method

◆ __call__() [4/4]

float meshlib.mrmeshpy.Matrix_float.__call__ ( self,
int row,
int col )

◆ clear()

None meshlib.mrmeshpy.Matrix_float.clear ( self)

◆ data()

std_vector_float meshlib.mrmeshpy.Matrix_float.data ( self)

◆ fill()

None meshlib.mrmeshpy.Matrix_float.fill ( self,
float val )

◆ getColsNum()

int meshlib.mrmeshpy.Matrix_float.getColsNum ( self)

◆ getRowsNum()

int meshlib.mrmeshpy.Matrix_float.getRowsNum ( self)

◆ getSubMatrix()

Matrix_float meshlib.mrmeshpy.Matrix_float.getSubMatrix ( self,
int startRow,
int nRow,
int startCol,
int nCol )

◆ transposed()

Matrix_float meshlib.mrmeshpy.Matrix_float.transposed ( self)
computes transposed matrix

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