]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkHeartAngles.cxx
2196 creaVtk Feature New Normal Completion of code HeartAngles 2013-12-04 11:20
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkHeartAngles.cxx
1 //===== 
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)
3 //===== 
4 #include "bbcreaVtkHeartAngles.h"
5 #include "bbcreaVtkPackage.h"
6 #include "creaVtkHeartAngles.h"
7
8 namespace bbcreaVtk
9 {
10
11 BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaVtk,HeartAngles)
12 BBTK_BLACK_BOX_IMPLEMENTATION(HeartAngles,bbtk::AtomicBlackBox);
13 //===== 
14 // 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)
15 //===== 
16 void HeartAngles::Process()
17 {
18         creaVtkHeartAngles ha;
19         ha.calculateImages (bbGetInputImage(), bbGetInputPx(), bbGetInputPy(), bbGetInputPz(), bbGetInputVx(), bbGetInputVy(), bbGetInputVz(), bbGetInputNx(), bbGetInputNy(), bbGetInputNz(), bbGetInputp2x(), bbGetInputp2y(), bbGetInputp2z());
20         bbSetOutputAlphaImage(ha.getAlphaImage());
21         bbSetOutputBetaImage(ha.getBetaImage());
22 }
23 //===== 
24 // 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)
25 //===== 
26 void HeartAngles::bbUserSetDefaultValues()
27 {
28   
29 }
30 //===== 
31 // 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)
32 //===== 
33 void HeartAngles::bbUserInitializeProcessing()
34 {
35
36 //  THE INITIALIZATION METHOD BODY :
37 //    Here does nothing 
38 //    but this is where you should allocate the internal/output pointers 
39 //    if any 
40
41   
42 }
43 //===== 
44 // 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)
45 //===== 
46 void HeartAngles::bbUserFinalizeProcessing()
47 {
48
49 //  THE FINALIZATION METHOD BODY :
50 //    Here does nothing 
51 //    but this is where you should desallocate the internal/output pointers 
52 //    if any
53   
54 }
55 }
56 // EO namespace bbcreaVtk
57
58