/*=========================================================================

  Program:   ParaView
  Module:    vtkPVGL2PSExporter.h

  Copyright (c) Kitware, Inc.
  All rights reserved.
  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.

     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notice for more information.

=========================================================================*/
// .NAME vtkPVGL2PSExporter - ParaView wrapper for vtkGL2PS exporter.
// .SECTION Description
// This is used to export ParaView renderings to a variety of vector graphics
// formats.

#ifndef vtkPVGL2PSExporter_h
#define vtkPVGL2PSExporter_h

#include "vtkGL2PSExporter.h"
#include "vtkPVVTKExtensionsRenderingModule.h" // needed for export macro
#include "vtkStdString.h" // for vtkStdString

class VTKPVVTKEXTENSIONSRENDERING_EXPORT vtkPVGL2PSExporter
    : public vtkGL2PSExporter
{
public:
  static vtkPVGL2PSExporter* New();
  vtkTypeMacro(vtkPVGL2PSExporter, vtkGL2PSExporter);
  void PrintSelf(ostream& os, vtkIndent indent);

  // Description:
  // Set/Get the name of the output file.
  vtkSetMacro(FileName, const char *)
  const char *GetFileName()
  {
    return this->FileName.c_str();
  }

  // Description:
  // If Write3DPropsAsRasterImage is true, add all instances of
  // vtkCubeAxesActors to the RenderExclusions.
  vtkSetMacro(ExcludeCubeAxesActorsFromRasterization, int)
  vtkGetMacro(ExcludeCubeAxesActorsFromRasterization, int)
  vtkBooleanMacro(ExcludeCubeAxesActorsFromRasterization, int)

//BTX
protected:
  vtkPVGL2PSExporter();
  ~vtkPVGL2PSExporter();

  void WriteData();

  vtkStdString FileName;
  int ExcludeCubeAxesActorsFromRasterization;

private:
  vtkPVGL2PSExporter(const vtkPVGL2PSExporter&); // Not implemented
  void operator=(const vtkPVGL2PSExporter&); // Not implemented
//ETX
};

#endif
