refactor(*): move some file location
This commit is contained in:
parent
8a80e39d0a
commit
96be821148
|
@ -144,7 +144,7 @@ if(WITH_CAM_MODELS)
|
||||||
add_library(camera_models STATIC
|
add_library(camera_models STATIC
|
||||||
src/mynteye/api/camera_models/camera.cc
|
src/mynteye/api/camera_models/camera.cc
|
||||||
src/mynteye/api/camera_models/equidistant_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")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
|
||||||
|
|
|
@ -11,12 +11,13 @@
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
#pragma once
|
||||||
#ifndef MYNTEYE_CAMERA_MODELS_CAMERA_H_
|
#ifndef MYNTEYE_CAMERA_MODELS_CAMERA_H_
|
||||||
#define MYNTEYE_CAMERA_MODELS_CAMERA_H_
|
#define MYNTEYE_CAMERA_MODELS_CAMERA_H_
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include "ctain_base.h"
|
#include "util/base.h"
|
||||||
#include <opencv2/core/core.hpp>
|
#include <opencv2/core/core.hpp>
|
||||||
|
|
||||||
#include "mynteye/mynteye.h"
|
#include "mynteye/mynteye.h"
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
#include "eigen3/Eigen/Dense"
|
#include "eigen3/Eigen/Dense"
|
||||||
#include <opencv2/calib3d/calib3d.hpp>
|
#include <opencv2/calib3d/calib3d.hpp>
|
||||||
|
@ -23,7 +24,7 @@
|
||||||
#include <opencv2/imgproc/imgproc.hpp>
|
#include <opencv2/imgproc/imgproc.hpp>
|
||||||
|
|
||||||
#include "equidistant_camera.h"
|
#include "equidistant_camera.h"
|
||||||
#include "gpl.h"
|
#include "util/gpl.h"
|
||||||
|
|
||||||
MYNTEYE_BEGIN_NAMESPACE
|
MYNTEYE_BEGIN_NAMESPACE
|
||||||
|
|
||||||
|
|
|
@ -11,13 +11,14 @@
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
#pragma once
|
||||||
#ifndef MYNTEYE_CAMERA_MODELS_EQUIDISTANT_CAMERA_H_
|
#ifndef MYNTEYE_CAMERA_MODELS_EQUIDISTANT_CAMERA_H_
|
||||||
#define MYNTEYE_CAMERA_MODELS_EQUIDISTANT_CAMERA_H_
|
#define MYNTEYE_CAMERA_MODELS_EQUIDISTANT_CAMERA_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <opencv2/core/core.hpp>
|
#include <opencv2/core/core.hpp>
|
||||||
|
|
||||||
#include "camera.h"
|
#include "camera.h" // NO_LINT
|
||||||
|
|
||||||
MYNTEYE_BEGIN_NAMESPACE
|
MYNTEYE_BEGIN_NAMESPACE
|
||||||
|
|
||||||
|
|
|
@ -11,14 +11,15 @@
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
#pragma once
|
||||||
#include "ctain_matrix.h"
|
|
||||||
#include "ctain_matrix_square.h"
|
|
||||||
#include "ctain_matrix_solver.h"
|
|
||||||
#include "ctain_quaternion.h"
|
|
||||||
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_CTAINBASE_H_
|
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_CTAINBASE_H_
|
||||||
#define 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"
|
#include "mynteye/mynteye.h"
|
||||||
|
|
||||||
MYNTEYE_BEGIN_NAMESPACE
|
MYNTEYE_BEGIN_NAMESPACE
|
|
@ -11,7 +11,7 @@
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
#include "gpl.h"
|
#include "util/gpl.h"
|
||||||
|
|
||||||
#include <set>
|
#include <set>
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
|
@ -11,6 +11,7 @@
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
#pragma once
|
||||||
#ifndef MYNTEYE_CAMERA_MODELS_GPL_H_
|
#ifndef MYNTEYE_CAMERA_MODELS_GPL_H_
|
||||||
#define MYNTEYE_CAMERA_MODELS_GPL_H_
|
#define MYNTEYE_CAMERA_MODELS_GPL_H_
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
#pragma once
|
||||||
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_MATRIX_H_
|
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_MATRIX_H_
|
||||||
#define SRC_MYNTEYE_API_CAMERA_MODELS_MATRIX_H_
|
#define SRC_MYNTEYE_API_CAMERA_MODELS_MATRIX_H_
|
||||||
|
|
|
@ -11,12 +11,11 @@
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
#pragma once
|
||||||
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_CTAIN_MATRIX_SOLVER_H_
|
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_CTAIN_MATRIX_SOLVER_H_
|
||||||
#define SRC_MYNTEYE_API_CAMERA_MODELS_CTAIN_MATRIX_SOLVER_H_
|
#define SRC_MYNTEYE_API_CAMERA_MODELS_CTAIN_MATRIX_SOLVER_H_
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <complex>
|
#include <complex>
|
||||||
|
|
||||||
#include "mynteye/mynteye.h"
|
#include "mynteye/mynteye.h"
|
||||||
|
|
||||||
MYNTEYE_BEGIN_NAMESPACE
|
MYNTEYE_BEGIN_NAMESPACE
|
|
@ -11,11 +11,10 @@
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
#pragma once
|
||||||
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_SQUAREMATRIX_H_
|
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_SQUAREMATRIX_H_
|
||||||
#define SRC_MYNTEYE_API_CAMERA_MODELS_SQUAREMATRIX_H_
|
#define SRC_MYNTEYE_API_CAMERA_MODELS_SQUAREMATRIX_H_
|
||||||
|
|
||||||
|
|
||||||
#include "mynteye/mynteye.h"
|
#include "mynteye/mynteye.h"
|
||||||
|
|
||||||
MYNTEYE_BEGIN_NAMESPACE
|
MYNTEYE_BEGIN_NAMESPACE
|
|
@ -11,7 +11,7 @@
|
||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
#pragma once
|
||||||
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_QUATERNION_H_
|
#ifndef SRC_MYNTEYE_API_CAMERA_MODELS_QUATERNION_H_
|
||||||
#define SRC_MYNTEYE_API_CAMERA_MODELS_QUATERNION_H_
|
#define SRC_MYNTEYE_API_CAMERA_MODELS_QUATERNION_H_
|
||||||
|
|
Loading…
Reference in New Issue
Block a user