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.
58 lines
1.8 KiB
58 lines
1.8 KiB
/*=========================================================================
|
|
|
|
Program: Visualization Toolkit
|
|
Module: $RCSfile: vtkStructuredPointsSource.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 vtkStructuredPointsSource - Abstract class whose subclasses generates structured Points data
|
|
// .SECTION Description
|
|
// vtkStructuredPointsSource is an abstract class whose subclasses generate
|
|
// structured Points data.
|
|
|
|
// .SECTION See Also
|
|
// vtkStructuredPointsReader vtkPLOT3DReader
|
|
|
|
#ifndef __vtkStructuredPointsSource_h
|
|
#define __vtkStructuredPointsSource_h
|
|
|
|
#include "vtkSource.h"
|
|
|
|
class vtkStructuredPoints;
|
|
|
|
class VTK_FILTERING_EXPORT vtkStructuredPointsSource : public vtkSource
|
|
{
|
|
public:
|
|
vtkTypeRevisionMacro(vtkStructuredPointsSource,vtkSource);
|
|
void PrintSelf(ostream& os, vtkIndent indent);
|
|
|
|
// Description:
|
|
// Set/Get the output of this source.
|
|
void SetOutput(vtkStructuredPoints *output);
|
|
vtkStructuredPoints *GetOutput();
|
|
vtkStructuredPoints *GetOutput(int idx);
|
|
|
|
protected:
|
|
vtkStructuredPointsSource();
|
|
~vtkStructuredPointsSource() {};
|
|
|
|
// Default method performs Update to get information. Not all the old
|
|
// structured points sources compute information
|
|
void ExecuteInformation();
|
|
|
|
virtual int FillOutputPortInformation(int, vtkInformation*);
|
|
private:
|
|
vtkStructuredPointsSource(const vtkStructuredPointsSource&); // Not implemented.
|
|
void operator=(const vtkStructuredPointsSource&); // Not implemented.
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|