41 #ifndef vtkCGMWriter_h
42 #define vtkCGMWriter_h
44 #include "vtkIOGeometryModule.h"
49 #define VTK_COLOR_MODE_DEFAULT 0
50 #define VTK_COLOR_MODE_SPECIFIED_COLOR 1
51 #define VTK_COLOR_MODE_RANDOM_COLORS 2
83 vtkGetMacro(Sort,
int);
91 vtkSetClampMacro(Resolution,
int, 100,
VTK_INT_MAX);
92 vtkGetMacro(Resolution,
int);
107 vtkGetMacro(ColorMode,
int);
125 vtkSetVector3Macro(SpecifiedColor,
float);
126 vtkGetVectorMacro(SpecifiedColor,
float,3);
136 float SpecifiedColor[3];
142 void operator=(const
vtkCGMWriter&) VTK_DELETE_FUNCTION;
void SetColorModeToDefault()
Control how output polydata is colored.
void SetColorModeToRandomColors()
Control how output polydata is colored.
abstract specification for Viewports
#define VTK_COLOR_MODE_DEFAULT
void SetColorModeToSpecifiedColor()
Control how output polydata is colored.
a simple class to control print indentation
#define VTK_COLOR_MODE_SPECIFIED_COLOR
static vtkPolyDataWriter * New()
#define VTK_COLOR_MODE_RANDOM_COLORS
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
write polygonal data as a CGM file