77 #ifndef vtkGL2PSExporter_h 78 #define vtkGL2PSExporter_h 80 #include "vtkIOExportModule.h" 100 vtkSetStringMacro(FilePrefix);
101 vtkGetStringMacro(FilePrefix);
113 vtkSetMacro(BufferSize,
int);
114 vtkGetMacro(BufferSize,
int);
122 vtkSetStringMacro(Title);
123 vtkGetStringMacro(Title);
145 this->SetSortToOff();
146 this->SetSimpleLineOffset(0);
157 vtkSetClampMacro(FileFormat,
int, PS_FILE, SVG_FILE);
158 vtkGetMacro(FileFormat,
int);
160 {this->SetFileFormat(PS_FILE);};
162 {this->SetFileFormat(EPS_FILE);};
164 {this->SetFileFormat(PDF_FILE);};
166 {this->SetFileFormat(TEX_FILE);};
168 {this->SetFileFormat(SVG_FILE);};
169 const char *GetFileFormatAsString();
185 vtkSetClampMacro(Sort,
int, NO_SORT, BSP_SORT);
186 vtkGetMacro(Sort,
int);
188 {this->SetSort(NO_SORT);};
190 {this->SetSort(SIMPLE_SORT);};
192 {this->SetSort(BSP_SORT);};
193 const char *GetSortAsString();
304 vtkSetMacro(Write3DPropsAsRasterImage,
vtkTypeBool);
305 vtkGetMacro(Write3DPropsAsRasterImage,
vtkTypeBool);
306 vtkBooleanMacro(Write3DPropsAsRasterImage,
vtkTypeBool);
315 vtkSetMacro(TextAsPath,
bool);
316 vtkGetMacro(TextAsPath,
bool);
317 vtkBooleanMacro(TextAsPath,
bool);
336 vtkSetMacro(PointSizeFactor,
float);
337 vtkGetMacro(PointSizeFactor,
float);
345 vtkSetMacro(LineWidthFactor,
float);
346 vtkGetMacro(LineWidthFactor,
float);
353 int GetGL2PSOptions();
355 int GetGL2PSFormat();
356 const char *GetFileExtension();
void SetFileFormatToEPS()
Specify the format of file to write out.
abstract class to write a scene to a file
void SetFileFormatToPDF()
Specify the format of file to write out.
export a scene as a PostScript file using GL2PS.
void SetSortToOff()
Set the type of sorting algorithm to order primitives from back to front.
a simple class to control print indentation
void SetSortToSimple()
Set the type of sorting algorithm to order primitives from back to front.
void SetFileFormatToSVG()
Specify the format of file to write out.
vtkTypeBool OcclusionCull
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool Write3DPropsAsRasterImage
const char * GetFileFormatAsString()
Specify the format of file to write out.
void SetFileFormatToPS()
Specify the format of file to write out.
void SetFileFormatToTeX()
Specify the format of file to write out.
vtkTypeBool SimpleLineOffset
void UsePainterSettings()
Configure the exporter to expect a painter-ordered 2D rendering, that is, a rendering at a fixed dept...
vtkPropCollection * RasterExclusions
const char * GetSortAsString()
Set the type of sorting algorithm to order primitives from back to front.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkTypeBool DrawBackground
void SetSortToBSP()
Set the type of sorting algorithm to order primitives from back to front.