VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
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 Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

char * FileName

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


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 37 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.

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

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

virtual vtkObjectBase* vtkOBJReader::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataAlgorithm.

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


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