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 #ifndef __bbcreaVtkGlyphPolyDataNormals_h_INCLUDED__
5 #define __bbcreaVtkGlyphPolyDataNormals_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include "vtkPolyData.h"
12 #include "vtkRenderer.h"
13 #include "vtkProp3D.h"
14 #include "vtkGlyph3D.h"
15 #include "vtkArrowSource.h"
16 #include "vtkPolyDataMapper.h"
18 #include "vtkMaskPoints.h"
23 class bbcreaVtk_EXPORT GlyphPolyDataNormals
25 public bbtk::AtomicBlackBox
27 BBTK_BLACK_BOX_INTERFACE(GlyphPolyDataNormals,bbtk::AtomicBlackBox);
29 // 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)
31 BBTK_DECLARE_INPUT(In,vtkPolyData*);
32 BBTK_DECLARE_INPUT(Opacity, double);
33 BBTK_DECLARE_INPUT(MaskRatio, int);
34 BBTK_DECLARE_INPUT(Active, bool);
35 BBTK_DECLARE_INPUT(Color, std::vector<double>);
36 BBTK_DECLARE_INPUT(Size, double);
37 BBTK_DECLARE_INPUT(GlyphType, int);
38 BBTK_DECLARE_INPUT(Renderer,vtkRenderer*);
39 BBTK_DECLARE_OUTPUT(Out,vtkProp3D*);
40 BBTK_PROCESS(Process);
44 vtkArrowSource *arrow;
45 vtkMaskPoints *ptMask;
47 vtkPolyDataMapper *normalsMapper;
48 vtkActor *normalsActor;
51 // 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)
55 BBTK_BEGIN_DESCRIBE_BLACK_BOX(GlyphPolyDataNormals,bbtk::AtomicBlackBox);
56 BBTK_NAME("GlyphPolyDataNormals");
57 BBTK_AUTHOR("InfoDev");
58 BBTK_DESCRIPTION("No Description.");
59 BBTK_CATEGORY("empty");
60 BBTK_INPUT(GlyphPolyDataNormals,In,"in PolyData, must set normals beforehand",vtkPolyData*,"");
61 BBTK_INPUT(GlyphPolyDataNormals,Opacity,"Opacity",double,"");
62 BBTK_INPUT(GlyphPolyDataNormals,MaskRatio,"Mask Ratio: select every nth point (Default 10)",int,"");
63 BBTK_INPUT(GlyphPolyDataNormals,Size,"Size (Default 5)",double,"");
64 BBTK_INPUT(GlyphPolyDataNormals,Active,"Active (Default true)",bool,"");
65 BBTK_INPUT(GlyphPolyDataNormals,GlyphType,"Glyph type 0: Line | 1: Arrow (Default 1)",int,"");
66 BBTK_INPUT(GlyphPolyDataNormals,Color,"Color",std::vector<double>,"");
67 BBTK_INPUT(GlyphPolyDataNormals,Renderer,"Renderer",vtkRenderer*,"");
68 BBTK_OUTPUT(GlyphPolyDataNormals,Out,"out vtkProp3D",vtkProp3D*,"");
69 BBTK_END_DESCRIBE_BLACK_BOX(GlyphPolyDataNormals);
71 // 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 // EO namespace bbcreaVtk
76 #endif // __bbcreaVtkGlyphPolyDataNormals_h_INCLUDED__