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

# IO/vtkXMLPUnstructuredDataWriter.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkXMLPUnstructuredDataWriter.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 =========================================================================*/
    00037 #ifndef __vtkXMLPUnstructuredDataWriter_h
    00038 #define __vtkXMLPUnstructuredDataWriter_h
    00039
    00040 #include "vtkXMLPDataWriter.h"
    00041
    00042 class vtkPointSet;
    00043 class vtkXMLUnstructuredDataWriter;
    00044
    00045 class VTK_IO_EXPORT vtkXMLPUnstructuredDataWriter : public vtkXMLPDataWriter
    00046 {
    00047 public:
    00048   vtkTypeRevisionMacro(vtkXMLPUnstructuredDataWriter,vtkXMLPDataWriter);
    00049   void PrintSelf(ostream& os, vtkIndent indent);
    00050
    00051 protected:
    00052   vtkXMLPUnstructuredDataWriter();
    00053   ~vtkXMLPUnstructuredDataWriter();
    00054
    00055   vtkPointSet* GetInputAsPointSet();
    00056
    00057   virtual vtkXMLUnstructuredDataWriter* CreateUnstructuredPieceWriter()=0;
    00058   vtkXMLWriter* CreatePieceWriter(int index);
    00059   void WritePData(vtkIndent indent);
    00060
    00061 private:
    00062   vtkXMLPUnstructuredDataWriter(const vtkXMLPUnstructuredDataWriter&);  // Not implemented.
    00063   void operator=(const vtkXMLPUnstructuredDataWriter&);  // Not implemented.
    00064 };
    00065
    00066 #endif