VTK
|
Read a list of points from a file. More...
#include <vtkSimplePointsReader.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkSimplePointsReader * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetFileName (const char *) |
virtual char * | GetFileName () |
Static Public Member Functions | |
static vtkSimplePointsReader * | New () |
static int | IsTypeOf (const char *type) |
static vtkSimplePointsReader * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkSimplePointsReader () | |
~vtkSimplePointsReader () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
char * | FileName |
Read a list of points from a file.
vtkSimplePointsReader is a source object that reads a list of points from a file. Each point is specified by three floating-point values in ASCII format. There is one point per line of the file. A vertex cell is created for each point in the output. This reader is meant as an example of how to write a reader in VTK.
Definition at line 35 of file vtkSimplePointsReader.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 39 of file vtkSimplePointsReader.h.
vtkSimplePointsReader::vtkSimplePointsReader | ( | ) | [protected] |
vtkSimplePointsReader::~vtkSimplePointsReader | ( | ) | [protected] |
static vtkSimplePointsReader* vtkSimplePointsReader::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
static int vtkSimplePointsReader::IsTypeOf | ( | const char * | name | ) | [static] |
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 vtkPolyDataAlgorithm.
virtual int vtkSimplePointsReader::IsA | ( | const char * | name | ) | [virtual] |
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 vtkPolyDataAlgorithm.
static vtkSimplePointsReader* vtkSimplePointsReader::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkSimplePointsReader::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented from vtkPolyDataAlgorithm.
void vtkSimplePointsReader::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
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 vtkPolyDataAlgorithm.
virtual void vtkSimplePointsReader::SetFileName | ( | const char * | ) | [virtual] |
Set/Get the name of the file from which to read points.
virtual char* vtkSimplePointsReader::GetFileName | ( | ) | [virtual] |
Set/Get the name of the file from which to read points.
int vtkSimplePointsReader::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
char* vtkSimplePointsReader::FileName [protected] |
Definition at line 52 of file vtkSimplePointsReader.h.