53 virtual void Initialize();
68 virtual int GetDataType();
72 virtual void SetDataType(
int dataType);
88 void *
GetVoidPointer(
const int id) {
return this->Data->GetVoidPointer(
id); }
91 virtual void Squeeze() { this->Data->Squeeze(); }
110 unsigned long GetActualMemorySize();
130 void SetPoint(
vtkIdType id,
double x,
double y,
double z);
137 { this->Data->InsertTuple(
id,x);};
139 {this->Data->InsertTuple(
id,x);};
140 void InsertPoint(
vtkIdType id,
double x,
double y,
double z);
148 { this->Data->InsertTuples(dstIds, srcIds, source->
Data); }
157 { this->Data->InsertTuples(dstStart, n, srcStart, source->
Data); }
163 {
return this->Data->InsertNextTuple(x); }
165 {
return this->Data->InsertNextTuple(x); }
166 vtkIdType InsertNextPoint(
double x,
double y,
double z);
172 void SetNumberOfPoints(
vtkIdType numPoints);
182 virtual void ComputeBounds();
188 void GetBounds(
double bounds[6]);
228 double p[3] = { x, y, z };
234 double p[3] = { x, y, z };
240 double p[3] = { x, y, z };
void SetDataTypeToFloat()
void SetDataTypeToUnsignedChar()
int Resize(vtkIdType numPoints)
void GetPoint(vtkIdType id, double x[3])
abstract base class for most VTK objects
vtkIdType InsertNextPoint(const double x[3])
vtkIdType GetNumberOfPoints()
void SetPoint(vtkIdType id, const double x[3])
void InsertPoints(vtkIdList *dstIds, vtkIdList *srcIds, vtkPoints *source)
#define VTK_UNSIGNED_SHORT
#define VTKCOMMONCORE_EXPORT
record modification and/or execution time
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
vtkIdType InsertNextPoint(const float x[3])
void SetPoint(vtkIdType id, const float x[3])
virtual void SetNumberOfTuples(vtkIdType number)=0
void SetDataTypeToUnsignedInt()
virtual void InsertTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)=0
void InsertPoint(vtkIdType id, const float x[3])
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual unsigned long GetMTime()
a simple class to control print indentation
void * GetVoidPointer(const int id)
list of point or cell ids
virtual int Resize(vtkIdType numTuples)=0
abstract superclass for arrays of numeric data
void SetDataTypeToUnsignedLong()
double * GetPoint(vtkIdType id)
void SetNumberOfPoints(vtkIdType numPoints)
virtual void SetTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)=0
virtual void SetNumberOfComponents(int)
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
#define VTK_UNSIGNED_CHAR
void SetDataTypeToShort()
void SetDataTypeToUnsignedShort()
#define VTK_UNSIGNED_LONG
void InsertPoints(vtkIdType dstStart, vtkIdType n, vtkIdType srcStart, vtkPoints *source)
void SetDataTypeToDouble()
virtual vtkIdType InsertNextTuple(vtkIdType j, vtkAbstractArray *source)=0
void InsertPoint(vtkIdType id, const double x[3])
represent and manipulate 3D points