Man Page for vtkPointData
Table of Contents

NAME

vtkPointData - represent and manipulate point attribute data

SYNOPSIS


#include "/opt/vtk-c++/common/vtkPointData.h"

class VTK_EXPORT vtkPointData : public vtkObject

vtkPointData();
void Initialize();
~vtkPointData();
static vtkPointData *New() {return new vtkPointData;};
const char *GetClassName() {return "vtkPointData";};
void PrintSelf(ostream& os, vtkIndent indent);
vtkPointData (const vtkPointData& pd);
vtkPointData &operator=(vtkPointData& pd);
virtual void Update() {};
void PassData(vtkPointData* pd);
void CopyAllocate(vtkPointData* pd, int sze=0, int ext=1000);
void CopyData(vtkPointData *fromPd, int fromId, int toId);
void InterpolateAllocate(vtkPointData* pd, int sze=0, int ext=1000);
void InterpolatePoint(vtkPointData *fromPd, int toId, vtkIdList *ptIds,
float *weights);
void InterpolateEdge(vtkPointData *fromPd, int toId, int p1, int p2,
float t);
void NullPoint(int ptId);
void Squeeze();
unsigned long int GetMTime();

vtkScalars *GetScalars();
vtkScalars *GetScalars();
vtkVectors *GetVectors();
vtkVectors *GetVectors();
vtkNormals *GetNormals();
vtkNormals *GetNormals();
vtkTCoords *GetTCoords();
vtkTCoords *GetTCoords();
vtkTensors *GetTensors();
vtkTensors *GetTensors();
vtkUserDefined *GetUserDefined();
void SetCopyScalars(int);
int GetCopyScalars();
void CopyScalarsOn();
void CopyScalarsOff();
void SetCopyVectors(int);
int GetCopyVectors();
void CopyVectorsOn();
void CopyVectorsOff();
void SetCopyNormals(int);
int GetCopyNormals();
void CopyNormalsOn();
void CopyNormalsOff();
void SetCopyTCoords(int);
int GetCopyTCoords();
void CopyTCoordsOn();
void CopyTCoordsOff();
void SetCopyTensors(int);
int GetCopyTensors();
void CopyTensorsOn();
void CopyTensorsOff();
void SetCopyUserDefined(int);
int GetCopyUserDefined();
void CopyUserDefinedOn();
void CopyUserDefinedOff();
void CopyAllOn();
void CopyAllOff();

DESCRIPTION

vtkPointData is a class that is used to represent and manipulate point 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 point to another, and interpolating data given cell interpolation weights.

SUMMARY

void CopyUserDefinedOn();
void CopyUserDefinedOff();
Set scalar data.

void CopyUserDefinedOn();
void CopyUserDefinedOff();
Set vector data.

void CopyUserDefinedOn();
void CopyUserDefinedOff();
Set normal data.

void CopyUserDefinedOn();
void CopyUserDefinedOff();
Set texture coordinate data.

void CopyUserDefinedOn();
void CopyUserDefinedOff();
Set tensor data.

void CopyUserDefinedOn();
void CopyUserDefinedOff();
Set user defined data.

void SetCopyScalars(int)
Turn on/off the copying of scalar data.

void SetCopyVectors(int)
Turn on/off the copying of vector data.

void SetCopyNormals(int)
Turn on/off the copying of normals data.

void SetCopyTCoords(int)
Turn on/off the copying of texture coordinates data.

void SetCopyTensors(int)
Turn on/off the copying of tensor data.

void SetCopyUserDefined(int)
Turn on/off the copying of user defined data.

vtkPointData()
Construct object with copying turned on for all data.

vtkPointData& operator=(vtkPointData& pd)
Shallow copy of data.

void CopyData(vtkPointData* fromPd, int fromId, int toId) Copy the point data from one point to another. Make sure CopyAllocate() has been invoked before using this method.

void PassData(vtkPointData* pd)
Pass entire arrays of input data through to output. Obey the "copy" flags.

void CopyAllocate(vtkPointData* pd, int sze, int ext) Allocates point data for point-by-point copy operation. If sze=0, then use the input PointData to create (i.e., find initial size of) new objects; otherwise use the sze variable.

void InterpolateAllocate(vtkPointData* pd, int sze, int ext) Initialize point interpolation method.

void InterpolatePoint(vtkPointData *fromPd, int toId, vtkIdList *ptIds, float *weights)
Interpolate data from points and interpolation weights. Make sure that the method InterpolateAllocate() has been invoked before using this method.

void InterpolateEdge(vtkPointData *fromPd, int toId,
int p1, int p2, float t) Interpolate data from the two points p1,p2 (forming an edge) and an interpolation factor, t, along the edge. The weight ranges from (0,1), with t=0 located at p1. Make sure that the method InterpolateAllocate() has been invoked before using this method.

void CopyAllOn()
Turn on copying of all data.

void CopyAllOff()
Turn off copying of all data.


Table of Contents