00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkOutlineSource.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 =========================================================================*/ 00037 #ifndef __vtkOutlineSource_h 00038 #define __vtkOutlineSource_h 00039 00040 #include "vtkPolyDataSource.h" 00041 00042 class VTK_GRAPHICS_EXPORT vtkOutlineSource : public vtkPolyDataSource 00043 { 00044 public: 00045 static vtkOutlineSource *New(); 00046 vtkTypeRevisionMacro(vtkOutlineSource,vtkPolyDataSource); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00048 00050 00051 vtkSetVector6Macro(Bounds,float); 00052 vtkGetVectorMacro(Bounds,float,6); 00054 00055 protected: 00056 vtkOutlineSource(); 00057 ~vtkOutlineSource() {}; 00058 00059 void Execute(); 00060 float Bounds[6]; 00061 private: 00062 vtkOutlineSource(const vtkOutlineSource&); // Not implemented. 00063 void operator=(const vtkOutlineSource&); // Not implemented. 00064 }; 00065 00066 #endif 00067 00068