vtkMCubesWriter Class Reference

#include <vtkMCubesWriter.h>

Inheritance diagram for vtkMCubesWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkMCubesWriter:

Collaboration graph
[legend]

List of all members.


Detailed Description

write binary marching cubes file

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
Tests:
vtkMCubesWriter (Tests)

Definition at line 41 of file vtkMCubesWriter.h.


Public Types

typedef vtkPolyDataWriter Superclass

Public Member Functions

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 Member Functions

static vtkMCubesWriterNew ()
static int IsTypeOf (const char *type)
static vtkMCubesWriterSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkMCubesWriter ()
 ~vtkMCubesWriter ()
void WriteData ()

Protected Attributes

char * LimitsFileName

Member Typedef Documentation

Reimplemented from vtkPolyDataWriter.

Definition at line 45 of file vtkMCubesWriter.h.


Constructor & Destructor Documentation

vtkMCubesWriter::vtkMCubesWriter (  )  [protected]

vtkMCubesWriter::~vtkMCubesWriter (  )  [protected]


Member Function Documentation

static 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]

Reimplemented from vtkPolyDataWriter.

static int vtkMCubesWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataWriter.

virtual int vtkMCubesWriter::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataWriter.

static vtkMCubesWriter* vtkMCubesWriter::SafeDownCast ( vtkObject o  )  [static]

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]

Set/get file name of marching cubes limits file.

void vtkMCubesWriter::WriteData (  )  [protected, virtual]

Reimplemented from vtkPolyDataWriter.


Member Data Documentation

Definition at line 59 of file vtkMCubesWriter.h.


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

Generated on Wed Jun 3 19:16:53 2009 for VTK by  doxygen 1.5.6