Version: 6.3.1

src/OBJECT/VISU_PointMap3dActor.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_PointMap3dActor.h
00022 //  Author : Dmitry MATVEICHEV with help of Alexey PETROV
00023 //  Module : VISU
00024 //  $Header: /home/server/cvs/VISU/VISU_SRC/src/OBJECT/VISU_PointMap3dActor.h,v 1.2.16.1.8.1 2011-06-02 06:00:17 vsr Exp $
00025 //
00026 #ifndef VISU_PointMap3dActor_HeaderFile
00027 #define VISU_PointMap3dActor_HeaderFile
00028 
00029 #include "VISU_OBJECT.h"
00030 #include "SALOME_Actor.h"
00031 #include "VISU_DataSetActor.h"
00032 #include "VISU_BoostSignals.h"
00033 
00034 class VISU_ScalarBarActor;
00035 
00036 #ifdef _WIN32
00037 #define VTKOCC_EXPORT __declspec (dllexport)
00038 #else
00039 #define VTKOCC_EXPORT VTK_EXPORT
00040 #endif
00041 
00042 class VISU_DeformedGridPL;
00043 
00044 class VISU_OBJECT_EXPORT VISU_PointMap3dActor : public VISU_ActorBase
00045 {
00046  public:
00047   vtkTypeMacro(VISU_PointMap3dActor,SALOME_Actor);
00048 
00049   static
00050   VISU_PointMap3dActor* 
00051   New();
00052 
00053   ~VISU_PointMap3dActor();
00054   
00055 //----------------------------------------------------------------------------
00056   virtual
00057     void
00058     AddToRender( vtkRenderer* ); 
00059   
00060   virtual
00061     void
00062     RemoveFromRender( vtkRenderer* );
00063   
00064   virtual
00065     void
00066     SetVisibility(int theMode);
00067   
00068   virtual
00069     VISU_ScalarBarActor* 
00070     GetScalarBar();
00071 
00072 //----------------------------------------------------------------------------
00073   virtual
00074   void
00075   setIO(const Handle(SALOME_InteractiveObject)& theIO);
00076 
00077 //----------------------------------------------------------------------------
00078   virtual
00079   VISU_DeformedGridPL* 
00080   GetPipeLine();
00081 
00082   virtual 
00083   void
00084   SetPipeLine(VISU_DeformedGridPL* thePipeLine);
00085   
00086  protected:
00087   VISU_PointMap3dActor();
00088   vtkSmartPointer<VISU_DeformedGridPL> myPipeLine;
00089 
00090   VISU_ScalarBarActor* myScalarBar;
00091 };
00092 
00093 #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