18 #ifndef ODINPLOT_VTK_H
19 #define ODINPLOT_VTK_H
23 #include <tjutils/tjtools.h>
24 #include <tjutils/tjlog.h>
28 class vtkRenderWindow;
29 class vtkRenderWindowInteractor;
30 class vtkPolyDataMapper;
41 class VtkMagnPlotter {
49 void plot_vector(
float M[3],
float* dM);
54 vtkRenderer* renderer;
55 vtkRenderWindow* renWin;
56 vtkRenderWindowInteractor* iren;
57 vtkArrowSource* magnArrow;
58 vtkPolyDataMapper* magnMapper;
60 vtkActor* magnGradActor;
62 vtkTubeFilter* axesTubes;
63 vtkPolyDataMapper* axesMapper;
66 bool magnGradActor_added;