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

vtkSTLWriter Class Reference

write stereo lithography files. More...

#include <vtkSTLWriter.h>

Inheritance diagram for vtkSTLWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkSTLWriter:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)

Static Public Methods

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

Protected Methods

 vtkSTLWriter ()
 ~vtkSTLWriter ()
 vtkSTLWriter (const vtkSTLWriter &)
void operator= (const vtkSTLWriter &)
void WriteData ()
void WriteBinarySTL (vtkPoints *pts, vtkCellArray *polys)
void WriteAsciiSTL (vtkPoints *pts, vtkCellArray *polys)

Detailed Description

write stereo lithography files.

Date:
2000/12/10 20:08:51
Revision:
1.35

vtkSTLWriter writes stereo lithography (.stl) files in either ASCII or binary form. Stereo lithography files only contain triangles. If polygons with more than 3 vertices are present, only the first 3 vertices are written. Use vtkTriangleFilter to convert polygons to triangles.

Warning:
Binary files written on one system may not be readable on other systems. vtkSTLWriter uses VAX or PC byte ordering and swaps bytes on other systems.
Examples:
vtkSTLWriter (examples)


Member Function Documentation

virtual const char* vtkSTLWriter::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 vtkPolyDataWriter.

virtual int vtkSTLWriter::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 vtkPolyDataWriter.

int vtkSTLWriter::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 vtkPolyDataWriter.

vtkSTLWriter* vtkSTLWriter::New   [static]
 

Created object with default header, ASCII format, and default names for scalars, vectors, tensors, normals, and texture coordinates.

Reimplemented from vtkPolyDataWriter.

vtkSTLWriter* vtkSTLWriter::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 vtkPolyDataWriter.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:33:12 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002