//===== // 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 __bbcreaVtkGlyphPolyDataNormals_h_INCLUDED__ #define __bbcreaVtkGlyphPolyDataNormals_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkPolyData.h" #include "vtkRenderer.h" #include "vtkProp3D.h" #include "vtkGlyph3D.h" #include "vtkArrowSource.h" #include "vtkPolyDataMapper.h" #include "vtkActor.h" #include "vtkMaskPoints.h" namespace bbcreaVtk { class bbcreaVtk_EXPORT GlyphPolyDataNormals : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(GlyphPolyDataNormals,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(In,vtkPolyData*); BBTK_DECLARE_INPUT(Opacity, double); BBTK_DECLARE_INPUT(MaskRatio, int); BBTK_DECLARE_INPUT(Active, bool); BBTK_DECLARE_INPUT(Color, std::vector); BBTK_DECLARE_INPUT(Size, double); BBTK_DECLARE_INPUT(GlyphType, int); BBTK_DECLARE_INPUT(Renderer,vtkRenderer*); BBTK_DECLARE_OUTPUT(Out,vtkProp3D*); BBTK_PROCESS(Process); void Process(); bool actorAdded; vtkArrowSource *arrow; vtkMaskPoints *ptMask; vtkGlyph3D *glyph; vtkPolyDataMapper *normalsMapper; vtkActor *normalsActor; //===== // 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(GlyphPolyDataNormals,bbtk::AtomicBlackBox); BBTK_NAME("GlyphPolyDataNormals"); BBTK_AUTHOR("InfoDev"); BBTK_DESCRIPTION("No Description."); BBTK_CATEGORY("empty"); BBTK_INPUT(GlyphPolyDataNormals,In,"in PolyData, must set normals beforehand",vtkPolyData*,""); BBTK_INPUT(GlyphPolyDataNormals,Opacity,"Opacity",double,""); BBTK_INPUT(GlyphPolyDataNormals,MaskRatio,"Mask Ratio: select every nth point (Default 10)",int,""); BBTK_INPUT(GlyphPolyDataNormals,Size,"Size (Default 5)",double,""); BBTK_INPUT(GlyphPolyDataNormals,Active,"Active (Default true)",bool,""); BBTK_INPUT(GlyphPolyDataNormals,GlyphType,"Glyph type 0: Line | 1: Arrow (Default 1)",int,""); BBTK_INPUT(GlyphPolyDataNormals,Color,"Color",std::vector,""); BBTK_INPUT(GlyphPolyDataNormals,Renderer,"Renderer",vtkRenderer*,""); BBTK_OUTPUT(GlyphPolyDataNormals,Out,"out vtkProp3D",vtkProp3D*,""); BBTK_END_DESCRIBE_BLACK_BOX(GlyphPolyDataNormals); //===== // 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 // __bbcreaVtkGlyphPolyDataNormals_h_INCLUDED__