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.
50 lines
1.5 KiB
50 lines
1.5 KiB
/*=========================================================================
|
|
|
|
Program: Visualization Toolkit
|
|
Module: $RCSfile: vtkPointSetSource.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 vtkPointSetSource - abstract class whose subclasses generate point data
|
|
// .SECTION Description
|
|
// vtkPointSetSource is an abstract class whose subclasses generate pointdata.
|
|
|
|
#ifndef __vtkPointDataSource_h
|
|
#define __vtkPointDataSource_h
|
|
|
|
#include "vtkSource.h"
|
|
|
|
class vtkPointSet;
|
|
|
|
class VTK_FILTERING_EXPORT vtkPointSetSource : public vtkSource
|
|
{
|
|
public:
|
|
vtkTypeRevisionMacro(vtkPointSetSource,vtkSource);
|
|
void PrintSelf(ostream& os, vtkIndent indent);
|
|
|
|
// Description:
|
|
// Get the output of this source.
|
|
vtkPointSet *GetOutput();
|
|
vtkPointSet *GetOutput(int idx);
|
|
void SetOutput(vtkPointSet *output);
|
|
|
|
protected:
|
|
vtkPointSetSource();
|
|
~vtkPointSetSource() {};
|
|
|
|
virtual int FillOutputPortInformation(int, vtkInformation*);
|
|
private:
|
|
vtkPointSetSource(const vtkPointSetSource&); // Not implemented.
|
|
void operator=(const vtkPointSetSource&); // Not implemented.
|
|
};
|
|
|
|
#endif
|
|
|
|
|
|
|