]> SALOME platform Git repositories - modules/visu.git/blob - src/OBJECT/VISU_PointMap3dActor.h
Salome HOME
Merge from V5_1_main 14/05/2010
[modules/visu.git] / src / OBJECT / VISU_PointMap3dActor.h
1 //  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
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.
7 //
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.
12 //
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
16 //
17 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 //  VISU OBJECT : interactive object for VISU entities implementation
21 //  File   : VISU_PointMap3dActor.h
22 //  Author : Dmitry MATVEICHEV with help of Alexey PETROV
23 //  Module : VISU
24 //  $Header$
25 //
26 #ifndef VISU_PointMap3dActor_HeaderFile
27 #define VISU_PointMap3dActor_HeaderFile
28
29 #include "VISU_OBJECT.h"
30 #include "SALOME_Actor.h"
31 #include "VISU_DataSetActor.h"
32 #include "VISU_BoostSignals.h"
33
34 class VISU_ScalarBarActor;
35
36 #ifdef _WIN32
37 #define VTKOCC_EXPORT __declspec (dllexport)
38 #else
39 #define VTKOCC_EXPORT VTK_EXPORT
40 #endif
41
42 class VISU_DeformedGridPL;
43
44 class VISU_OBJECT_EXPORT VISU_PointMap3dActor : public VISU_ActorBase
45 {
46  public:
47   vtkTypeMacro(VISU_PointMap3dActor,SALOME_Actor);
48
49   static
50   VISU_PointMap3dActor* 
51   New();
52
53   ~VISU_PointMap3dActor();
54   
55 //----------------------------------------------------------------------------
56   virtual
57     void
58     AddToRender( vtkRenderer* ); 
59   
60   virtual
61     void
62     RemoveFromRender( vtkRenderer* );
63   
64   virtual
65     void
66     SetVisibility(int theMode);
67   
68   virtual
69     VISU_ScalarBarActor* 
70     GetScalarBar();
71
72 //----------------------------------------------------------------------------
73   virtual
74   void
75   setIO(const Handle(SALOME_InteractiveObject)& theIO);
76
77 //----------------------------------------------------------------------------
78   virtual
79   VISU_DeformedGridPL* 
80   GetPipeLine();
81
82   virtual 
83   void
84   SetPipeLine(VISU_DeformedGridPL* thePipeLine);
85   
86  protected:
87   VISU_PointMap3dActor();
88   vtkSmartPointer<VISU_DeformedGridPL> myPipeLine;
89
90   VISU_ScalarBarActor* myScalarBar;
91 };
92
93 #endif