#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.
|
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 number of tensors in array. |
|
Return the Tensor requested in the tensor passed. |
|
Return a pointer to a float tensor for a specific id. |
|
For legacy compatibility. Do not use. |
|
Given a list of pt ids, return an array of tensors. |
|
Insert a Tensor at end of array and return its location (id) in the array. |
|
Insert a Tensor into object. Range checking performed and memory allocated as necessary. |
|
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. |
|
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. |
|
Create a copy of this object. Implements vtkAttributeData. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. Reimplemented in vtkFloatTensors. |
|
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. |
|
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. |
|
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. |
|
Insert a Tensor into an object. No range checking performed (fast!). Make sure you use SetNumberOfScalars() to allocate memory prior to using SetTensor(). |