X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkSetCameraInfo.h;fp=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkSetCameraInfo.h;h=1f34c57ad1ff4973afd2ca4c7d71ff9307b6cdcb;hb=3d95096f97588894dd9a5ffbb8b2c8e6c111cd29;hp=0000000000000000000000000000000000000000;hpb=b14773c04cfae41766a01441d155225c9fc4668f;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkSetCameraInfo.h b/bbtk_creaVtk_PKG/src/bbcreaVtkSetCameraInfo.h new file mode 100644 index 0000000..1f34c57 --- /dev/null +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkSetCameraInfo.h @@ -0,0 +1,52 @@ +//===== +// 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) +//===== +#ifndef __bbcreaVtkSetCameraInfo_h_INCLUDED__ +#define __bbcreaVtkSetCameraInfo_h_INCLUDED__ +#include "bbcreaVtk_EXPORT.h" +#include "bbtkAtomicBlackBox.h" +#include "iostream" + +#include "vtkRenderer.h" + +namespace bbcreaVtk +{ + +class bbcreaVtk_EXPORT SetCameraInfo + : + public bbtk::AtomicBlackBox +{ + BBTK_BLACK_BOX_INTERFACE(SetCameraInfo,bbtk::AtomicBlackBox); +//===== +// 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) +//===== + BBTK_DECLARE_INPUT(vtkRenderer,vtkRenderer*); + BBTK_DECLARE_INPUT(ViewUp,std::vector); + BBTK_DECLARE_INPUT(FocalPoint,std::vector); + BBTK_DECLARE_INPUT(Position,std::vector); +// BBTK_DECLARE_OUTPUT(Out,double); + BBTK_PROCESS(Process); + void Process(); +//===== +// 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) +//===== +}; + +BBTK_BEGIN_DESCRIBE_BLACK_BOX(SetCameraInfo,bbtk::AtomicBlackBox); + BBTK_NAME("SetCameraInfo"); + BBTK_AUTHOR("InfoDev"); + BBTK_DESCRIPTION("No Description."); + BBTK_CATEGORY("empty"); + BBTK_INPUT(SetCameraInfo,vtkRenderer,"vtkRenderer",vtkRenderer*,""); + BBTK_INPUT(SetCameraInfo,ViewUp,"ViewUp[x,y,z]",std::vector,""); + BBTK_INPUT(SetCameraInfo,FocalPoint,"FocalPoint[x,y,z]",std::vector,""); + BBTK_INPUT(SetCameraInfo,Position,"Position[x,y,z]",std::vector,""); +BBTK_END_DESCRIBE_BLACK_BOX(SetCameraInfo); +//===== +// 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) +//===== +} +// EO namespace bbcreaVtk + +#endif // __bbcreaVtkSetCameraInfo_h_INCLUDED__ +