80 #ifndef vtkGL2PSExporter_h
81 #define vtkGL2PSExporter_h
83 #include "vtkIOExportModule.h"
95 void PrintSelf(ostream& os,
vtkIndent indent);
103 vtkSetStringMacro(FilePrefix);
117 vtkGetMacro(BufferSize,
int);
125 vtkSetStringMacro(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();
205 vtkGetMacro(Compress,
int);
216 vtkGetMacro(DrawBackground,
int);
228 vtkGetMacro(SimpleLineOffset,
int);
238 vtkGetMacro(Silent,
int);
250 vtkGetMacro(BestRoot,
int);
262 vtkGetMacro(
Text,
int);
272 vtkGetMacro(Landscape,
int);
283 vtkGetMacro(PS3Shading,
int);
294 vtkGetMacro(OcclusionCull,
int);
308 vtkGetMacro(Write3DPropsAsRasterImage,
int);
319 vtkGetMacro(TextAsPath,
bool);
340 vtkGetMacro(PointSizeFactor,
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 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.
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...
vtkPropCollection * RasterExclusions
int Write3DPropsAsRasterImage
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.