Version: 6.3.1

src/OBJECT/VISU_SelectVisiblePoints.h

Go to the documentation of this file.
00001 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // This library is free software; you can redistribute it and/or
00004 // modify it under the terms of the GNU Lesser General Public
00005 // License as published by the Free Software Foundation; either
00006 // version 2.1 of the License.
00007 //
00008 // This library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011 // Lesser General Public License for more details.
00012 //
00013 // You should have received a copy of the GNU Lesser General Public
00014 // License along with this library; if not, write to the Free Software
00015 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00016 //
00017 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00018 //
00019 
00020 //  VISU OBJECT : interactive object for VISU entities implementation
00021 //  File   : VISU_SelectVisiblePoints.h
00022 //  Author : Oleg UVAROV
00023 //  Module : VISU
00024 //
00025 #ifndef VISU_SelectVisiblePoints_HeaderFile
00026 #define VISU_SelectVisiblePoints_HeaderFile
00027 
00028 #include "VISU_OBJECT.h"
00029 
00030 #include "vtkSelectVisiblePoints.h"
00031 
00032 class vtkRenderer;
00033 
00034 class VISU_OBJECT_EXPORT VISU_SelectVisiblePoints : public vtkSelectVisiblePoints
00035 {
00036 public:
00037   vtkTypeMacro(VISU_SelectVisiblePoints,vtkSelectVisiblePoints);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039 
00040   // Description:
00041   // Instantiate object with no renderer; window selection turned off; 
00042   // tolerance set to 0.01; and select invisible off.
00043   static VISU_SelectVisiblePoints *New();
00044 
00045   // Description:
00046   // Set/Get a translation offset for input points.
00047   vtkSetVector3Macro(Offset,double);
00048   vtkGetVectorMacro(Offset,double,4);
00049 
00050 protected:
00051   VISU_SelectVisiblePoints();
00052   ~VISU_SelectVisiblePoints();
00053 
00054   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00055 
00056   double Offset[3];
00057 
00058 private:
00059   VISU_SelectVisiblePoints(const VISU_SelectVisiblePoints&);  // Not implemented.
00060   void operator=(const VISU_SelectVisiblePoints&);  // Not implemented.
00061 };
00062 
00063 #endif
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS