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

# Filtering/vtkStructuredGridSource.h

Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program:   Visualization Toolkit
    00004   Module:    $RCSfile: vtkStructuredGridSource.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 =========================================================================*/
    00041 #ifndef __vtkStructuredGridSource_h
    00042 #define __vtkStructuredGridSource_h
    00043
    00044 #include "vtkSource.h"
    00045
    00046 class vtkStructuredGrid;
    00047
    00048 class VTK_FILTERING_EXPORT vtkStructuredGridSource : public vtkSource
    00049 {
    00050 public:
    00051   vtkTypeRevisionMacro(vtkStructuredGridSource,vtkSource);
    00052   void PrintSelf(ostream& os, vtkIndent indent);
    00053
    00055
    00056   vtkStructuredGrid *GetOutput();
    00057   vtkStructuredGrid *GetOutput(int idx);
    00058   void SetOutput(vtkStructuredGrid *output);
    00060
    00061 protected:
    00062   vtkStructuredGridSource();
    00063   ~vtkStructuredGridSource() {};
    00064
    00065 private:
    00066   vtkStructuredGridSource(const vtkStructuredGridSource&);  // Not implemented.
    00067   void operator=(const vtkStructuredGridSource&);  // Not implemented.
    00068 };
    00069
    00070 #endif
    00071
    00072