40 #ifndef vtkCGMWriter_h
41 #define vtkCGMWriter_h
48 #define VTK_COLOR_MODE_DEFAULT 0
49 #define VTK_COLOR_MODE_SPECIFIED_COLOR 1
50 #define VTK_COLOR_MODE_RANDOM_COLORS 2
76 vtkSetMacro(Sort,
int);
77 vtkGetMacro(Sort,
int);
83 vtkSetClampMacro(Resolution,
int, 100,
VTK_INT_MAX);
84 vtkGetMacro(Resolution,
int);
97 vtkSetMacro(ColorMode,
int);
98 vtkGetMacro(ColorMode,
int);
113 vtkSetVector3Macro(SpecifiedColor,
float);
114 vtkGetVectorMacro(SpecifiedColor,
float,3);
124 float SpecifiedColor[3];
void SetColorModeToDefault()
void SetColorModeToRandomColors()
abstract specification for Viewports
#define VTK_COLOR_MODE_DEFAULT
void SetColorModeToSpecifiedColor()
#define VTKIOGEOMETRY_EXPORT
a simple class to control print indentation
#define VTK_COLOR_MODE_SPECIFIED_COLOR
static vtkPolyDataWriter * New()
#define VTK_COLOR_MODE_RANDOM_COLORS
void PrintSelf(ostream &os, vtkIndent indent)
write polygonal data as a CGM file