Version: 6.3.1

src/PIPELINE/VISU_MergedPL.hxx

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_MergedPL.hxx
00022 // Author:  Alexey PETROV
00023 // Module : VISU
00024 //
00025 #ifndef VISU_MergedPL_HeaderFile
00026 #define VISU_MergedPL_HeaderFile
00027 
00028 #include "VISUPipeline.hxx"
00029 #include "VISU_Structures.hxx"
00030 
00031 class vtkDataSet;
00032 class vtkPointSet;
00033 class VISU_PipeLine;
00034  
00035 
00036 //----------------------------------------------------------------------------
00037 struct VISU_PIPELINE_EXPORT VISU_MergedPL
00038 {
00039   virtual  
00040   void  
00041   SetSourceGeometry() = 0;
00042 
00043   virtual
00044   int
00045   AddGeometry( vtkDataSet* theGeometry, const VISU::TName& theGeomName ) = 0;
00046 
00047   virtual
00048   vtkDataSet*
00049   GetGeometry( int theGeomNumber, VISU::TName& theGeomName ) = 0;
00050 
00051   virtual
00052   int
00053   GetNumberOfGeometry() = 0;
00054 
00055   virtual
00056   bool 
00057   IsExternalGeometryUsed() = 0;
00058 
00059   virtual
00060   void
00061   ClearGeometry() = 0;
00062 
00063   virtual 
00064   vtkPointSet* 
00065   GetMergedInput() = 0;
00066 
00067   virtual
00068   void
00069   DoShallowCopy(VISU_PipeLine *thePipeLine,
00070                 bool theIsCopyInput);
00071 
00072   virtual
00073   void
00074   AddGeometryName(const VISU::TName& theGeomName);
00075 
00076   virtual
00077   VISU::TName
00078   GetGeometryName( int theGeomNumber ) const;
00079 
00080   virtual
00081   const VISU::TNames&
00082   GetGeometryNames() const;
00083 
00084   virtual
00085   void
00086   ClearGeometryNames();
00087 
00088   VISU::TNames myGeometryNames;
00089 };
00090   
00091 #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