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 rotationChanged(int value)
vtkSmartPointer< class vtkCardinalSpline > vtkCardinalSplinePtr
void setAutomaticRotation(bool automaticRotation)
void cameraRawPointsSlot(MeshPtr mesh)
double positionPercentageAdjusted(double positionPercentage)
boost::shared_ptr< class TrackingService > TrackingServicePtr
void setCameraRotations(std::vector< double > cameraRotations)
vtkSmartPointer< class vtkParametricSpline > vtkParametricSplinePtr
void cameraPathPositionSlot(int positionPercentage)
void cameraRotateAngleSlot(int angle)
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
void cameraViewAngleSlot(int angle)
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
void setRoutePositions(std::vector< Eigen::Vector3d > routePositions)
boost::shared_ptr< class Mesh > MeshPtr
CXVBcameraPath(TrackingServicePtr tracker, PatientModelServicePtr patientModel, ViewServicePtr visualization)
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr