]> Creatis software - bbtkGEditor.git/blob - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGComplexBoxPortView.h
0b9ce1a0fd1c7aec89c5a639eb47fbef0ce6a13b
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / vtkGComplexBoxPortView.h
1 /*=========================================================================                                                                               
2 Program:   bbtk
3 Module:    $RCSfile$
4 Language:  C++
5 Date:      $Date$
6 Version:   $Revision$
7 =========================================================================*/
8
9 /* ---------------------------------------------------------------------
10
11 * Copyright (c) CREATIS-LRMN (Centre de Recherche en Imagerie Medicale)
12 * Authors : Eduardo Davila, Laurent Guigues, Jean-Pierre Roux
13 *
14 *  This software is governed by the CeCILL-B license under French law and 
15 *  abiding by the rules of distribution of free software. You can  use, 
16 *  modify and/ or redistribute the software under the terms of the CeCILL-B 
17 *  license as circulated by CEA, CNRS and INRIA at the following URL 
18 *  http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html 
19 *  or in the file LICENSE.txt.
20 *
21 *  As a counterpart to the access to the source code and  rights to copy,
22 *  modify and redistribute granted by the license, users are provided only
23 *  with a limited warranty  and the software's author,  the holder of the
24 *  economic rights,  and the successive licensors  have only  limited
25 *  liability. 
26 *
27 *  The fact that you are presently reading this means that you have had
28 *  knowledge of the CeCILL-B license and that you accept its terms.
29 * ------------------------------------------------------------------------ */                                                                         
30
31
32
33 /**
34 *  \file 
35 *  \brief Class bbtk::vtkGComplexBoxPortView : abstract black-box interface. 
36 */
37
38 /****
39 * Design and Developpement of BBTK GEditor
40 * Ricardo A Corredor J <ra.corredor67@uniandes.edu.co>
41 * RaC - 2010
42 ****/
43
44 #ifndef __vtkGComplexBoxPortView_h__
45 #define __vtkGComplexBoxPortView_h__
46
47 //Includes same project
48 #include "GlobalConstants.h"
49 #include "vtkGBoxView.h"
50 #include "GComplexBoxPortModel.h"
51
52 //Includes creaMaracasVisu
53
54 #include "vtkInteractorStyleBaseView.h"
55
56 //Includes vtk
57
58 #include "vtkPolyDataMapper.h"
59 #include "vtkActor.h"
60 #include "vtkVectorText.h"
61 #include "vtkRenderer.h"
62 #include "vtkCellArray.h"
63
64
65 //Includes std
66 #include <iostream>
67
68
69 namespace bbtk
70 {
71
72         class vtkGComplexBoxPortView : public vtkGBoxView
73         {
74
75         public: 
76
77                 //Constructors
78                 vtkGComplexBoxPortView();
79                 ~vtkGComplexBoxPortView();
80                 
81                 //Public methods                
82
83         private:
84
85                 //Private Attributes
86
87                 //Private Methods
88
89         protected:
90
91                 //Protected Attributes
92                 
93                 //Protected Methods
94                 virtual void addVtkActors();
95                 virtual void removeVtkActors();
96                 virtual void createVtkObjects();
97
98                 virtual void update(int idController,int command);
99                 virtual void updateColors();
100         };
101
102
103 }
104 // namespace bbtk
105 #endif
106