vtkOBJReader Class Reference

#include <vtkOBJReader.h>

Inheritance diagram for vtkOBJReader:

Inheritance graph
[legend]
Collaboration diagram for vtkOBJReader:

Collaboration graph
[legend]

List of all members.


Detailed Description

read Wavefront .obj files

vtkOBJReader is a source object that reads Wavefront .obj files. The output of this source object is polygonal data.

See also:
vtkOBJImporter
Tests:
vtkOBJReader (Tests)

Definition at line 32 of file vtkOBJReader.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 vtkOBJReaderNew ()
static int IsTypeOf (const char *type)
static vtkOBJReaderSafeDownCast (vtkObject *o)

Protected Member Functions

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

Protected Attributes

char * FileName

Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 36 of file vtkOBJReader.h.


Constructor & Destructor Documentation

vtkOBJReader::vtkOBJReader (  )  [protected]

vtkOBJReader::~vtkOBJReader (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

static int vtkOBJReader::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkOBJReader::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

static vtkOBJReader* vtkOBJReader::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkPolyDataAlgorithm.

void vtkOBJReader::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 vtkOBJReader::SetFileName ( const char *   )  [virtual]

Specify file name of Wavefront .obj file.

virtual char* vtkOBJReader::GetFileName (  )  [virtual]

Specify file name of Wavefront .obj file.

int vtkOBJReader::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

char* vtkOBJReader::FileName [protected]

Definition at line 51 of file vtkOBJReader.h.


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

Generated on Sat Dec 27 13:38:49 2008 for VTK by  doxygen 1.5.6