12 #ifndef CXVBCAMERAPATH_H 13 #define CXVBCAMERAPATH_H 16 #include <QElapsedTimer> 21 #include "org_custusx_virtualbronchoscopy_Export.h" 50 int mNumberOfInputPoints;
51 int mNumberOfControlPoints;
55 double mLastCameraViewAngle;
56 double mLastCameraRotAngle;
57 double mPositionPercentage;
58 bool mAutomaticRotation;
59 bool mWritePositionsToFile;
60 QString mPositionsFilePath;
61 QElapsedTimer mTimeSinceStartRecording;
63 std::vector< Eigen::Vector3d > mRoutePositions;
64 std::vector< double > mCameraRotations;
65 std::vector< double > mCameraRotationsSmoothed;
66 std::vector< int > mBranchingIndex;
68 void updateManualToolPosition();
69 void generateSplineCurve(
MeshPtr mesh);
70 void generateSplineCurve(std::vector< Eigen::Vector3d > routePositions);
71 std::vector< double > smoothCameraRotations(std::vector< double > cameraRotations);
99 #endif // CXVBCAMERAPATH_H
void setWritePositionsFilePath(QString path)
void rotationChanged(int value)
vtkSmartPointer< class vtkCardinalSpline > vtkCardinalSplinePtr
void setAutomaticRotation(bool automaticRotation)
void cameraRawPointsSlot(MeshPtr mesh)
void cameraPathPositionSlot(int positionPermillage)
double positionPercentageAdjusted(double positionPercentage)
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class TrackingService > TrackingServicePtr
void setCameraRotations(std::vector< double > cameraRotations)
vtkSmartPointer< class vtkParametricSpline > vtkParametricSplinePtr
void cameraRotateAngleSlot(int angle)
void setBranchingIndexAlongRoute(std::vector< int > branchingIndex)
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)
void setWritePositionsToFile(bool write)
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr