]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.h
#3057 bbGEditor Feature New Normal - optimizing of vtk actors management (input...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsWxGUIEditorGraphic / wxVtkSceneManager.h
index 31c974d1204a41ddb2243580f47ecf9ac23bbaf9..000b62e2e10d03e97d7f2e53642626d5187cbadd 100644 (file)
@@ -136,8 +136,8 @@ namespace bbtk
                virtual bool OnLeftButtonUp();
                virtual bool OnRightButtonUp();
                virtual bool OnLeftDClick();
-                virtual bool OnMiddleButtonDown(); ///JLGR 21-05-2012
-                virtual bool OnMiddleButtonUp(); ///JLGR 21-05-2012
+        virtual bool OnMiddleButtonDown(); ///JLGR 21-05-2012
+        virtual bool OnMiddleButtonUp(); ///JLGR 21-05-2012
 
                //-------
                int createGBlackBox(int x, int y, std::string packageName, std::string boxType );
@@ -189,8 +189,8 @@ namespace bbtk
                //Add a map of object controllers
                void addObjects(std::map<int,GObjectController*> objectsMap);
 
-                /// Duplicates Objects to current a diagram
-                void DuplicateObjects(std::map<int,GObjectController*> objectsMap);///JLGR 21-05-2012
+               /// Duplicates Objects to current a diagram
+       void DuplicateObjects(std::map<int,GObjectController*> objectsMap);///JLGR 21-05-2012
 
                //-------
                // Makes a BlackBox Executable
@@ -229,12 +229,16 @@ namespace bbtk
         void SetAuthor(std::string author);
         void SetCategory(std::string category);
         void SetDescription(std::string description);
+                               void SetMessageKind(std::string kind);
+                               void SetMessageLevel(std::string Level);
 
         std::string GetCbName();
         std::string GetCbPackageName();
         std::string GetAuthor();
         std::string GetCategory();
         std::string GetDescription();
+                               std::string GetMessageKind();
+        std::string GetMessageLevel();
   
         // RaC2012 2nd HackFest
         // External Inputs was the complex inputs in previous versions
@@ -246,7 +250,8 @@ namespace bbtk
         void printAll( int com, int sta );
 
                
-               
+               std::vector<std::string> boxesDiagram;//CFT
+
        private:
 
         std::string                         _cbName;
@@ -254,6 +259,8 @@ namespace bbtk
         std::string                         _Author;
         std::string                         _Category;
         std::string                         _Description;
+               std::string                                     _MessageKind;
+               std::string                                     _MessageLevel;
 
                //wxPanel that uses the manager
                wxGEditorTabPanel                                       *_parent;
@@ -287,11 +294,11 @@ namespace bbtk
                int _contLastId;
 
                vtkTextActor3D                                          *_textActor;
-               std::string                                             _bugTextActor_text;
-               int                                                     _bugTextActor_status;
+               std::string                                                     _bugTextActor_text;
+               int                                                                     _bugTextActor_status;
 
-               vtkPoints                                               *_pts;
-               vtkActor                                                *_fillObjectActor;
+               vtkPoints                                                       *_pts;
+               vtkActor                                                        *_fillObjectActor;
                vtkDataSetMapper                                        *_aPolygonMapper;
 
                Factory::Pointer                                        _bbtkfactory;