VTK
dox/Filters/Sources/vtkOutlineCornerSource.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkOutlineCornerSource.h
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 =========================================================================*/
00022 #ifndef __vtkOutlineCornerSource_h
00023 #define __vtkOutlineCornerSource_h
00024 
00025 #include "vtkFiltersSourcesModule.h" // For export macro
00026 #include "vtkOutlineSource.h"
00027 
00028 class VTKFILTERSSOURCES_EXPORT vtkOutlineCornerSource : public vtkOutlineSource
00029 {
00030 public:
00031   vtkTypeMacro(vtkOutlineCornerSource,vtkOutlineSource);
00032   void PrintSelf(ostream& os, vtkIndent indent);
00033 
00035   static vtkOutlineCornerSource *New();
00036 
00038 
00040   vtkSetClampMacro(CornerFactor, double, 0.001, 0.5);
00041   vtkGetMacro(CornerFactor, double);
00043 
00044 protected:
00045   vtkOutlineCornerSource();
00046   ~vtkOutlineCornerSource() {};
00047 
00048   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00049 
00050   double CornerFactor;
00051 private:
00052   vtkOutlineCornerSource(const vtkOutlineCornerSource&);  // Not implemented.
00053   void operator=(const vtkOutlineCornerSource&);  // Not implemented.
00054 };
00055 
00056 #endif