41#include "vtkIOGeometryModule.h"
46#define VTK_COLOR_MODE_DEFAULT 0
47#define VTK_COLOR_MODE_SPECIFIED_COLOR 1
48#define VTK_COLOR_MODE_RANDOM_COLORS 2
89 vtkGetMacro(Resolution,
int);
103 vtkSetMacro(ColorMode,
int);
104 vtkGetMacro(ColorMode,
int);
119 vtkSetVector3Macro(SpecifiedColor,
float);
120 vtkGetVectorMacro(SpecifiedColor,
float, 3);
130 float SpecifiedColor[3];
write polygonal data as a CGM file
void SetColorModeToDefault()
Control how output polydata is colored.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetColorModeToSpecifiedColor()
Control how output polydata is colored.
static vtkCGMWriter * New()
Instantiate with no viewport defined and sorting on.
virtual void SetViewport(vtkViewport *)
Specify a vtkViewport object to be used to transform the vtkPolyData points into 2D coordinates.
void SetColorModeToRandomColors()
Control how output polydata is colored.
a simple class to control print indentation
abstract specification for Viewports
void Sort(RandomIt bitr, RandomIt eitr, BackToFront< T > &me)
#define VTK_COLOR_MODE_DEFAULT
#define VTK_COLOR_MODE_SPECIFIED_COLOR
#define VTK_COLOR_MODE_RANDOM_COLORS