Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | 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 
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 =========================================================================*/
00049 #ifndef __vtkDashedStreamLine_h
00050 #define __vtkDashedStreamLine_h
00051 
00052 #include "vtkStreamLine.h"
00053 
00054 class VTK_GRAPHICS_EXPORT vtkDashedStreamLine : public vtkStreamLine
00055 {
00056 public:
00057   static vtkDashedStreamLine *New();
00058   vtkTypeRevisionMacro(vtkDashedStreamLine,vtkStreamLine);
00059   void PrintSelf(ostream& os, vtkIndent indent);
00060 
00062 
00065   vtkSetClampMacro(DashFactor,double,0.01,1.0);
00066   vtkGetMacro(DashFactor,double);
00068 
00069 protected:
00070   vtkDashedStreamLine();
00071   ~vtkDashedStreamLine() {};
00072 
00073   // Convert streamer array into vtkPolyData
00074   void Execute();
00075 
00076   // the fraction of on versus off in dash
00077   double DashFactor;
00078   
00079 private:
00080   vtkDashedStreamLine(const vtkDashedStreamLine&);  // Not implemented.
00081   void operator=(const vtkDashedStreamLine&);  // Not implemented.
00082 };
00083 
00084 #endif
00085 
00086