00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkStreamPoints.h,v $ 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 "vtkStreamer.h" 00034 00035 class VTK_GRAPHICS_EXPORT vtkStreamPoints : public vtkStreamer 00036 { 00037 public: 00038 vtkTypeRevisionMacro(vtkStreamPoints,vtkStreamer); 00039 void PrintSelf(ostream& os, vtkIndent indent); 00040 00042 static vtkStreamPoints *New(); 00043 00045 00046 vtkSetClampMacro(TimeIncrement,double,0.000001,VTK_DOUBLE_MAX); 00047 vtkGetMacro(TimeIncrement,double); 00049 00050 protected: 00051 vtkStreamPoints(); 00052 ~vtkStreamPoints() {}; 00053 00054 // Convert streamer array into vtkPolyData 00055 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00056 00057 // the separation of points 00058 double TimeIncrement; 00059 00060 private: 00061 vtkStreamPoints(const vtkStreamPoints&); // Not implemented. 00062 void operator=(const vtkStreamPoints&); // Not implemented. 00063 }; 00064 00065 #endif