25 #ifndef __vtkPoints2D_h
26 #define __vtkPoints2D_h
50 virtual void Initialize();
65 virtual int GetDataType();
69 virtual void SetDataType(
int dataType);
88 virtual void Squeeze() {this->Data->Squeeze();};
91 virtual void Reset() {this->Data->Reset();};
107 unsigned long GetActualMemorySize();
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);}
155 void SetNumberOfPoints(
vtkIdType number);
161 virtual void ComputeBounds();
167 void GetBounds(
double bounds[4]);
190 double p[2] = {
x, y };
196 double p[2] = {
x, y };
202 double p[2] = {
x, y };
void SetDataTypeToDouble()
void InsertPoint(vtkIdType id, const double x[2])
void SetNumberOfPoints(vtkIdType number)
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])
GLint GLint GLint GLint GLint GLint y
#define vtkTypeMacro(thisClass, superclass)
void SetDataTypeToUnsignedShort()
GLint GLint GLint GLint GLint x
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
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])
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