VTK
9.1.0
|
This class is a helper class to compute at compile time the index of a matrix stored as a 1D array from its 2D coordinates. More...
#include <vtkMatrixUtilities.h>
Static Public Member Functions | |
template<int RowT, int ColT> | |
static constexpr int | GetIndex () |
This class is a helper class to compute at compile time the index of a matrix stored as a 1D array from its 2D coordinates.
This class maps matrices of dimension RowsT x ColsT. The LayoutT template parameter permits to switch to the indexing of the transpose of the matrix. LayoutT can be set to Layout::Identity for a row-wise ordering, or to Layout::Transpose for a column-wise ordering
Definition at line 199 of file vtkMatrixUtilities.h.
|
inlinestaticconstexpr |
Definition at line 202 of file vtkMatrixUtilities.h.