camera_definition.cpp
Go to the documentation of this file.
00001 /*
00002  * Software License Agreement (Apache License)
00003  *
00004  * Copyright (c) 2014, Southwest Research Institute
00005  *
00006  * Licensed under the Apache License, Version 2.0 (the "License");
00007  * you may not use this file except in compliance with the License.
00008  * You may obtain a copy of the License at
00009  *
00010  *   http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  */
00018 
00019 
00020 #include <industrial_extrinsic_cal/camera_definition.h>
00021 
00022 namespace industrial_extrinsic_cal
00023 {
00024 
00025 using std::string;
00026 using boost::shared_ptr;
00027 //using boost::make_shared;
00028 using ceres::CostFunction;
00029 Camera::Camera()
00030 {
00031   camera_name_ = "NONE";
00032   is_moving_ = false;
00033 }
00034 
00035 Camera::Camera(string name, CameraParameters camera_parameters, bool is_moving) :
00036     camera_name_(name), camera_parameters_(camera_parameters), is_moving_(is_moving),
00037     fixed_intrinsics_(true), fixed_extrinsics_(false)
00038 {
00039 }
00040 
00041 Camera::~Camera()
00042 {
00043 }
00044 
00045 bool Camera::isMoving()
00046 {
00047   return (is_moving_);
00048 }
00049 
00050 }//end namespace industrial_extrinsic_cal
00051 
00052 
00053 


industrial_extrinsic_cal
Author(s): Chris Lewis
autogenerated on Wed Aug 26 2015 12:00:27