#include <Libs/vtkAddon/vtkAddonMathUtilities.h>
|
| virtual const char * | GetClassName () |
| |
| virtual int | IsA (const char *type) |
| |
| virtual void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
| |
|
| static bool | FromString (vtkMatrix4x4 *mat, const std::string &str, const std::string delimiterExp="(\|\|\|\|\\\|\)") |
| | Convert a string in row-major order to a matrix. More...
|
| |
| static void | GetOrientationMatrix (vtkMatrix4x4 *source, vtkMatrix3x3 *dest) |
| |
| static int | IsTypeOf (const char *type) |
| |
| static bool | MatrixAreEqual (const vtkMatrix4x4 *m1, const vtkMatrix4x4 *m2, double tolerance=1e-3) |
| |
| static bool | MatrixAreEqual (const vtkMatrix4x4 *m1, const vtkMatrix3x3 *m2, double tolerance=1e-3) |
| |
| static bool | MatrixAreEqual (const vtkMatrix3x3 *m1, const vtkMatrix4x4 *m2, double tolerance=1e-3) |
| |
| static bool | MatrixAreEqual (const vtkMatrix3x3 *m1, const vtkMatrix3x3 *m2, double tolerance=1e-3) |
| |
| static vtkAddonMathUtilities * | New () |
| |
| static void | NormalizeColumns (vtkMatrix3x3 *m, double scale[3]) |
| | Normalizes columns of m matrix in-place and return original column norms in scale vector. More...
|
| |
| static void | NormalizeOrientationMatrixColumns (vtkMatrix4x4 *m, double scale[3]) |
| | Normalizes columns of top-left 3x3 corner of m matrix in-place and return original column norms in scale vector. More...
|
| |
| static vtkAddonMathUtilities * | SafeDownCast (vtkObject *o) |
| |
| static void | SetOrientationMatrix (vtkMatrix3x3 *source, vtkMatrix4x4 *dest) |
| |
| static std::string | ToString (const vtkMatrix4x4 *mat, const std::string delimiter=" ", const std::string rowDelimiter="") |
| | Convert a matrix to a string in row-major order. More...
|
| |
Definition at line 29 of file vtkAddonMathUtilities.h.
◆ Superclass
◆ vtkAddonMathUtilities()
| vtkAddonMathUtilities::vtkAddonMathUtilities |
( |
| ) |
|
|
protected |
◆ ~vtkAddonMathUtilities()
| vtkAddonMathUtilities::~vtkAddonMathUtilities |
( |
| ) |
|
|
protected |
◆ FromString()
| static bool vtkAddonMathUtilities::FromString |
( |
vtkMatrix4x4 * |
mat, |
|
|
const std::string & |
str, |
|
|
const std::string |
delimiterExp = "(\|\|\|\|\\\|\)" |
|
) |
| |
|
static |
Convert a string in row-major order to a matrix.
◆ GetClassName()
| virtual const char* vtkAddonMathUtilities::GetClassName |
( |
| ) |
|
|
virtual |
◆ GetOrientationMatrix()
| static void vtkAddonMathUtilities::GetOrientationMatrix |
( |
vtkMatrix4x4 * |
source, |
|
|
vtkMatrix3x3 * |
dest |
|
) |
| |
|
static |
Update orientation vectors of dest matrix with values from source matrix.
◆ IsA()
| virtual int vtkAddonMathUtilities::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ IsTypeOf()
| static int vtkAddonMathUtilities::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ MatrixAreEqual() [1/4]
| static bool vtkAddonMathUtilities::MatrixAreEqual |
( |
const vtkMatrix4x4 * |
m1, |
|
|
const vtkMatrix4x4 * |
m2, |
|
|
double |
tolerance = 1e-3 |
|
) |
| |
|
static |
◆ MatrixAreEqual() [2/4]
| static bool vtkAddonMathUtilities::MatrixAreEqual |
( |
const vtkMatrix4x4 * |
m1, |
|
|
const vtkMatrix3x3 * |
m2, |
|
|
double |
tolerance = 1e-3 |
|
) |
| |
|
static |
◆ MatrixAreEqual() [3/4]
| static bool vtkAddonMathUtilities::MatrixAreEqual |
( |
const vtkMatrix3x3 * |
m1, |
|
|
const vtkMatrix4x4 * |
m2, |
|
|
double |
tolerance = 1e-3 |
|
) |
| |
|
static |
◆ MatrixAreEqual() [4/4]
| static bool vtkAddonMathUtilities::MatrixAreEqual |
( |
const vtkMatrix3x3 * |
m1, |
|
|
const vtkMatrix3x3 * |
m2, |
|
|
double |
tolerance = 1e-3 |
|
) |
| |
|
static |
◆ New()
◆ NormalizeColumns()
| static void vtkAddonMathUtilities::NormalizeColumns |
( |
vtkMatrix3x3 * |
m, |
|
|
double |
scale[3] |
|
) |
| |
|
static |
Normalizes columns of m matrix in-place and return original column norms in scale vector.
◆ NormalizeOrientationMatrixColumns()
| static void vtkAddonMathUtilities::NormalizeOrientationMatrixColumns |
( |
vtkMatrix4x4 * |
m, |
|
|
double |
scale[3] |
|
) |
| |
|
static |
Normalizes columns of top-left 3x3 corner of m matrix in-place and return original column norms in scale vector.
◆ PrintSelf()
| virtual void vtkAddonMathUtilities::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
|
virtual |
◆ SafeDownCast()
◆ SetOrientationMatrix()
| static void vtkAddonMathUtilities::SetOrientationMatrix |
( |
vtkMatrix3x3 * |
source, |
|
|
vtkMatrix4x4 * |
dest |
|
) |
| |
|
static |
Update orientation vectors of dest matrix with values from source matrix.
◆ ToString()
| static std::string vtkAddonMathUtilities::ToString |
( |
const vtkMatrix4x4 * |
mat, |
|
|
const std::string |
delimiter = " ", |
|
|
const std::string |
rowDelimiter = "" |
|
) |
| |
|
static |
Convert a matrix to a string in row-major order.
The documentation for this class was generated from the following file: