You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.7 KiB
54 lines
1.7 KiB
/*=========================================================================
|
|
|
|
Program: Visualization Toolkit
|
|
Module: $RCSfile: vtkRectilinearGridSource.h,v $
|
|
|
|
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
|
|
All rights reserved.
|
|
See Copyright.txt or http://www.kitware.com/Copyright.htm 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 vtkRectilinearGridSource - Abstract class whose subclasses generates rectilinear grid data
|
|
// .SECTION Description
|
|
// vtkRectilinearGridSource is an abstract class whose subclasses generate
|
|
// rectilinear grid data.
|
|
|
|
// .SECTION See Also
|
|
// vtkRectilinearGridReader
|
|
|
|
#ifndef __vtkRectilinearGridSource_h
|
|
#define __vtkRectilinearGridSource_h
|
|
|
|
#include "vtkSource.h"
|
|
|
|
class vtkRectilinearGrid;
|
|
|
|
class VTK_FILTERING_EXPORT vtkRectilinearGridSource : public vtkSource
|
|
{
|
|
public:
|
|
vtkTypeRevisionMacro(vtkRectilinearGridSource,vtkSource);
|
|
void PrintSelf(ostream& os, vtkIndent indent);
|
|
|
|
// Description:
|
|
// Get the output of this source.
|
|
vtkRectilinearGrid *GetOutput();
|
|
vtkRectilinearGrid *GetOutput(int idx);
|
|
void SetOutput(vtkRectilinearGrid *output);
|
|
|
|
protected:
|
|
vtkRectilinearGridSource();
|
|
~vtkRectilinearGridSource() {};
|
|
|
|
virtual int FillOutputPortInformation(int, vtkInformation*);
|
|
private:
|
|
vtkRectilinearGridSource(const vtkRectilinearGridSource&); // Not implemented.
|
|
void operator=(const vtkRectilinearGridSource&); // Not implemented.
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|