//===== // 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 __bbvtkSurfaceTexture_h_INCLUDED__ #define __bbvtkSurfaceTexture_h_INCLUDED__ #include "bbvtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkPolyData.h" #include "vtkImageData.h" #include #include #include namespace bbvtk { class bbvtk_EXPORT SurfaceTexture : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(SurfaceTexture,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(Mesh,vtkPolyData*); BBTK_DECLARE_INPUT(Image,vtkImageData*); BBTK_DECLARE_INPUT(ColorType,int); BBTK_DECLARE_INPUT(ColorLevel,double); BBTK_DECLARE_INPUT(ColorWindow,double); BBTK_DECLARE_INPUT(Transform,vtkLinearTransform*); // BBTK_DECLARE_OUTPUT(Out,double); BBTK_PROCESS(Process); void Process(); bool firsttime; vtkUnsignedCharArray *colors; vtkLookupTable *colorLookupTable; vtkWindowLevelLookupTable *colorLookupTableWL; //===== // 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(SurfaceTexture,bbtk::AtomicBlackBox); BBTK_NAME("SurfaceTexture"); BBTK_AUTHOR("Info-Dev"); BBTK_DESCRIPTION("Surface texture"); BBTK_CATEGORY(""); BBTK_INPUT(SurfaceTexture,Mesh,"Mesh topology",vtkPolyData*,""); BBTK_INPUT(SurfaceTexture,Image,"Image Reference",vtkImageData*,""); BBTK_INPUT(SurfaceTexture,ColorType,"Color Type (default 0) 0 Colors(JET), 1 ColorWindowLevel",int,""); BBTK_INPUT(SurfaceTexture,ColorLevel,"Color Level (default 500)",double,""); BBTK_INPUT(SurfaceTexture,ColorWindow,"ColorWindow (default 500)",double,""); BBTK_INPUT(SurfaceTexture,Transform,"vtk Linear Transform (default NULL)",vtkLinearTransform*,""); // BBTK_OUTPUT(SurfaceTexture,Out,"First output",double,""); BBTK_END_DESCRIBE_BLACK_BOX(SurfaceTexture); //===== // 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 bbvtk #endif // __bbvtkSurfaceTexture_h_INCLUDED__