VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
Geometry
vtkMCubesWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkMCubesWriter.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
36
#ifndef __vtkMCubesWriter_h
37
#define __vtkMCubesWriter_h
38
39
#include "vtkIOGeometryModule.h"
// For export macro
40
#include "
vtkPolyDataWriter.h
"
41
42
class
VTKIOGEOMETRY_EXPORT
vtkMCubesWriter
:
public
vtkPolyDataWriter
43
{
44
public
:
45
static
vtkMCubesWriter
*
New
();
46
vtkTypeMacro(
vtkMCubesWriter
,
vtkPolyDataWriter
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent);
48
50
51
vtkSetStringMacro(LimitsFileName);
52
vtkGetStringMacro
(LimitsFileName);
54
55
protected
:
56
vtkMCubesWriter
();
57
~
vtkMCubesWriter
();
58
59
void
WriteData
();
60
61
void
WriteMCubes(FILE *fp,
vtkPoints
*pts,
vtkDataArray
*normals,
62
vtkCellArray
*polys);
63
void
WriteLimits(FILE *fp,
double
*bounds);
64
65
char
*
LimitsFileName
;
66
private
:
67
vtkMCubesWriter
(
const
vtkMCubesWriter
&);
// Not implemented.
68
void
operator=(
const
vtkMCubesWriter
&);
// Not implemented.
69
};
70
71
#endif
72
73
Generated on Thu May 24 2012 22:22:29 for VTK by
1.8.1