#include <vtkTensors.h>
Inheritance diagram for vtkTensors:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkAttributeData * | MakeObject () |
int | GetNumberOfTensors () |
vtkTensor * | GetTensor (int id) |
void | SetNumberOfTensors (int number) |
void | GetTensor (int id, vtkTensor *t) |
void | SetTensor (int id, vtkTensor *t) |
void | InsertTensor (int id, vtkTensor *t) |
void | InsertTensor (int id, float t11, float t12, float t13, float t21, float t22, float t23, float t31, float t32, float t33) |
int | InsertNextTensor (vtkTensor *t) |
int | InsertNextTensor (float t11, float t12, float t13, float t21, float t22, float t23, float t31, float t32, float t33) |
void | GetTensors (vtkIdList *ptId, vtkTensors *fv) |
void | GetTensors (vtkIdList &ptId, vtkTensors &fv) |
void | GetTensor (int id, vtkTensor &t) |
Static Public Methods | |
vtkTensors * | New (int dataType) |
vtkTensors * | New () |
int | IsTypeOf (const char *type) |
vtkTensors * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkTensors () | |
~vtkTensors () | |
vtkTensors (const vtkTensors &) | |
void | operator= (const vtkTensors &) |
Protected Attributes | |
vtkTensor * | T |
vtkTensors represents 3x3 tensors. The data model for vtkTensors is an array of 3x3 matrices accessible by (point or cell) id.
Definition at line 59 of file vtkTensors.h.
|
|
|
|
|
Definition at line 119 of file vtkTensors.h. |
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. Reimplemented in vtkFloatTensors. Referenced by MakeObject().
|
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAttributeData. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAttributeData. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAttributeData. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAttributeData. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkAttributeData. |
|
Create a copy of this object. Reimplemented from vtkAttributeData. Definition at line 69 of file vtkTensors.h. |
|
Return number of tensors in array. Definition at line 73 of file vtkTensors.h. |
|
Return a pointer to a float tensor for a specific id. Definition at line 127 of file vtkTensors.h. |
|
Specify the number of tensors for this object to hold. Does an allocation as well as setting the MaxId ivar. Used in conjunction with SetTensor() method for fast insertion. Definition at line 133 of file vtkTensors.h. |
|
Return the Tensor requested in the tensor passed. |
|
Insert a Tensor into an object. No range checking performed (fast!). Make sure you use SetNumberOfScalars() to allocate memory prior to using SetTensor(). |
|
Insert a Tensor into object. Range checking performed and memory allocated as necessary. |
|
|
|
Insert a Tensor at end of array and return its location (id) in the array. |
|
|
|
Given a list of pt ids, return an array of tensors. |
|
For legacy compatibility. Do not use. Definition at line 110 of file vtkTensors.h. |
|
Definition at line 112 of file vtkTensors.h. |
|
Definition at line 120 of file vtkTensors.h. |
|
Definition at line 122 of file vtkTensors.h. |