Static Public Member Functions | List of all members
vtkPVChangeOfBasisHelper Class Reference

vtkPVChangeOfBasisHelper is designed for ORNL-SNS use-cases where we needed to add support for different basis. More...

#include <vtkPVChangeOfBasisHelper.h>

Static Public Member Functions

static vtkSmartPointer< vtkMatrix4x4GetChangeOfBasisMatrix (const vtkVector3d &u, const vtkVector3d &v, const vtkVector3d &w)
 Given a set of basis vectors, returns the change-of-basis matrix. More...
 
static bool GetBasisVectors (vtkMatrix4x4 *matrix, vtkVector3d &u, vtkVector3d &v, vtkVector3d &w)
 
static bool AddChangeOfBasisMatrixToFieldData (vtkDataObject *dataObject, vtkMatrix4x4 *matrix)
 
static vtkSmartPointer< vtkMatrix4x4GetChangeOfBasisMatrix (vtkDataObject *dataObject)
 
static void GetBasisName (vtkDataObject *dataObject, const char *&utitle, const char *&vtitle, const char *&wtitle)
 
static bool GetBoundingBoxInBasis (vtkDataObject *dataObject, double bbox[6])
 
static bool AddBasisNames (vtkDataObject *dataObject, const char *utitle, const char *vtitle, const char *wtitle)
 Add basis titles to field data. More...
 
static bool AddBoundingBoxInBasis (vtkDataObject *dataObject, const double bbox[6])
 Add bounding box in model space. More...
 

Detailed Description

vtkPVChangeOfBasisHelper is designed for ORNL-SNS use-cases where we needed to add support for different basis.

Definition at line 21 of file vtkPVChangeOfBasisHelper.h.

Member Function Documentation

◆ GetChangeOfBasisMatrix() [1/2]

static vtkSmartPointer<vtkMatrix4x4> vtkPVChangeOfBasisHelper::GetChangeOfBasisMatrix ( const vtkVector3d u,
const vtkVector3d v,
const vtkVector3d w 
)
static

Given a set of basis vectors, returns the change-of-basis matrix.

◆ GetBasisVectors()

static bool vtkPVChangeOfBasisHelper::GetBasisVectors ( vtkMatrix4x4 matrix,
vtkVector3d u,
vtkVector3d v,
vtkVector3d w 
)
static

◆ AddChangeOfBasisMatrixToFieldData()

static bool vtkPVChangeOfBasisHelper::AddChangeOfBasisMatrixToFieldData ( vtkDataObject dataObject,
vtkMatrix4x4 matrix 
)
static

◆ GetChangeOfBasisMatrix() [2/2]

static vtkSmartPointer<vtkMatrix4x4> vtkPVChangeOfBasisHelper::GetChangeOfBasisMatrix ( vtkDataObject dataObject)
static

◆ AddBasisNames()

static bool vtkPVChangeOfBasisHelper::AddBasisNames ( vtkDataObject dataObject,
const char *  utitle,
const char *  vtitle,
const char *  wtitle 
)
static

Add basis titles to field data.

◆ GetBasisName()

static void vtkPVChangeOfBasisHelper::GetBasisName ( vtkDataObject dataObject,
const char *&  utitle,
const char *&  vtitle,
const char *&  wtitle 
)
static

◆ AddBoundingBoxInBasis()

static bool vtkPVChangeOfBasisHelper::AddBoundingBoxInBasis ( vtkDataObject dataObject,
const double  bbox[6] 
)
static

Add bounding box in model space.

◆ GetBoundingBoxInBasis()

static bool vtkPVChangeOfBasisHelper::GetBoundingBoxInBasis ( vtkDataObject dataObject,
double  bbox[6] 
)
static

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