50 virtual void Initialize();
65 virtual int GetDataType();
69 virtual void SetDataType(
int dataType);
85 void *
GetVoidPointer(
const int id) {
return this->Data->GetVoidPointer(
id); }
88 virtual void Squeeze() { this->Data->Squeeze(); }
107 unsigned long GetActualMemorySize();
127 void SetPoint(
vtkIdType id,
double x,
double y);
134 { this->Data->InsertTuple(
id,x); }
136 { this->Data->InsertTuple(
id,x); }
137 void InsertPoint(
vtkIdType id,
double x,
double y);
143 {
return this->Data->InsertNextTuple(x); }
145 {
return this->Data->InsertNextTuple(x); }
146 vtkIdType InsertNextPoint(
double x,
double y);
155 void SetNumberOfPoints(
vtkIdType numPoints);
165 virtual void ComputeBounds();
171 void GetBounds(
double bounds[4]);
208 double p[2] = { x, y };
214 double p[2] = { x, y };
220 double p[2] = { x, y };
void SetDataTypeToDouble()
void InsertPoint(vtkIdType id, const double x[2])
abstract base class for most VTK objects
#define VTK_UNSIGNED_SHORT
void SetDataTypeToUnsignedChar()
void * GetVoidPointer(const int id)
#define VTKCOMMONCORE_EXPORT
void InsertPoint(vtkIdType id, const float x[2])
record modification and/or execution time
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
virtual void SetNumberOfTuples(vtkIdType number)=0
void GetPoint(vtkIdType id, double x[2])
void SetDataTypeToUnsignedShort()
void SetNumberOfPoints(vtkIdType numPoints)
virtual void InsertTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)=0
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
represent and manipulate 2D points
list of point or cell ids
virtual int Resize(vtkIdType numTuples)=0
void SetPoint(vtkIdType id, const float x[2])
abstract superclass for arrays of numeric data
void SetDataTypeToUnsignedInt()
virtual void SetTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)=0
void SetPoint(vtkIdType id, const double x[2])
int Resize(vtkIdType numPoints)
virtual void SetNumberOfComponents(int)
double * GetPoint(vtkIdType id)
#define VTK_UNSIGNED_CHAR
vtkIdType InsertNextPoint(const float x[2])
void RemovePoint(vtkIdType id)
#define VTK_UNSIGNED_LONG
vtkIdType GetNumberOfPoints()
void SetDataTypeToFloat()
void SetDataTypeToUnsignedLong()
void SetDataTypeToShort()
vtkIdType InsertNextPoint(const double x[2])
virtual vtkIdType InsertNextTuple(vtkIdType j, vtkAbstractArray *source)=0