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

vtkArrowSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkArrowSource.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 =========================================================================*/
00028 #ifndef __vtkArrowSource_h
00029 #define __vtkArrowSource_h
00030 
00031 #include "vtkPolyDataAlgorithm.h"
00032 
00033 class VTK_GRAPHICS_EXPORT vtkArrowSource : public vtkPolyDataAlgorithm
00034 {
00035 public:
00037   static vtkArrowSource *New();
00038 
00039   vtkTypeRevisionMacro(vtkArrowSource,vtkPolyDataAlgorithm);
00040   void PrintSelf(ostream& os, vtkIndent indent);
00041     
00043 
00044   vtkSetClampMacro(TipLength,double,0.0,1.0);
00045   vtkGetMacro(TipLength,double);
00046   vtkSetClampMacro(TipRadius,double,0.0,10.0);
00047   vtkGetMacro(TipRadius,double);
00049   
00051 
00053   vtkSetClampMacro(TipResolution,int,1,128);
00054   vtkGetMacro(TipResolution,int);
00056 
00058 
00059   vtkSetClampMacro(ShaftRadius,double,0.0,5.0);
00060   vtkGetMacro(ShaftRadius,double);
00062 
00064 
00066   vtkSetClampMacro(ShaftResolution,int,0,128);
00067   vtkGetMacro(ShaftResolution,int);
00069 
00070 protected:
00071   vtkArrowSource();
00072   ~vtkArrowSource() {};
00073 
00074   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00075 
00076   int TipResolution;
00077   double TipLength;
00078   double TipRadius;
00079 
00080   int ShaftResolution;
00081   double ShaftRadius;
00082 
00083 private:
00084   vtkArrowSource(const vtkArrowSource&); // Not implemented.
00085   void operator=(const vtkArrowSource&); // Not implemented.
00086 };
00087 
00088 #endif
00089 
00090 

Generated on Mon Jan 21 23:07:24 2008 for VTK by  doxygen 1.4.3-20050530