00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkStreamLine.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 =========================================================================*/ 00052 #ifndef __vtkStreamLine_h 00053 #define __vtkStreamLine_h 00054 00055 #include "vtkStreamer.h" 00056 00057 class VTK_GRAPHICS_EXPORT vtkStreamLine : public vtkStreamer 00058 { 00059 public: 00060 vtkTypeMacro(vtkStreamLine,vtkStreamer); 00061 void PrintSelf(ostream& os, vtkIndent indent); 00062 00064 static vtkStreamLine *New(); 00065 00067 00070 vtkSetClampMacro(StepLength,double,0.000001,VTK_DOUBLE_MAX); 00071 vtkGetMacro(StepLength,double); 00073 00074 protected: 00075 vtkStreamLine(); 00076 ~vtkStreamLine() {}; 00077 00078 // Convert streamer array into vtkPolyData 00079 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00080 00081 // the length of line primitives 00082 double StepLength; 00083 00084 private: 00085 vtkStreamLine(const vtkStreamLine&); // Not implemented. 00086 void operator=(const vtkStreamLine&); // Not implemented. 00087 }; 00088 00089 #endif