Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkOBJReader Class Reference

read Wavefront .obj files. More...

#include <vtkOBJReader.h>

Inheritance diagram for vtkOBJReader:

Inheritance graph
[legend]
Collaboration diagram for vtkOBJReader:

Collaboration graph
[legend]
List of all members.

Public Methods

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 Methods

vtkOBJReader * New ()
int IsTypeOf (const char *type)
vtkOBJReader * SafeDownCast (vtkObject *o)

Protected Methods

 vtkOBJReader ()
 ~vtkOBJReader ()
void Execute ()

Protected Attributes

char * FileName

Detailed Description

read Wavefront .obj files.

Date:
2001/10/11 13:37:31
Revision:
1.17

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 61 of file vtkOBJReader.h.


Constructor & Destructor Documentation

vtkOBJReader::vtkOBJReader   [protected]
 

vtkOBJReader::~vtkOBJReader   [protected]
 


Member Function Documentation

vtkOBJReader* vtkOBJReader::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkPolyDataSource.

virtual const char* vtkOBJReader::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

vtkOBJReader* vtkOBJReader::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataSource.

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 vtkSource.

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.

void vtkOBJReader::Execute   [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.


Member Data Documentation

char* vtkOBJReader::FileName [protected]
 

Definition at line 80 of file vtkOBJReader.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:37:07 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001