VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkStreamPoints.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00030 #ifndef __vtkStreamPoints_h 00031 #define __vtkStreamPoints_h 00032 00033 #include "vtkFiltersFlowPathsModule.h" // For export macro 00034 #include "vtkStreamer.h" 00035 00036 class VTKFILTERSFLOWPATHS_EXPORT vtkStreamPoints : public vtkStreamer 00037 { 00038 public: 00039 vtkTypeMacro(vtkStreamPoints,vtkStreamer); 00040 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 static vtkStreamPoints *New(); 00044 00046 00047 vtkSetClampMacro(TimeIncrement,double,0.000001,VTK_DOUBLE_MAX); 00048 vtkGetMacro(TimeIncrement,double); 00050 00051 protected: 00052 vtkStreamPoints(); 00053 ~vtkStreamPoints() {}; 00054 00055 // Convert streamer array into vtkPolyData 00056 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00057 00058 // the separation of points 00059 double TimeIncrement; 00060 00061 private: 00062 vtkStreamPoints(const vtkStreamPoints&); // Not implemented. 00063 void operator=(const vtkStreamPoints&); // Not implemented. 00064 }; 00065 00066 #endif