VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkCellData Class Reference

represent and manipulate cell attribute data More...

#include <vtkCellData.h>

Inheritance diagram for vtkCellData:
[legend]
Collaboration diagram for vtkCellData:
[legend]

Public Types

typedef vtkDataSetAttributes Superclass
 
- Public Types inherited from vtkDataSetAttributes
enum  AttributeTypes {
  SCALARS =0, VECTORS =1, NORMALS =2, TCOORDS =3,
  TENSORS =4, GLOBALIDS =5, PEDIGREEIDS =6, EDGEFLAG =7,
  NUM_ATTRIBUTES
}
 
enum  AttributeLimitTypes { MAX, EXACT, NOLIMIT }
 
enum  AttributeCopyOperations { COPYTUPLE =0, INTERPOLATE =1, PASSDATA =2, ALLCOPY }
 
typedef vtkFieldData Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
- Public Member Functions inherited from vtkDataSetAttributes
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Initialize ()
 
virtual void Update ()
 
virtual void DeepCopy (vtkFieldData *pd)
 
virtual void ShallowCopy (vtkFieldData *pd)
 
int SetActiveAttribute (const char *name, int attributeType)
 
int SetActiveAttribute (int index, int attributeType)
 
void GetAttributeIndices (int *indexArray)
 
int IsArrayAnAttribute (int idx)
 
vtkDataArrayGetAttribute (int attributeType)
 
vtkAbstractArrayGetAbstractAttribute (int attributeType)
 
void SetCopyAttribute (int index, int value, int ctype=ALLCOPY)
 
virtual void CopyAllOn (int ctype=ALLCOPY)
 
virtual void CopyAllOff (int ctype=ALLCOPY)
 
virtual void PassData (vtkFieldData *fd)
 
void CopyData (vtkDataSetAttributes *fromPd, vtkIdType fromId, vtkIdType toId)
 
int SetScalars (vtkDataArray *da)
 
int SetActiveScalars (const char *name)
 
vtkDataArrayGetScalars ()
 
int SetVectors (vtkDataArray *da)
 
int SetActiveVectors (const char *name)
 
vtkDataArrayGetVectors ()
 
int SetNormals (vtkDataArray *da)
 
int SetActiveNormals (const char *name)
 
vtkDataArrayGetNormals ()
 
int SetTCoords (vtkDataArray *da)
 
int SetActiveTCoords (const char *name)
 
vtkDataArrayGetTCoords ()
 
int SetTensors (vtkDataArray *da)
 
int SetActiveTensors (const char *name)
 
vtkDataArrayGetTensors ()
 
int SetGlobalIds (vtkDataArray *da)
 
int SetActiveGlobalIds (const char *name)
 
vtkDataArrayGetGlobalIds ()
 
int SetPedigreeIds (vtkAbstractArray *da)
 
int SetActivePedigreeIds (const char *name)
 
vtkAbstractArrayGetPedigreeIds ()
 
vtkDataArrayGetScalars (const char *name)
 
vtkDataArrayGetVectors (const char *name)
 
vtkDataArrayGetNormals (const char *name)
 
vtkDataArrayGetTCoords (const char *name)
 
vtkDataArrayGetTensors (const char *name)
 
vtkDataArrayGetGlobalIds (const char *name)
 
vtkAbstractArrayGetPedigreeIds (const char *name)
 
virtual void RemoveArray (const char *name)
 
virtual void RemoveArray (int index)
 
void SetCopyScalars (int i, int ctype=ALLCOPY)
 
int GetCopyScalars (int ctype=ALLCOPY)
 
virtual void CopyScalarsOn ()
 
virtual void CopyScalarsOff ()
 
void SetCopyVectors (int i, int ctype=ALLCOPY)
 
int GetCopyVectors (int ctype=ALLCOPY)
 
virtual void CopyVectorsOn ()
 
virtual void CopyVectorsOff ()
 
void SetCopyNormals (int i, int ctype=ALLCOPY)
 
int GetCopyNormals (int ctype=ALLCOPY)
 
virtual void CopyNormalsOn ()
 
virtual void CopyNormalsOff ()
 
void SetCopyTCoords (int i, int ctype=ALLCOPY)
 
int GetCopyTCoords (int ctype=ALLCOPY)
 
virtual void CopyTCoordsOn ()
 
virtual void CopyTCoordsOff ()
 
void SetCopyTensors (int i, int ctype=ALLCOPY)
 
int GetCopyTensors (int ctype=ALLCOPY)
 
virtual void CopyTensorsOn ()
 
virtual void CopyTensorsOff ()
 
void SetCopyGlobalIds (int i, int ctype=ALLCOPY)
 
int GetCopyGlobalIds (int ctype=ALLCOPY)
 
virtual void CopyGlobalIdsOn ()
 
virtual void CopyGlobalIdsOff ()
 
void SetCopyPedigreeIds (int i, int ctype=ALLCOPY)
 
int GetCopyPedigreeIds (int ctype=ALLCOPY)
 
virtual void CopyPedigreeIdsOn ()
 
virtual void CopyPedigreeIdsOff ()
 
void CopyAllocate (vtkDataSetAttributes *pd, vtkIdType sze=0, vtkIdType ext=1000)
 
void CopyAllocate (vtkDataSetAttributes *pd, vtkIdType sze, vtkIdType ext, int shallowCopyArrays)
 
void CopyStructuredData (vtkDataSetAttributes *inDsa, const int *inExt, const int *outExt)
 
void CopyTuple (vtkAbstractArray *fromData, vtkAbstractArray *toData, vtkIdType fromId, vtkIdType toId)
 
void InterpolateAllocate (vtkDataSetAttributes *pd, vtkIdType sze=0, vtkIdType ext=1000)
 
void InterpolateAllocate (vtkDataSetAttributes *pd, vtkIdType sze, vtkIdType ext, int shallowCopyArrays)
 
void InterpolatePoint (vtkDataSetAttributes *fromPd, vtkIdType toId, vtkIdList *ids, double *weights)
 
void InterpolateEdge (vtkDataSetAttributes *fromPd, vtkIdType toId, vtkIdType p1, vtkIdType p2, double t)
 
void InterpolateTime (vtkDataSetAttributes *from1, vtkDataSetAttributes *from2, vtkIdType id, double t)
 
void CopyAllocate (vtkDataSetAttributes::FieldList &list, vtkIdType sze=0, vtkIdType ext=1000)
 
void CopyData (vtkDataSetAttributes::FieldList &list, vtkDataSetAttributes *dsa, int idx, vtkIdType fromId, vtkIdType toId)
 
void InterpolateAllocate (vtkDataSetAttributes::FieldList &list, vtkIdType sze=0, vtkIdType ext=1000)
 
void InterpolatePoint (vtkDataSetAttributes::FieldList &list, vtkDataSetAttributes *fromPd, int idx, vtkIdType toId, vtkIdList *ids, double *weights)
 

Static Public Member Functions

static vtkCellDataNew ()
 
static int IsTypeOf (const char *type)
 
static vtkCellDataSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkDataSetAttributes
static vtkDataSetAttributesNew ()
 
static int IsTypeOf (const char *type)
 
static vtkDataSetAttributesSafeDownCast (vtkObject *o)
 
static const char * GetAttributeTypeAsString (int attributeType)
 
static const char * GetLongAttributeTypeAsString (int attributeType)
 

Protected Member Functions

 vtkCellData ()
 
 ~vtkCellData ()
 
- Protected Member Functions inherited from vtkDataSetAttributes
 vtkDataSetAttributes ()
 
 ~vtkDataSetAttributes ()
 
void InternalCopyAllocate (vtkDataSetAttributes *pd, int ctype, vtkIdType sze=0, vtkIdType ext=1000, int shallowCopyArrays=0)
 
void InternalCopyAllocate (vtkDataSetAttributes::FieldList &list, int ctype, vtkIdType sze, vtkIdType ext)
 
virtual void InitializeFields ()
 

Additional Inherited Members

- Protected Attributes inherited from vtkDataSetAttributes
int AttributeIndices [NUM_ATTRIBUTES]
 
int CopyAttributeFlags [ALLCOPY][NUM_ATTRIBUTES]
 
vtkFieldData::BasicIterator RequiredArrays
 
int * TargetIndices
 
- Static Protected Attributes inherited from vtkDataSetAttributes
static const int NumberOfAttributeComponents [NUM_ATTRIBUTES]
 
static const int AttributeLimits [NUM_ATTRIBUTES]
 
static const char AttributeNames [NUM_ATTRIBUTES][12]
 
static const char LongAttributeNames [NUM_ATTRIBUTES][35]
 

Detailed Description

represent and manipulate cell attribute data

vtkCellData is a class that is used to represent and manipulate cell attribute data (e.g., scalars, vectors, normals, texture coordinates, etc.) Special methods are provided to work with filter objects, such as passing data through filter, copying data from one cell to another, and interpolating data given cell interpolation weights.

Examples:
vtkCellData (Examples)
Tests:
vtkCellData (Tests)

Definition at line 36 of file vtkCellData.h.

Member Typedef Documentation

Definition at line 41 of file vtkCellData.h.

Constructor & Destructor Documentation

vtkCellData::vtkCellData ( )
inlineprotected

Definition at line 45 of file vtkCellData.h.

vtkCellData::~vtkCellData ( )
inlineprotected

Definition at line 46 of file vtkCellData.h.

Member Function Documentation

static vtkCellData* vtkCellData::New ( )
static
virtual const char* vtkCellData::GetClassName ( )
virtual

Reimplemented from vtkDataSetAttributes.

static int vtkCellData::IsTypeOf ( const char *  type)
static
virtual int vtkCellData::IsA ( const char *  type)
virtual

Reimplemented from vtkDataSetAttributes.

static vtkCellData* vtkCellData::SafeDownCast ( vtkObject o)
static
void vtkCellData::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

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