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

represent and manipulate point attribute data More...

#include <vtkPointData.h>

Inheritance diagram for vtkPointData:
[legend]
Collaboration diagram for vtkPointData:
[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 Types inherited from vtkFieldData
typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void NullPoint (vtkIdType ptId)
 
- Public Member Functions inherited from vtkDataSetAttributes
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)
 
- Public Member Functions inherited from vtkFieldData
int Allocate (const vtkIdType sz, const vtkIdType ext=1000)
 
void CopyStructure (vtkFieldData *)
 
void AllocateArrays (int num)
 
int AddArray (vtkAbstractArray *array)
 
vtkDataArrayGetArray (int i)
 
vtkDataArrayGetArray (const char *arrayName, int &index)
 
vtkAbstractArrayGetAbstractArray (int i)
 
vtkAbstractArrayGetAbstractArray (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 ()
 
vtkDataArrayGetArray (const char *arrayName)
 
vtkAbstractArrayGetAbstractArray (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)
 
- Public Member Functions inherited from vtkObject
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)
 
vtkCommandGetCommand (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)
 
- Public Member Functions inherited from vtkObjectBase
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 vtkPointDataNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPointDataSafeDownCast (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)
 
- Static Public Member Functions inherited from vtkFieldData
static vtkFieldDataNew ()
 
static int IsTypeOf (const char *type)
 
static vtkFieldDataSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObject *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkPointData ()
 
 ~vtkPointData ()
 
- 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 ()
 
- Protected Member Functions inherited from vtkFieldData
 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)
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
virtual void RegisterInternal (vtkObjectBase *, int check)
 
virtual void UnRegisterInternal (vtkObjectBase *, int check)
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &os)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Additional Inherited Members

- Protected Attributes inherited from vtkDataSetAttributes
int AttributeIndices [NUM_ATTRIBUTES]
 
int CopyAttributeFlags [ALLCOPY][NUM_ATTRIBUTES]
 
vtkFieldData::BasicIterator RequiredArrays
 
int * TargetIndices
 
- Protected Attributes inherited from vtkFieldData
int NumberOfArrays
 
int NumberOfActiveArrays
 
vtkAbstractArray ** Data
 
CopyFieldFlagCopyFieldFlags
 
int NumberOfFieldFlags
 
int DoCopyAllOn
 
int DoCopyAllOff
 
- Protected Attributes inherited from vtkObject
unsigned char Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
int ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 
- 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 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

Examples:
vtkPointData (Examples)
Tests:
vtkPointData (Tests)

Definition at line 35 of file vtkPointData.h.

Member Typedef Documentation

Definition at line 40 of file vtkPointData.h.

Constructor & Destructor Documentation

vtkPointData::vtkPointData ( )
inlineprotected

Definition at line 45 of file vtkPointData.h.

vtkPointData::~vtkPointData ( )
inlineprotected

Definition at line 46 of file vtkPointData.h.

Member Function Documentation

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

Reimplemented from vtkDataSetAttributes.

static int vtkPointData::IsTypeOf ( const char *  type)
static
virtual int vtkPointData::IsA ( const char *  name)
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 vtkPointData* vtkPointData::SafeDownCast ( vtkObject o)
static
void vtkPointData::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 vtkDataSetAttributes.

void vtkPointData::NullPoint ( vtkIdType  ptId)

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