vtkPoints - represent and manipulate 3D points
Super Class: vtkAttributeData
Description:
vtkPoints represents 3D points. The data model for vtkPoints is an array of vx-vy-vz triplets accessible by (point or cell) id.
Methods:
![]() | void vtkPoints (int ) |
![]() | static vtkPoints *New () |
![]() | const char *GetClassName () |
![]() | void PrintSelf (unknown & ,vtkIndent ) |
![]() | vtkAttributeData *MakeObject () |
![]() | int GetNumberOfPoints () |
![]() | float *GetPoint (int ) |
![]() | void GetPoint (int ,float ) |
![]() | void SetPoint (int ,float ) |
![]() | void InsertPoint (int ,float ) |
![]() | int InsertNextPoint (float ) |
![]() | void SetNumberOfPoints (int ) |
![]() | void InsertPoint (int ,float ,float ,float ) |
![]() | int InsertNextPoint (float ,float ,float ) |
![]() | void GetPoints (vtkIdList * ,vtkPoints *) |
![]() | void ComputeBounds () |
![]() | float *GetBounds () |
![]() | void GetBounds (float ) |
![]() | void GetPoints (vtkIdList & ,vtkPoints &) |
Detailed Method Descriptions:
Create a coy of this object.
![]() | vtkAttributeData *MakeObject () |
Return number of points in array.
![]() | int GetNumberOfPoints () |
Return a pointer to a float point x[3] for a specific id.
![]() | float *GetPoint (int ) |
Coy point components into user provided array v[3] for specified id.
![]() | void GetPoint (int ,float ) |
Insert point into object. No range checking performed (fast!). Make sure you use SetNumberOfPoints() to allocate memory prior to using SetPoint().
![]() | void SetPoint (int ,float ) |
Insert point into object. Range checking performed and memory allocated as necessary.
![]() | void InsertPoint (int ,float ) |
Insert point into next available slot. Returns id of slot.
![]() | int InsertNextPoint (float ) |
Specify the number of points for this object to hold. Does an allocation as well as setting the MaxId ivar. Used in conjunction with SetPoint() method for fast insertion.
![]() | void SetNumberOfPoints (int ) |
Insert point into position indicated.
![]() | void InsertPoint (int ,float ,float ,float ) |
Insert point at end of array and return its location (id) in the array.
![]() | int InsertNextPoint (float ,float ,float ) |
Given a list of pt ids, return an array of points.
![]() | void GetPoints (vtkIdList * ,vtkPoints *) |
Determine (xmin,xmax, ymin,ymax, zmin,zmax) bounds of points.
![]() | void ComputeBounds () |
Return the bounds of the points.
![]() | float *GetBounds () |
![]() | void GetBounds (float ) |