Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

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

typedef vtkPolyDataAlgorithm vtkOBJReader::Superclass
 

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 *  type  )  [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 *  type  )  [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]
 

int vtkOBJReader::RequestData vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector
[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 Tue Jan 22 00:03:17 2008 for VTK by  doxygen 1.4.3-20050530