2 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
4 #include "bbcreaVtkOutputWindow.h"
5 #include "bbcreaVtkPackage.h"
9 vtkOutputWindowBBTK::vtkOutputWindowBBTK() {}
10 void vtkOutputWindowBBTK::DisplayDebugText (const char *) {}
11 void vtkOutputWindowBBTK::DisplayText (const char *) {}
12 void vtkOutputWindowBBTK::DisplayErrorText (const char *) {}
13 void vtkOutputWindowBBTK::DisplayWarningText (const char *) {}
14 void vtkOutputWindowBBTK::DisplayGenericWarningText (const char *) {}
18 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaVtk,OutputWindow)
19 BBTK_BLACK_BOX_IMPLEMENTATION(OutputWindow,bbtk::AtomicBlackBox);
21 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
23 void OutputWindow::Process()
25 // THE MAIN PROCESSING METHOD BODY
26 // Here we simply set the input 'In' value to the output 'Out'
27 // And print out the output value
28 // INPUT/OUTPUT ACCESSORS ARE OF THE FORM :
29 // void bbSet{Input|Output}NAME(const TYPE&)
30 // const TYPE& bbGet{Input|Output}NAME() const
32 // * NAME is the name of the input/output
33 // (the one provided in the attribute 'name' of the tag 'input')
34 // * TYPE is the C++ type of the input/output
35 // (the one provided in the attribute 'type' of the tag 'input')
37 // bbSetOutputOut( bbGetInputIn() );
38 // std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
43 vtkOutputWindowBBTK *w= vtkOutputWindowBBTK::New();
44 vtkOutputWindow::SetInstance( w );
49 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
51 void OutputWindow::bbUserSetDefaultValues()
54 // SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
55 // Here we initialize the input 'In' to 0
61 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
63 void OutputWindow::bbUserInitializeProcessing()
66 // THE INITIALIZATION METHOD BODY :
68 // but this is where you should allocate the internal/output pointers
74 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
76 void OutputWindow::bbUserFinalizeProcessing()
79 // THE FINALIZATION METHOD BODY :
81 // but this is where you should desallocate the internal/output pointers
86 // EO namespace bbcreaVtk