Go to the documentation of this file.
85 void *
GetVoidPointer(
const int id) {
return this->Data->GetVoidPointer(
id); }
88 virtual void Squeeze() { this->Data->Squeeze(); }
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 numPoints);
208 double p[2] = {
x,
y };
214 double p[2] = {
x,
y };
220 double p[2] = {
x,
y };
represent and manipulate 2D points
void GetBounds(double bounds[4])
static vtkPoints2D * New()
#define VTKCOMMONCORE_EXPORT
virtual int Resize(vtkIdType numTuples)=0
void InsertPoint(vtkIdType id, const float x[2])
#define VTK_UNSIGNED_SHORT
record modification and/or execution time
#define vtkTypeMacro(thisClass, superclass)
void SetDataTypeToUnsignedChar()
void * GetVoidPointer(const int id)
abstract base class for most VTK objects
GLint GLint GLint GLint GLint x
virtual void InsertTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)=0
void GetPoints(vtkIdList *ptId, vtkPoints2D *fp)
abstract superclass for arrays of numeric data
virtual void SetDataType(int dataType)
void SetDataTypeToUnsignedShort()
void SetNumberOfPoints(vtkIdType numPoints)
void GetPoint(vtkIdType id, double x[2])
virtual void Initialize()
virtual int GetDataType()
virtual void SetNumberOfComponents(int)
virtual int Allocate(const vtkIdType sz, const vtkIdType ext=1000)
a simple class to control print indentation
virtual void ComputeBounds()
vtkPoints2D(int dataType=VTK_FLOAT)
list of point or cell ids
#define VTK_UNSIGNED_CHAR
void SetPoint(vtkIdType id, const float x[2])
double * GetPoint(vtkIdType id)
void SetDataTypeToUnsignedInt()
#define VTK_UNSIGNED_LONG
vtkIdType InsertNextPoint(const float x[2])
void SetPoint(vtkIdType id, const double x[2])
void RemovePoint(vtkIdType id)
int Resize(vtkIdType numPoints)
GLint GLint GLint GLint GLint GLint y
virtual void DeepCopy(vtkPoints2D *ad)
virtual vtkIdType InsertNextTuple(vtkIdType j, vtkAbstractArray *source)=0
virtual void SetTuple(vtkIdType i, vtkIdType j, vtkAbstractArray *source)=0
virtual void ShallowCopy(vtkPoints2D *ad)
vtkIdType GetNumberOfPoints()
void SetDataTypeToFloat()
void SetDataTypeToShort()
virtual void SetData(vtkDataArray *)
virtual void SetNumberOfTuples(vtkIdType number)=0
vtkIdType InsertNextPoint(const double x[2])
static vtkPoints2D * New(int dataType)
void SetDataTypeToUnsignedLong()
unsigned long GetActualMemorySize()
void SetDataTypeToDouble()
void InsertPoint(vtkIdType id, const double x[2])
void PrintSelf(ostream &os, vtkIndent indent)