Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef _MITK_POINT_DATA_VTK_MAPPER_3D__H_
00019 #define _MITK_POINT_DATA_VTK_MAPPER_3D__H_
00020
00021 #include <mitkVtkMapper3D.h>
00022 #include "MitkExtExports.h"
00023 #include "mitkPointData.h"
00024 #include "vtkCellArray.h"
00025 #include "vtkFloatArray.h"
00026 #include "vtkPointData.h"
00027 #include "vtkPoints.h"
00028 #include "vtkPolyData.h"
00029 #include "vtkPolyDataMapper.h"
00030 #include "vtkRenderWindow.h"
00031 #include "vtkRenderWindowInteractor.h"
00032 #include "vtkRenderer.h"
00033
00034
00035 class vtkActor;
00036 class vtkPolyDataMapper;
00037 class vtkSphereSource;
00038 class vtkPolyData;
00039 class vtkPoints;
00040 class vtkCellArray;
00041
00042 namespace mitk
00043 {
00044
00045 class MitkExt_EXPORT PointDataVtkMapper3D : public VtkMapper3D
00046 {
00047 public:
00048
00049 mitkClassMacro( PointDataVtkMapper3D, VtkMapper3D );
00050
00051 itkNewMacro( Self );
00052
00053 itkSetMacro( Radius, float);
00054
00055 itkGetMacro( Radius, float);
00056
00057 virtual vtkProp* GetVtkProp(mitk::BaseRenderer* renderer);
00058
00059 protected:
00060
00061 PointDataVtkMapper3D();
00062
00063 virtual ~PointDataVtkMapper3D();
00064
00065 virtual void GenerateData();
00066
00067 vtkActor* m_PointActor;
00068
00069 vtkPolyDataMapper* m_PointMapper;
00070
00071 vtkPolyData* m_PolyData;
00072 vtkPoints* m_Points;
00073 vtkCellArray* m_CellArray;
00074
00075 float m_Radius;
00076 };
00077
00078
00079 }
00080
00081
00082 #endif
00083
00084