VTK
|
represent and manipulate point attribute data More...
#include <vtkPointData.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 } |
![]() | |
![]() |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | NullPoint (vtkIdType ptId) |
![]() | |
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 vtkPointData * | New () |
static int | IsTypeOf (const char *type) |
static vtkPointData * | SafeDownCast (vtkObject *o) |
![]() | |
static const char * | GetAttributeTypeAsString (int attributeType) |
static const char * | GetLongAttributeTypeAsString (int attributeType) |
Protected Member Functions | |
vtkPointData () | |
~vtkPointData () | |
![]() | |
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 |
![]() | |
int | NumberOfArrays |
int | NumberOfActiveArrays |
vtkAbstractArray ** | Data |
CopyFieldFlag * | CopyFieldFlags |
int | NumberOfFieldFlags |
int | DoCopyAllOn |
int | DoCopyAllOff |
![]() | |
unsigned char | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
int | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
![]() | |
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 point attribute data
vtkPointData is a class that is used to represent and manipulate point attribute data (e.g., scalars, vectors, normals, texture coordinates, etc.) Most of the functionality is handled by vtkDataSetAttributes
Definition at line 35 of file vtkPointData.h.
Reimplemented from vtkDataSetAttributes.
Definition at line 40 of file vtkPointData.h.
|
inlineprotected |
Definition at line 45 of file vtkPointData.h.
|
inlineprotected |
Definition at line 46 of file vtkPointData.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.
void vtkPointData::NullPoint | ( | vtkIdType | ptId | ) |