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 82 vtkSetMacro(Sort,
int);
83 vtkGetMacro(Sort,
int);
91 vtkSetClampMacro(Resolution,
int, 100,
VTK_INT_MAX);
92 vtkGetMacro(Resolution,
int);
106 vtkSetMacro(ColorMode,
int);
107 vtkGetMacro(ColorMode,
int);
125 vtkSetVector3Macro(SpecifiedColor,
float);
126 vtkGetVectorMacro(SpecifiedColor,
float,3);
136 float SpecifiedColor[3];
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
write polygonal data as a CGM file
void WriteData() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.