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