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 *) {}
16 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaVtk,OutputWindow)
17 BBTK_BLACK_BOX_IMPLEMENTATION(OutputWindow,bbtk::AtomicBlackBox);
19 // 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)
21 void OutputWindow::Process()
23 // THE MAIN PROCESSING METHOD BODY
24 // Here we simply set the input 'In' value to the output 'Out'
25 // And print out the output value
26 // INPUT/OUTPUT ACCESSORS ARE OF THE FORM :
27 // void bbSet{Input|Output}NAME(const TYPE&)
28 // const TYPE& bbGet{Input|Output}NAME() const
30 // * NAME is the name of the input/output
31 // (the one provided in the attribute 'name' of the tag 'input')
32 // * TYPE is the C++ type of the input/output
33 // (the one provided in the attribute 'type' of the tag 'input')
35 // bbSetOutputOut( bbGetInputIn() );
36 // std::cout << "Output value = " <<bbGetOutputOut() << std::endl;
41 vtkOutputWindowBBTK *w= vtkOutputWindowBBTK::New();
42 vtkOutputWindow::SetInstance( w );
47 // 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)
49 void OutputWindow::bbUserSetDefaultValues()
52 // SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX
53 // Here we initialize the input 'In' to 0
59 // 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)
61 void OutputWindow::bbUserInitializeProcessing()
64 // THE INITIALIZATION METHOD BODY :
66 // but this is where you should allocate the internal/output pointers
72 // 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)
74 void OutputWindow::bbUserFinalizeProcessing()
77 // THE FINALIZATION METHOD BODY :
79 // but this is where you should desallocate the internal/output pointers
84 // EO namespace bbcreaVtk