80 #ifndef vtkGL2PSExporter_h 81 #define vtkGL2PSExporter_h 83 #include "vtkIOExportModule.h" 95 void PrintSelf(ostream& os,
vtkIndent indent) override;
103 vtkSetStringMacro(FilePrefix);
104 vtkGetStringMacro(FilePrefix);
116 vtkSetMacro(BufferSize,
int);
117 vtkGetMacro(BufferSize,
int);
125 vtkSetStringMacro(Title);
126 vtkGetStringMacro(Title);
148 this->SetSortToOff();
149 this->SetSimpleLineOffset(0);
160 vtkSetClampMacro(FileFormat,
int, PS_FILE, SVG_FILE);
161 vtkGetMacro(FileFormat,
int);
163 {this->SetFileFormat(PS_FILE);};
165 {this->SetFileFormat(EPS_FILE);};
167 {this->SetFileFormat(PDF_FILE);};
169 {this->SetFileFormat(TEX_FILE);};
171 {this->SetFileFormat(SVG_FILE);};
172 const char *GetFileFormatAsString();
188 vtkSetClampMacro(Sort,
int, NO_SORT, BSP_SORT);
189 vtkGetMacro(Sort,
int);
191 {this->SetSort(NO_SORT);};
193 {this->SetSort(SIMPLE_SORT);};
195 {this->SetSort(BSP_SORT);};
196 const char *GetSortAsString();
307 vtkSetMacro(Write3DPropsAsRasterImage,
vtkTypeBool);
308 vtkGetMacro(Write3DPropsAsRasterImage,
vtkTypeBool);
309 vtkBooleanMacro(Write3DPropsAsRasterImage,
vtkTypeBool);
318 vtkSetMacro(TextAsPath,
bool);
319 vtkGetMacro(TextAsPath,
bool);
320 vtkBooleanMacro(TextAsPath,
bool);
339 vtkSetMacro(PointSizeFactor,
float);
340 vtkGetMacro(PointSizeFactor,
float);
348 vtkSetMacro(LineWidthFactor,
float);
349 vtkGetMacro(LineWidthFactor,
float);
356 int GetGL2PSOptions();
358 int GetGL2PSFormat();
359 const char *GetFileExtension();
389 if ( this->Sort == NO_SORT )
393 else if ( this->Sort == SIMPLE_SORT )
405 if ( this->FileFormat == PS_FILE )
409 else if ( this->FileFormat == EPS_FILE )
413 else if ( this->FileFormat == PDF_FILE )
417 else if ( this->FileFormat == TEX_FILE )
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
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.