VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSimplePointsReader Class Reference

Read a list of points from a file. More...

#include <vtkSimplePointsReader.h>

Inheritance diagram for vtkSimplePointsReader:
Inheritance graph
[legend]
Collaboration diagram for vtkSimplePointsReader:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkSimplePointsReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetFileName (const char *)
virtual char * GetFileName ()

Static Public Member Functions

static vtkSimplePointsReaderNew ()
static int IsTypeOf (const char *type)
static vtkSimplePointsReaderSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkSimplePointsReader ()
 ~vtkSimplePointsReader ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

char * FileName

Detailed Description

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.

Tests:
vtkSimplePointsReader (Tests)

Definition at line 35 of file vtkSimplePointsReader.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 39 of file vtkSimplePointsReader.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.


Member Data Documentation

Definition at line 52 of file vtkSimplePointsReader.h.


The documentation for this class was generated from the following file: