1 // Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef VISU_StreamLine_HeaderFile
21 #define VISU_StreamLine_HeaderFile
23 #include "VISUPipeline.hxx"
24 #include "VISU_Streamer.hxx"
26 class VISU_PIPELINE_EXPORT VISU_StreamLine : public VISU_Streamer
29 vtkTypeRevisionMacro(VISU_StreamLine,VISU_Streamer);
30 void PrintSelf(ostream& os, vtkIndent indent);
33 // Construct object with step size set to 1.0.
34 static VISU_StreamLine *New();
37 // Specify the length of a line segment. The length is expressed in terms of
38 // elapsed time. Smaller values result in smoother appearing streamlines, but
39 // greater numbers of line primitives.
40 vtkSetClampMacro(StepLength,double,0.000001,VTK_DOUBLE_MAX);
41 vtkGetMacro(StepLength,double);
45 ~VISU_StreamLine() {};
47 // Convert streamer array into vtkPolyData
48 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
50 // the length of line primitives
54 VISU_StreamLine(const VISU_StreamLine&); // Not implemented.
55 void operator=(const VISU_StreamLine&); // Not implemented.