VTK
|
represent and manipulate cell attribute data More...
#include <vtkCellData.h>
Public Types | |
typedef vtkDataSetAttributes | Superclass |
![]() | |
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 |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
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) |
vtkDataArray * | GetAttribute (int attributeType) |
vtkAbstractArray * | GetAbstractAttribute (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) |
vtkDataArray * | GetScalars () |
int | SetVectors (vtkDataArray *da) |
int | SetActiveVectors (const char *name) |
vtkDataArray * | GetVectors () |
int | SetNormals (vtkDataArray *da) |
int | SetActiveNormals (const char *name) |
vtkDataArray * | GetNormals () |
int | SetTCoords (vtkDataArray *da) |
int | SetActiveTCoords (const char *name) |
vtkDataArray * | GetTCoords () |
int | SetTensors (vtkDataArray *da) |
int | SetActiveTensors (const char *name) |
vtkDataArray * | GetTensors () |
int | SetGlobalIds (vtkDataArray *da) |
int | SetActiveGlobalIds (const char *name) |
vtkDataArray * | GetGlobalIds () |
int | SetPedigreeIds (vtkAbstractArray *da) |
int | SetActivePedigreeIds (const char *name) |
vtkAbstractArray * | GetPedigreeIds () |
vtkDataArray * | GetScalars (const char *name) |
vtkDataArray * | GetVectors (const char *name) |
vtkDataArray * | GetNormals (const char *name) |
vtkDataArray * | GetTCoords (const char *name) |
vtkDataArray * | GetTensors (const char *name) |
vtkDataArray * | GetGlobalIds (const char *name) |
vtkAbstractArray * | GetPedigreeIds (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) |
![]() | |
int | Allocate (const vtkIdType sz, const vtkIdType ext=1000) |
void | CopyStructure (vtkFieldData *) |
void | AllocateArrays (int num) |
int | AddArray (vtkAbstractArray *array) |
vtkDataArray * | GetArray (int i) |
vtkDataArray * | GetArray (const char *arrayName, int &index) |
vtkAbstractArray * | GetAbstractArray (int i) |
vtkAbstractArray * | GetAbstractArray (const char *arrayName, int &index) |
void | Squeeze () |
void | Reset () |
virtual unsigned long | GetActualMemorySize () |
unsigned long int | GetMTime () |
void | GetField (vtkIdList *ptId, vtkFieldData *f) |
int | GetArrayContainingComponent (int i, int &arrayComp) |
int | GetNumberOfComponents () |
vtkIdType | GetNumberOfTuples () |
void | SetNumberOfTuples (const vtkIdType number) |
void | SetTuple (const vtkIdType i, const vtkIdType j, vtkFieldData *source) |
void | InsertTuple (const vtkIdType i, const vtkIdType j, vtkFieldData *source) |
vtkIdType | InsertNextTuple (const vtkIdType j, vtkFieldData *source) |
double * | GetTuple (const vtkIdType i) |
void | GetTuple (const vtkIdType i, double *tuple) |
void | SetTuple (const vtkIdType i, const double *tuple) |
void | InsertTuple (const vtkIdType i, const double *tuple) |
vtkIdType | InsertNextTuple (const double *tuple) |
double | GetComponent (const vtkIdType i, const int j) |
void | SetComponent (const vtkIdType i, const int j, const double c) |
int | GetNumberOfArrays () |
vtkDataArray * | GetArray (const char *arrayName) |
vtkAbstractArray * | GetAbstractArray (const char *arrayName) |
int | HasArray (const char *name) |
const char * | GetArrayName (int i) |
void | CopyFieldOn (const char *name) |
void | CopyFieldOff (const char *name) |
void | InsertComponent (const vtkIdType i, const int j, const double c) |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static vtkCellData * | New () |
static int | IsTypeOf (const char *type) |
static vtkCellData * | SafeDownCast (vtkObject *o) |
![]() | |
static const char * | GetAttributeTypeAsString (int attributeType) |
static const char * | GetLongAttributeTypeAsString (int attributeType) |
Protected Member Functions | |
vtkCellData () | |
~vtkCellData () | |
![]() | |
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 () |
![]() | |
vtkFieldData () | |
~vtkFieldData () | |
void | SetArray (int i, vtkAbstractArray *array) |
void | CopyFieldOnOff (const char *name, int onOff) |
void | ClearFieldFlags () |
int | FindFlag (const char *field) |
int | GetFlag (const char *field) |
void | CopyFlags (const vtkFieldData *source) |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &os) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Additional Inherited Members | |
![]() | |
int | AttributeIndices [NUM_ATTRIBUTES] |
int | CopyAttributeFlags [ALLCOPY][NUM_ATTRIBUTES] |
vtkFieldData::BasicIterator | RequiredArrays |
int * | TargetIndices |
![]() | |
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] |
![]() |
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.
Definition at line 36 of file vtkCellData.h.
Definition at line 41 of file vtkCellData.h.
|
inlineprotected |
Definition at line 45 of file vtkCellData.h.
|
inlineprotected |
Definition at line 46 of file vtkCellData.h.
|
static |
Construct object with copying turned on for all data.
Reimplemented from vtkDataSetAttributes.
|
virtual |
Reimplemented from vtkDataSetAttributes.
|
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 vtkDataSetAttributes.
|
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 vtkDataSetAttributes.
|
static |
Reimplemented from vtkDataSetAttributes.
|
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 vtkDataSetAttributes.