Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Graphics/vtkDashedStreamLine.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDashedStreamLine.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00053 #ifndef __vtkDashedStreamLine_h
00054 #define __vtkDashedStreamLine_h
00055 
00056 #include "vtkStreamLine.h"
00057 
00058 class VTK_GRAPHICS_EXPORT vtkDashedStreamLine : public vtkStreamLine
00059 {
00060 public:
00061   static vtkDashedStreamLine *New();
00062   vtkTypeRevisionMacro(vtkDashedStreamLine,vtkStreamLine);
00063   void PrintSelf(ostream& os, vtkIndent indent);
00064 
00066 
00069   vtkSetClampMacro(DashFactor,float,0.01,1.0);
00070   vtkGetMacro(DashFactor,float);
00072 
00073 protected:
00074   vtkDashedStreamLine();
00075   ~vtkDashedStreamLine() {};
00076 
00077   // Convert streamer array into vtkPolyData
00078   void Execute();
00079 
00080   // the fraction of on versus off in dash
00081   float DashFactor;
00082   
00083 private:
00084   vtkDashedStreamLine(const vtkDashedStreamLine&);  // Not implemented.
00085   void operator=(const vtkDashedStreamLine&);  // Not implemented.
00086 };
00087 
00088 #endif
00089 
00090