#include <vtkPoints.h>
Inheritance diagram for vtkPoints:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkAttributeData * | MakeObject () |
int | GetNumberOfPoints () |
float * | GetPoint (int id) |
void | GetPoint (int id, float x[3]) |
void | GetPoint (int id, double x[3]) |
void | SetPoint (int id, const float x[3]) |
void | SetPoint (int id, const double x[3]) |
void | SetPoint (int id, double x, double y, double z) |
void | InsertPoint (int id, const float x[3]) |
void | InsertPoint (int id, const double x[3]) |
void | InsertPoint (int id, double x, double y, double z) |
int | InsertNextPoint (const float x[3]) |
int | InsertNextPoint (const double x[3]) |
int | InsertNextPoint (double x, double y, double z) |
void | SetNumberOfPoints (int number) |
void | GetPoints (vtkIdList *ptId, vtkPoints *fp) |
virtual void | ComputeBounds () |
float * | GetBounds () |
void | GetBounds (float bounds[6]) |
void | GetPoints (vtkIdList &ptId, vtkPoints &fp) |
Static Public Methods | |
vtkPoints * | New (int dataType) |
vtkPoints * | New () |
int | IsTypeOf (const char *type) |
vtkPoints * | SafeDownCast (vtkObject *o) |
Protected Methods | |
vtkPoints (int dataType=VTK_FLOAT) | |
~vtkPoints () | |
vtkPoints (const vtkPoints &) | |
void | operator= (const vtkPoints &) |
Protected Attributes | |
float | Bounds [6] |
vtkTimeStamp | ComputeTime |
vtkPoints represents 3D points. The data model for vtkPoints is an array of vx-vy-vz triplets accessible by (point or cell) id.
|
Determine (xmin,xmax, ymin,ymax, zmin,zmax) bounds of points. |
|
Return the bounds of the points. |
|
Return the bounds of the points. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAttributeData. |
|
Return number of points in array. |
|
Copy point components into user provided array v[3] for specified id. |
|
Return a pointer to a float point x[3] for a specific id. |
|
For legacy compatibility. Do not use. |
|
Given a list of pt ids, return an array of points. |
|
Insert point into next available slot. Returns id of slot. |
|
Insert point into object. Range checking performed and memory allocated as necessary. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAttributeData. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAttributeData. |
|
Create a copy of this object. Implements vtkAttributeData. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. Reimplemented in vtkFloatPoints. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkAttributeData. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkAttributeData. |
|
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. |
|
Insert point into object. No range checking performed (fast!). Make sure you use SetNumberOfPoints() to allocate memory prior to using SetPoint(). |