VTK  9.4.20241108
Namespaces | Classes | Functions
vtkMatrixUtilities Namespace Reference

Namespaces

namespace  detail
 

Classes

struct  Layout
 This struct determines a prior transform to input matrices, changing the way they are indexed. More...
 
struct  Mapper
 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...
 
struct  ScalarTypeExtractor
 This class extract the underlying value type of containers. More...
 
class  Wrapper
 Matrix wrapping class. More...
 

Functions

template<class MatrixT >
static constexpr bool MatrixIs2DArray ()
 At compile time, returns true if the templated parameter is a 2D array (double[3][3] for instance), false otherwise.
 
template<class MatrixT >
static constexpr bool MatrixIsPointerToPointer ()
 At compile time, returns true if the templated parameter is a pointer to pointer (double** for instance), false otherwise.
 
template<class MatrixT >
static constexpr bool MatrixLayoutIs2D ()
 At compile time, returns true if the templated parameter layout is 2D, i.e.
 

Function Documentation

◆ MatrixIs2DArray()

template<class MatrixT >
static constexpr bool vtkMatrixUtilities::MatrixIs2DArray ( )
staticconstexpr

At compile time, returns true if the templated parameter is a 2D array (double[3][3] for instance), false otherwise.

Definition at line 117 of file vtkMatrixUtilities.h.

◆ MatrixIsPointerToPointer()

template<class MatrixT >
static constexpr bool vtkMatrixUtilities::MatrixIsPointerToPointer ( )
staticconstexpr

At compile time, returns true if the templated parameter is a pointer to pointer (double** for instance), false otherwise.

Definition at line 188 of file vtkMatrixUtilities.h.

◆ MatrixLayoutIs2D()

template<class MatrixT >
static constexpr bool vtkMatrixUtilities::MatrixLayoutIs2D ( )
staticconstexpr

At compile time, returns true if the templated parameter layout is 2D, i.e.

elements can be accessed using the operator [][]. It returns false otherwise.

Definition at line 202 of file vtkMatrixUtilities.h.