refactor(*): move some file location

This commit is contained in:
TinyO 2019-09-05 16:16:27 +08:00
parent 8a80e39d0a
commit 96be821148
11 changed files with 19 additions and 16 deletions

View File

@ -144,7 +144,7 @@ if(WITH_CAM_MODELS)
add_library(camera_models STATIC
src/mynteye/api/camera_models/camera.cc
src/mynteye/api/camera_models/equidistant_camera.cc
src/mynteye/api/camera_models/gpl.cc
src/mynteye/api/camera_models/util/gpl.cc
)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")

View File

@ -11,12 +11,13 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#ifndef MYNTEYE_CAMERA_MODELS_CAMERA_H_
#define MYNTEYE_CAMERA_MODELS_CAMERA_H_
#include <vector>
#include <memory>
#include "ctain_base.h"
#include "util/base.h"
#include <opencv2/core/core.hpp>
#include "mynteye/mynteye.h"

View File

@ -16,6 +16,7 @@
#include <cstdint>
#include <cmath>
#include <cstdio>
#include <limits>
#include "eigen3/Eigen/Dense"
#include <opencv2/calib3d/calib3d.hpp>
@ -23,7 +24,7 @@
#include <opencv2/imgproc/imgproc.hpp>
#include "equidistant_camera.h"
#include "gpl.h"
#include "util/gpl.h"
MYNTEYE_BEGIN_NAMESPACE

View File

@ -11,13 +11,14 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#ifndef MYNTEYE_CAMERA_MODELS_EQUIDISTANT_CAMERA_H_
#define MYNTEYE_CAMERA_MODELS_EQUIDISTANT_CAMERA_H_
#include <string>
#include <opencv2/core/core.hpp>
#include "camera.h"
#include "camera.h" // NO_LINT
MYNTEYE_BEGIN_NAMESPACE

View File

@ -11,14 +11,15 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "ctain_matrix.h"
#include "ctain_matrix_square.h"
#include "ctain_matrix_solver.h"
#include "ctain_quaternion.h"
#pragma once
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_CTAINBASE_H_
#define SRC_MYNTEYE_API_CAMERA_MODELS_CTAINBASE_H_
#include "util/matrix.h"
#include "util/matrix_square.h"
#include "util/matrix_solver.h"
#include "util/quaternion.h"
#include "mynteye/mynteye.h"
MYNTEYE_BEGIN_NAMESPACE

View File

@ -11,7 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "gpl.h"
#include "util/gpl.h"
#include <set>
#ifdef _WIN32

View File

@ -11,6 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#ifndef MYNTEYE_CAMERA_MODELS_GPL_H_
#define MYNTEYE_CAMERA_MODELS_GPL_H_

View File

@ -11,7 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_MATRIX_H_
#define SRC_MYNTEYE_API_CAMERA_MODELS_MATRIX_H_

View File

@ -11,12 +11,11 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_CTAIN_MATRIX_SOLVER_H_
#define SRC_MYNTEYE_API_CAMERA_MODELS_CTAIN_MATRIX_SOLVER_H_
#include <cmath>
#include <complex>
#include "mynteye/mynteye.h"
MYNTEYE_BEGIN_NAMESPACE

View File

@ -11,11 +11,10 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_SQUAREMATRIX_H_
#define SRC_MYNTEYE_API_CAMERA_MODELS_SQUAREMATRIX_H_
#include "mynteye/mynteye.h"
MYNTEYE_BEGIN_NAMESPACE

View File

@ -11,7 +11,7 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#pragma once
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_QUATERNION_H_
#define SRC_MYNTEYE_API_CAMERA_MODELS_QUATERNION_H_