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

dox/Rendering/vtkSelectVisiblePoints.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkSelectVisiblePoints.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 __vtkSelectVisiblePoints_h 00055 #define __vtkSelectVisiblePoints_h 00056 00057 #include "vtkDataSetToPolyDataFilter.h" 00058 00059 class vtkRenderer; 00060 00061 class VTK_RENDERING_EXPORT vtkSelectVisiblePoints : public vtkDataSetToPolyDataFilter 00062 { 00063 public: 00064 vtkTypeRevisionMacro(vtkSelectVisiblePoints,vtkDataSetToPolyDataFilter); 00065 void PrintSelf(ostream& os, vtkIndent indent); 00066 00069 static vtkSelectVisiblePoints *New(); 00070 00072 00074 void SetRenderer(vtkRenderer* ren) 00075 { 00076 if (this->Renderer != ren) 00077 { 00078 this->Renderer = ren; 00079 this->Modified(); 00080 } 00081 } 00082 vtkRenderer* GetRenderer() { return this->Renderer; } 00084 00086 00088 vtkSetMacro(SelectionWindow,int); 00089 vtkGetMacro(SelectionWindow,int); 00090 vtkBooleanMacro(SelectionWindow,int); 00092 00094 00096 vtkSetVector4Macro(Selection,int); 00097 vtkGetVectorMacro(Selection,int,4); 00099 00101 00103 vtkSetMacro(SelectInvisible,int); 00104 vtkGetMacro(SelectInvisible,int); 00105 vtkBooleanMacro(SelectInvisible,int); 00107 00109 00112 vtkSetClampMacro(Tolerance,float,0.0,VTK_LARGE_FLOAT); 00113 vtkGetMacro(Tolerance,float); 00115 00117 unsigned long GetMTime(); 00118 00119 protected: 00120 vtkSelectVisiblePoints(); 00121 ~vtkSelectVisiblePoints(); 00122 00123 void Execute(); 00124 00125 vtkRenderer *Renderer; 00126 00127 int SelectionWindow; 00128 int Selection[4]; 00129 int SelectInvisible; 00130 float Tolerance; 00131 00132 private: 00133 vtkSelectVisiblePoints(const vtkSelectVisiblePoints&); // Not implemented. 00134 void operator=(const vtkSelectVisiblePoints&); // Not implemented. 00135 }; 00136 00137 #endif 00138 00139