|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
12 #ifndef CXVBCAMERAPATH_H
13 #define CXVBCAMERAPATH_H
20 #include "org_custusx_virtualbronchoscopy_Export.h"
49 int mNumberOfInputPoints;
50 int mNumberOfControlPoints;
54 double mLastCameraViewAngle;
55 double mLastCameraRotAngle;
56 bool mAutomaticRotation;
58 std::vector< Eigen::Vector3d > mRoutePositions;
59 std::vector< double > mCameraRotations;
60 std::vector< double > mCameraRotationsSmoothed;
62 void updateManualToolPosition();
63 void generateSplineCurve(
MeshPtr mesh);
64 void generateSplineCurve(std::vector< Eigen::Vector3d > routePositions);
65 std::vector< double > smoothCameraRotations(std::vector< double > cameraRotations);
90 #endif // CXVBCAMERAPATH_H
void cameraRotateAngleSlot(int angle)
void rotationChanged(int value)
Namespace for all CustusX production code.
CXVBcameraPath(TrackingServicePtr tracker, PatientModelServicePtr patientModel, ViewServicePtr visualization)
void setRoutePositions(std::vector< Eigen::Vector3d > routePositions)
vtkSmartPointer< class vtkCardinalSpline > vtkCardinalSplinePtr
vtkSmartPointer< class vtkParametricSpline > vtkParametricSplinePtr
double positionPercentageAdjusted(double positionPercentage)
boost::shared_ptr< class Mesh > MeshPtr
boost::shared_ptr< class TrackingService > TrackingServicePtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
void setCameraRotations(std::vector< double > cameraRotations)
void setAutomaticRotation(bool automaticRotation)
boost::shared_ptr< class Tool > ToolPtr
void cameraPathPositionSlot(int positionPercentage)
void cameraRawPointsSlot(MeshPtr mesh)
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
void cameraViewAngleSlot(int angle)