13#ifndef mitkCameraVisualization_h
14#define mitkCameraVisualization_h
16#include "mitkCommon.h"
18#include "mitkBaseRenderer.h"
38 itkSetMacro(DirectionOfProjectionInToolCoordinates, mitk::Vector3D);
68 virtual void SetRenderer( mitk::BaseRenderer* renderer );
73 virtual const mitk::BaseRenderer* GetRenderer();
84 void SetParameters(
const mitk::PropertyList* p)
override;
98 mitk::PropertyList::ConstPointer GetParameters()
const override;
109 void GenerateData()
override;
CameraVisualization controls the camera according to the spatial information of the navigation data.
mitk::BaseRenderer::Pointer m_Renderer
renderer that visualizes the navigation data-
Vector3D m_ViewUpInToolCoordinates
view up vector in tool coordinates
itkGetConstMacro(DirectionOfProjectionInToolCoordinates, mitk::Vector3D)
returns the direction of projection of the camera of the renderer in tool coordinates
mitkClassMacro(CameraVisualization, NavigationDataToNavigationDataFilter)
itkGetConstMacro(FocalLength, float)
returns the focal length of the camera
Vector3D m_DirectionOfProjectionInToolCoordinates
vector of the direction of projection in tool coordinates
itkSetMacro(DirectionOfProjectionInToolCoordinates, mitk::Vector3D)
sets the direction of projection of the camera of the renderer in tool coordinates
itkSetMacro(ViewUpInToolCoordinates, mitk::Vector3D)
sets the view up vector of the camera of the renderer in tool coordinates
itkSetMacro(FocalLength, float)
sets the focal length of the camera
ScalarType m_FocalLength
focal length of the camera: distance between camera position and focal point.
Point3D m_CameraPosition
current position of the camera
Vector3D m_DirectionOfProjection
vector of the current direction of view of the camera in world coordinates
itkGetConstMacro(ViewUpInToolCoordinates, mitk::Vector3D)
returns the view up vector of the camera of the renderer in tool coordinates
itkFactorylessNewMacro(Self)
NavigationDataToNavigationDataFilter is the base class of all filters that receive NavigationDatas as...