ParaView
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 bool GetBasisVectors (vtkMatrix4x4 *matrix, vtkVector3d &u, vtkVector3d &v, vtkVector3d &w)
 
static vtkSmartPointer< vtkMatrix4x4 > GetChangeOfBasisMatrix (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 vtkSmartPointer< vtkMatrix4x4 > GetChangeOfBasisMatrix (const vtkVector3d &u, const vtkVector3d &v, const vtkVector3d &w)
 Given a set of basis vectors, returns the change-of-basis matrix. More...
 
static bool AddChangeOfBasisMatrixToFieldData (vtkDataObject *dataObject, vtkMatrix4x4 *matrix)
 Add change-of-basis matrix to the field data for the given dataobject. More...
 
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 39 of file vtkPVChangeOfBasisHelper.h.

Member Function Documentation

◆ GetChangeOfBasisMatrix() [1/2]

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

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

Definition at line 46 of file vtkPVChangeOfBasisHelper.h.

◆ GetBasisVectors()

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

Definition at line 59 of file vtkPVChangeOfBasisHelper.h.

◆ AddChangeOfBasisMatrixToFieldData()

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

Add change-of-basis matrix to the field data for the given dataobject.

Definition at line 93 of file vtkPVChangeOfBasisHelper.h.

◆ GetChangeOfBasisMatrix() [2/2]

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

Definition at line 109 of file vtkPVChangeOfBasisHelper.h.

◆ AddBasisNames()

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

Add basis titles to field data.

Definition at line 129 of file vtkPVChangeOfBasisHelper.h.

◆ GetBasisName()

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

Definition at line 170 of file vtkPVChangeOfBasisHelper.h.

◆ AddBoundingBoxInBasis()

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

Add bounding box in model space.

Definition at line 208 of file vtkPVChangeOfBasisHelper.h.

◆ GetBoundingBoxInBasis()

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

Definition at line 224 of file vtkPVChangeOfBasisHelper.h.


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