Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# IO/vtkXMLPUnstructuredGridWriter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkXMLPUnstructuredGridWriter.h,v $
    00005   Language:  C++
    00006
    00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
    00008   All rights reserved.
    00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
    00010
    00011      This software is distributed WITHOUT ANY WARRANTY; without even
    00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00013      PURPOSE.  See the above copyright notice for more information.
    00014
    00015 =========================================================================*/
    00043 #ifndef __vtkXMLPUnstructuredGridWriter_h
    00044 #define __vtkXMLPUnstructuredGridWriter_h
    00045
    00046 #include "vtkXMLPUnstructuredDataWriter.h"
    00047
    00048 class vtkUnstructuredGrid;
    00049
    00050 class VTK_IO_EXPORT vtkXMLPUnstructuredGridWriter : public vtkXMLPUnstructuredDataWriter
    00051 {
    00052 public:
    00053   static vtkXMLPUnstructuredGridWriter* New();
    00054   vtkTypeRevisionMacro(vtkXMLPUnstructuredGridWriter,vtkXMLPUnstructuredDataWriter);
    00055   void PrintSelf(ostream& os, vtkIndent indent);
    00056
    00058
    00059   void SetInput(vtkUnstructuredGrid* input);
    00060   vtkUnstructuredGrid* GetInput();
    00062
    00064   const char* GetDefaultFileExtension();
    00065
    00066 protected:
    00067   vtkXMLPUnstructuredGridWriter();
    00068   ~vtkXMLPUnstructuredGridWriter();
    00069
    00070   const char* GetDataSetName();
    00071   vtkXMLUnstructuredDataWriter* CreateUnstructuredPieceWriter();
    00072
    00073 private:
    00074   vtkXMLPUnstructuredGridWriter(const vtkXMLPUnstructuredGridWriter&);  // Not implemented.
    00075   void operator=(const vtkXMLPUnstructuredGridWriter&);  // Not implemented.
    00076 };
    00077
    00078 #endif