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

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 =========================================================================*/
00041 #ifndef __vtkDashedStreamLine_h
00042 #define __vtkDashedStreamLine_h
00043 
00044 #include "vtkStreamLine.h"
00045 
00046 class VTK_GRAPHICS_EXPORT vtkDashedStreamLine : public vtkStreamLine
00047 {
00048 public:
00049   static vtkDashedStreamLine *New();
00050   vtkTypeRevisionMacro(vtkDashedStreamLine,vtkStreamLine);
00051   void PrintSelf(ostream& os, vtkIndent indent);
00052 
00054 
00057   vtkSetClampMacro(DashFactor,float,0.01,1.0);
00058   vtkGetMacro(DashFactor,float);
00060 
00061 protected:
00062   vtkDashedStreamLine();
00063   ~vtkDashedStreamLine() {};
00064 
00065   // Convert streamer array into vtkPolyData
00066   void Execute();
00067 
00068   // the fraction of on versus off in dash
00069   float DashFactor;
00070   
00071 private:
00072   vtkDashedStreamLine(const vtkDashedStreamLine&);  // Not implemented.
00073   void operator=(const vtkDashedStreamLine&);  // Not implemented.
00074 };
00075 
00076 #endif
00077 
00078