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_MaskPointsFilter.hxx 00022 // Author: Alexey PETROV 00023 // Module : VISU 00024 // 00025 #ifndef VISU_MaskPointsFilter_HeaderFile 00026 #define VISU_MaskPointsFilter_HeaderFile 00027 00028 #include <vtkPointSetToPointSetFilter.h> 00029 00030 class VISU_MaskPointsFilter : public vtkPointSetToPointSetFilter{ 00031 protected: 00032 VISU_MaskPointsFilter(); 00033 VISU_MaskPointsFilter(const VISU_MaskPointsFilter&); 00034 00035 virtual void Execute(); 00036 float PercentsOfUsedPoints; 00037 00038 public: 00039 vtkTypeMacro(VISU_MaskPointsFilter,vtkPointSetToPointSetFilter); 00040 static VISU_MaskPointsFilter* New(); 00041 virtual ~VISU_MaskPointsFilter(); 00042 00043 vtkSetMacro(PercentsOfUsedPoints,float); 00044 vtkGetMacro(PercentsOfUsedPoints,float); 00045 }; 00046 00047 #endif