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

vtkMCubesWriter Class Reference

write binary marching cubes file. More...

#include <vtkMCubesWriter.h>

Inheritance diagram for vtkMCubesWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkMCubesWriter:

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 SetLimitsFileName (const char *)
virtual char * GetLimitsFileName ()

Static Public Methods

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

Protected Methods

 vtkMCubesWriter ()
 ~vtkMCubesWriter ()
 vtkMCubesWriter (const vtkMCubesWriter &)
void operator= (const vtkMCubesWriter &)
void WriteData ()

Protected Attributes

char * LimitsFileName

Detailed Description

write binary marching cubes file.

Date:
2000/12/10 20:08:42
Revision:
1.26

vtkMCubesWriter is a polydata writer that writes binary marching cubes files. (Marching cubes is an isosurfacing technique that generates many triangles.) The binary format is supported by W. Lorensen's marching cubes program (and the vtkSliceCubes object). Each triangle is represented by three records, with each record consisting of six single precision floating point numbers representing the a triangle vertex coordinate and vertex normal.

Warning:
Binary files are written in sun/hp/sgi (i.e., Big Endian) form.
See also:
vtkMarchingCubes vtkSliceCubes vtkMCubesReader
Examples:
vtkMCubesWriter (examples)

Definition at line 68 of file vtkMCubesWriter.h.


Constructor & Destructor Documentation

vtkMCubesWriter::vtkMCubesWriter   [protected]
 

vtkMCubesWriter::~vtkMCubesWriter   [protected]
 

vtkMCubesWriter::vtkMCubesWriter const vtkMCubesWriter &    [inline, protected]
 

Definition at line 82 of file vtkMCubesWriter.h.


Member Function Documentation

vtkMCubesWriter* vtkMCubesWriter::New   [static]
 

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

Reimplemented from vtkPolyDataWriter.

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

int vtkMCubesWriter::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.

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

vtkMCubesWriter* vtkMCubesWriter::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.

void vtkMCubesWriter::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 vtkPolyDataWriter.

virtual void vtkMCubesWriter::SetLimitsFileName const char *    [virtual]
 

Set/get file name of marching cubes limits file.

virtual char* vtkMCubesWriter::GetLimitsFileName   [virtual]
 

void vtkMCubesWriter::operator= const vtkMCubesWriter &    [inline, protected]
 

Definition at line 83 of file vtkMCubesWriter.h.

void vtkMCubesWriter::WriteData   [protected, virtual]
 

Reimplemented from vtkPolyDataWriter.


Member Data Documentation

char* vtkMCubesWriter::LimitsFileName [protected]
 

Definition at line 86 of file vtkMCubesWriter.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:52:59 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001