Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkTensors Class Reference

represent and manipulate 3x3 tensors. More...

#include <vtkTensors.h>

Inheritance diagram for vtkTensors:

Inheritance graph
[legend]
Collaboration diagram for vtkTensors:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
vtkAttributeDataMakeObject ()
int GetNumberOfTensors ()
vtkTensorGetTensor (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

vtkTensorT

Detailed Description

represent and manipulate 3x3 tensors.

Date:
2000/12/10 20:08:19
Revision:
1.37

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.


Constructor & Destructor Documentation

vtkTensors::vtkTensors   [protected]
 

vtkTensors::~vtkTensors   [protected]
 

vtkTensors::vtkTensors const vtkTensors &    [inline, protected]
 

Definition at line 119 of file vtkTensors.h.


Member Function Documentation

vtkTensors* vtkTensors::New int    dataType [static]
 

vtkTensors* vtkTensors::New   [static]
 

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().

virtual const char* vtkTensors::GetClassName   [virtual]
 

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.

int vtkTensors::IsTypeOf const char *    type [static]
 

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.

virtual int vtkTensors::IsA const char *    type [virtual]
 

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.

vtkTensors* vtkTensors::SafeDownCast vtkObject   o [static]
 

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.

void vtkTensors::PrintSelf ostream &    os,
vtkIndent    indent
[virtual]
 

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.

vtkAttributeData* vtkTensors::MakeObject   [inline, virtual]
 

Create a copy of this object.

Reimplemented from vtkAttributeData.

Definition at line 69 of file vtkTensors.h.

int vtkTensors::GetNumberOfTensors   [inline]
 

Return number of tensors in array.

Definition at line 73 of file vtkTensors.h.

vtkTensor * vtkTensors::GetTensor int    id [inline]
 

Return a pointer to a float tensor for a specific id.

Definition at line 127 of file vtkTensors.h.

void vtkTensors::SetNumberOfTensors int    number [inline]
 

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.

void vtkTensors::GetTensor int    id,
vtkTensor   t
 

Return the Tensor requested in the tensor passed.

void vtkTensors::SetTensor int    id,
vtkTensor   t
 

Insert a Tensor into an object. No range checking performed (fast!). Make sure you use SetNumberOfScalars() to allocate memory prior to using SetTensor().

void vtkTensors::InsertTensor int    id,
vtkTensor   t
 

Insert a Tensor into object. Range checking performed and memory allocated as necessary.

void vtkTensors::InsertTensor int    id,
float    t11,
float    t12,
float    t13,
float    t21,
float    t22,
float    t23,
float    t31,
float    t32,
float    t33
 

int vtkTensors::InsertNextTensor vtkTensor   t
 

Insert a Tensor at end of array and return its location (id) in the array.

int vtkTensors::InsertNextTensor float    t11,
float    t12,
float    t13,
float    t21,
float    t22,
float    t23,
float    t31,
float    t32,
float    t33
 

void vtkTensors::GetTensors vtkIdList   ptId,
vtkTensors *    fv
 

Given a list of pt ids, return an array of tensors.

void vtkTensors::GetTensors vtkIdList   ptId,
vtkTensors &    fv
[inline]
 

For legacy compatibility. Do not use.

Definition at line 110 of file vtkTensors.h.

void vtkTensors::GetTensor int    id,
vtkTensor   t
[inline]
 

Definition at line 112 of file vtkTensors.h.

void vtkTensors::operator= const vtkTensors &    [inline, protected]
 

Definition at line 120 of file vtkTensors.h.


Member Data Documentation

vtkTensor* vtkTensors::T [protected]
 

Definition at line 122 of file vtkTensors.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 13:00:46 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001