Go to the documentation of this file.
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);
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;
virtual void SetViewport(vtkViewport *)
Specify a vtkViewport object to be used to transform the vtkPolyData points into 2D coordinates.
#define VTK_COLOR_MODE_SPECIFIED_COLOR
#define VTK_COLOR_MODE_DEFAULT
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetColorModeToDefault()
void SetColorModeToRandomColors()
#define VTK_COLOR_MODE_RANDOM_COLORS
a simple class to control print indentation
abstract specification for Viewports
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
write polygonal data as a CGM file
static vtkCGMWriter * New()
Instantiate with no viewport defined and sorting on.
void SetColorModeToSpecifiedColor()