Rendering/vtkSelectVisiblePoints.h Source File

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

# 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 =========================================================================*/
    00066 #ifndef __vtkSelectVisiblePoints_h
    00067 #define __vtkSelectVisiblePoints_h
    00068
    00069 #include "vtkDataSetToPolyDataFilter.h"
    00070
    00071 class vtkRenderer;
    00072
    00073 class VTK_RENDERING_EXPORT vtkSelectVisiblePoints : public vtkDataSetToPolyDataFilter
    00074 {
    00075 public:
    00076   vtkTypeRevisionMacro(vtkSelectVisiblePoints,vtkDataSetToPolyDataFilter);
    00077   void PrintSelf(ostream& os, vtkIndent indent);
    00078
    00081   static vtkSelectVisiblePoints *New();
    00082
    00084
    00086   void SetRenderer(vtkRenderer* ren)
    00087     {
    00088       if (this->Renderer != ren)
    00089         {
    00090         this->Renderer = ren;
    00091         this->Modified();
    00092         }
    00093     }
    00094   vtkRenderer* GetRenderer() { return this->Renderer; }
    00096
    00098
    00100   vtkSetMacro(SelectionWindow,int);
    00101   vtkGetMacro(SelectionWindow,int);
    00102   vtkBooleanMacro(SelectionWindow,int);
    00104
    00106
    00108   vtkSetVector4Macro(Selection,int);
    00109   vtkGetVectorMacro(Selection,int,4);
    00111
    00113
    00115   vtkSetMacro(SelectInvisible,int);
    00116   vtkGetMacro(SelectInvisible,int);
    00117   vtkBooleanMacro(SelectInvisible,int);
    00119
    00121
    00124   vtkSetClampMacro(Tolerance,float,0.0,VTK_LARGE_FLOAT);
    00125   vtkGetMacro(Tolerance,float);
    00127
    00129   unsigned long GetMTime();
    00130
    00131 protected:
    00132   vtkSelectVisiblePoints();
    00133   ~vtkSelectVisiblePoints();
    00134
    00135   void Execute();
    00136
    00137   vtkRenderer *Renderer;
    00138
    00139   int SelectionWindow;
    00140   int Selection[4];
    00141   int SelectInvisible;
    00142   float Tolerance;
    00143
    00144 private:
    00145   vtkSelectVisiblePoints(const vtkSelectVisiblePoints&);  // Not implemented.
    00146   void operator=(const vtkSelectVisiblePoints&);  // Not implemented.
    00147 };
    00148
    00149 #endif
    00150
    00151