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 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 =========================================================================*/ 00050 #ifndef __vtkSelectVisiblePoints_h 00051 #define __vtkSelectVisiblePoints_h 00052 00053 #include "vtkDataSetToPolyDataFilter.h" 00054 00055 class vtkRenderer; 00056 00057 class VTK_RENDERING_EXPORT vtkSelectVisiblePoints : public vtkDataSetToPolyDataFilter 00058 { 00059 public: 00060 vtkTypeRevisionMacro(vtkSelectVisiblePoints,vtkDataSetToPolyDataFilter); 00061 void PrintSelf(ostream& os, vtkIndent indent); 00062 00065 static vtkSelectVisiblePoints *New(); 00066 00068 00070 void SetRenderer(vtkRenderer* ren) 00071 { 00072 if (this->Renderer != ren) 00073 { 00074 this->Renderer = ren; 00075 this->Modified(); 00076 } 00077 } 00078 vtkRenderer* GetRenderer() { return this->Renderer; } 00080 00082 00084 vtkSetMacro(SelectionWindow,int); 00085 vtkGetMacro(SelectionWindow,int); 00086 vtkBooleanMacro(SelectionWindow,int); 00088 00090 00092 vtkSetVector4Macro(Selection,int); 00093 vtkGetVectorMacro(Selection,int,4); 00095 00097 00099 vtkSetMacro(SelectInvisible,int); 00100 vtkGetMacro(SelectInvisible,int); 00101 vtkBooleanMacro(SelectInvisible,int); 00103 00105 00108 vtkSetClampMacro(Tolerance,double,0.0,VTK_FLOAT_MAX); 00109 vtkGetMacro(Tolerance,double); 00111 00113 unsigned long GetMTime(); 00114 00115 protected: 00116 vtkSelectVisiblePoints(); 00117 ~vtkSelectVisiblePoints(); 00118 00119 void Execute(); 00120 00121 vtkRenderer *Renderer; 00122 00123 int SelectionWindow; 00124 int Selection[4]; 00125 int SelectInvisible; 00126 double Tolerance; 00127 00128 private: 00129 vtkSelectVisiblePoints(const vtkSelectVisiblePoints&); // Not implemented. 00130 void operator=(const vtkSelectVisiblePoints&); // Not implemented. 00131 }; 00132 00133 #endif 00134 00135