1 // Copyright (C) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef VISU_APPENDFILTERUTILITIES_H
21 #define VISU_APPENDFILTERUTILITIES_H
23 class vtkInformationVector;
27 #include "VISU_Convertor.hxx"
28 #include <vtkSmartPointer.h>
32 //---------------------------------------------------------------
33 class VISU_CONVERTOR_EXPORT TAppendFilterHelper
35 TAppendFilterHelper(TAppendFilterHelper&);
39 SetSharedPointSet(vtkPointSet* thePointSet);
45 SetMappingInputs(bool theMappingInputs);
51 SetMergingInputs(bool theIsMergingInputs);
57 TAppendFilterHelper(vtkObject* theParent);
59 vtkSmartPointer<vtkPointSet> mySharedPointSet;
60 bool myIsMergingInputs;
61 bool myIsMappingInputs;
66 //---------------------------------------------------------------
68 UnstructuredGridRequestData(vtkInformationVector **theInputVector,
69 vtkIdType theNumberOfInputConnections,
70 vtkInformationVector *theOutputVector,
71 vtkPointSet* theSharedPointSet,
72 bool theIsMergingInputs,
73 bool theIsMappingInputs);
75 //---------------------------------------------------------------
77 PolyDataRequestData(vtkInformationVector **theInputVector,
78 vtkIdType theNumberOfInputConnections,
79 vtkInformationVector *theOutputVector,
80 vtkPointSet* theSharedPointSet,
81 bool theIsMergingInputs,
82 bool theIsMappingInputs);