77 #ifndef vtkGL2PSExporter_h 78 #define vtkGL2PSExporter_h 80 #include "vtkIOExportModule.h" 100 vtkSetStringMacro(FilePrefix);
114 vtkGetMacro(BufferSize,
int);
122 vtkSetStringMacro(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();
202 vtkGetMacro(Compress,
int);
213 vtkGetMacro(DrawBackground,
int);
225 vtkGetMacro(SimpleLineOffset,
int);
235 vtkGetMacro(Silent,
int);
247 vtkGetMacro(BestRoot,
int);
259 vtkGetMacro(
Text,
int);
269 vtkGetMacro(Landscape,
int);
280 vtkGetMacro(PS3Shading,
int);
291 vtkGetMacro(OcclusionCull,
int);
305 vtkGetMacro(Write3DPropsAsRasterImage,
int);
316 vtkGetMacro(TextAsPath,
bool);
337 vtkGetMacro(PointSizeFactor,
float);
346 vtkGetMacro(LineWidthFactor,
float);
353 int GetGL2PSOptions();
355 int GetGL2PSFormat();
356 const
char *GetFileExtension();
367 int SimpleLineOffset;
374 int Write3DPropsAsRasterImage;
376 float PointSizeFactor;
377 float LineWidthFactor;
386 if ( this->Sort == NO_SORT )
390 else if ( this->Sort == SIMPLE_SORT )
402 if ( this->FileFormat == PS_FILE )
406 else if ( this->FileFormat == EPS_FILE )
410 else if ( this->FileFormat == PDF_FILE )
414 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 the type of sorting algorithm to order primitives from back to front.
a simple class to control print indentation
void SetSortToSimple()
Set the the type of sorting algorithm to order primitives from back to front.
void SetFileFormatToSVG()
Specify the format of file to write out.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.
void UsePainterSettings()
Configure the exporter to expect a painter-ordered 2D rendering, that is, a rendering at a fixed dept...
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void SetSortToBSP()
Set the the type of sorting algorithm to order primitives from back to front.