vtkSimplePointsReader Class Reference

#include <vtkSimplePointsReader.h>

Inheritance diagram for vtkSimplePointsReader:

Inheritance graph
[legend]
Collaboration diagram for vtkSimplePointsReader:

Collaboration graph
[legend]

List of all members.


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 34 of file vtkSimplePointsReader.h.


Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

 vtkSimplePointsReader ()
 ~vtkSimplePointsReader ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

char * FileName

Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 38 of file vtkSimplePointsReader.h.


Constructor & Destructor Documentation

vtkSimplePointsReader::vtkSimplePointsReader (  )  [protected]

vtkSimplePointsReader::~vtkSimplePointsReader (  )  [protected]


Member Function Documentation

static vtkSimplePointsReader* vtkSimplePointsReader::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkPolyDataAlgorithm.

virtual const char* vtkSimplePointsReader::GetClassName (  )  [virtual]

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 ( vtkObject o  )  [static]

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 51 of file vtkSimplePointsReader.h.


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

Generated on Mon Sep 27 18:50:06 2010 for VTK by  doxygen 1.5.6