Skip to content
Snippets Groups Projects
Commit 45039226 authored by Timothée Couble's avatar Timothée Couble
Browse files

[refact] Add Common/Ceres vtk module

parent ee1970d2
No related branches found
No related tags found
1 merge request!392[refact] LidarPlugin architecture
set(headers
CeresCameraCalibrationCostFunctions.h
CeresCostFunctions.h
CeresTools.h)
set(classes
vtkGeometricCalibration)
vtk_module_add_module(LidarView::CommonCeres
CLASSES ${classes}
HEADERS ${headers})
NAME
LidarView::CommonCeres
LIBRARY_NAME
lvCommonCeres
CONDITION
LIDARVIEW_USE_CERES
DEPENDS
Ceres::ceres
Eigen3::Eigen
PRIVATE_DEPENDS
LidarView::CommonCore
LidarView::IOCore # For vtkTemporalTransforms
VTK::CommonCore
VTK::CommonMath
VTK::CommonTransforms
......@@ -19,7 +19,7 @@
// LOCAL
#include "vtkGeometricCalibration.h"
#include "Common/vtkCustomTransformInterpolator.h"
#include "vtkCustomTransformInterpolator.h"
#include "vtkEigenTools.h"
#include "vtkConversions.h"
#include "vtkTemporalTransformsReader.h"
......
......@@ -70,7 +70,7 @@
// LOCAL
#include "vtkTemporalTransforms.h"
#include "LidarCoreModule.h"
#include "lvCommonCeresModule.h"
// STD
#include <vector>
......@@ -139,7 +139,7 @@ void EstimateEulerAngleConvention(const std::string& sourceSensorFilename,
* \@param timeStep time step between two consecutives acquisitions time
* to derived the "solid-system" equations
*/
std::pair<double, AnglePositionVector> LIDARCORE_EXPORT EstimateCalibrationFromPoses(
std::pair<double, AnglePositionVector> LVCOMMONCERES_EXPORT EstimateCalibrationFromPoses(
vtkSmartPointer<vtkTemporalTransforms> sourceSensor,
vtkSmartPointer<vtkTemporalTransforms> targetSensor,
const double timeScaleAnalysisBound = 5.0,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment