OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I686LINUX / util / I686LINUX / include / vtk / vtkStreamPoints.h
1 /*=========================================================================
2
3   Program:   Visualization Toolkit
4   Module:    $RCSfile: vtkStreamPoints.h,v $
5   Language:  C++
6   Date:      $Date: 2002/01/22 15:29:47 $
7   Version:   $Revision: 1.32 $
8
9   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
10   All rights reserved.
11   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
12
13      This software is distributed WITHOUT ANY WARRANTY; without even 
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
15      PURPOSE.  See the above copyright notice for more information.
16
17 =========================================================================*/
18 // .NAME vtkStreamPoints - generate points along streamer separated by constant time increment
19 // .SECTION Description
20 // vtkStreamPoints is a filter that generates points along a streamer.
21 // The points are separated by a constant time increment. The resulting visual
22 // effect (especially when coupled with vtkGlyph3D) is an indication of 
23 // particle speed.
24
25 // .SECTION See Also
26 // vtkStreamer vtkStreamLine vtkDashedStreamLine
27
28 #ifndef __vtkStreamPoints_h
29 #define __vtkStreamPoints_h
30
31 #include "vtkStreamer.h"
32
33 class VTK_GRAPHICS_EXPORT vtkStreamPoints : public vtkStreamer
34 {
35 public:
36   vtkTypeRevisionMacro(vtkStreamPoints,vtkStreamer);
37   void PrintSelf(ostream& os, vtkIndent indent);
38
39   // Description:
40   // Construct object with time increment set to 1.0.
41   static vtkStreamPoints *New();
42
43   // Description:
44   // Specify the separation of points in terms of absolute time.
45   vtkSetClampMacro(TimeIncrement,float,0.000001,VTK_LARGE_FLOAT);
46   vtkGetMacro(TimeIncrement,float);
47
48 protected:
49   vtkStreamPoints();
50   ~vtkStreamPoints() {};
51
52   // Convert streamer array into vtkPolyData
53   void Execute();
54
55   // the separation of points
56   float TimeIncrement;
57   
58 private:
59   vtkStreamPoints(const vtkStreamPoints&);  // Not implemented.
60   void operator=(const vtkStreamPoints&);  // Not implemented.
61 };
62
63 #endif
64
65