observation_data_point.h
Go to the documentation of this file.
00001 /*
00002  * Software License Agreement (Apache License)
00003  *
00004  * Copyright (c) 2013, 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 #ifndef OBSERVATION_DATA_POINT_H_
00020 #define OBSERVATION_DATA_POINT_H_
00021 
00022 #include <industrial_extrinsic_cal/basic_types.h>
00023 
00024 namespace industrial_extrinsic_cal
00025 {
00026 
00027 class ObservationDataPoint
00028 {
00029 public:
00030 
00044   ObservationDataPoint(std::string c_name, std::string t_name, int s_id, P_BLOCK c_intrinsics, P_BLOCK c_extrinsics,
00045                        int point_id, P_BLOCK t_pose, P_BLOCK p_position, double image_x, double image_y)
00046   {
00047     camera_name_ = c_name;
00048     target_name_ = t_name;
00049     scene_id_ = s_id;
00050     camera_intrinsics_ = c_intrinsics;
00051     camera_extrinsics_ = c_extrinsics;
00052     target_pose_ = t_pose;
00053     point_id_ = point_id;
00054     point_position_ = p_position;
00055     image_x_ = image_x;
00056     image_y_ = image_y;
00057   }
00058   ;
00059 
00060   ~ObservationDataPoint()
00061   {
00062   }
00063   ;
00064 
00065   std::string camera_name_;
00066   std::string target_name_;
00067   int scene_id_;
00068   int point_id_;
00069   P_BLOCK camera_extrinsics_;
00070   P_BLOCK camera_intrinsics_;
00071   P_BLOCK target_pose_;
00072   P_BLOCK point_position_;
00073   double image_x_;
00074   double image_y_;
00075 };
00076 // end of class ObservationDataPoint
00077 
00082 class ObservationDataPointList
00083 {
00084 public:
00085   ObservationDataPointList();
00086 
00087   ~ObservationDataPointList();
00088 
00089   void addObservationPoint(ObservationDataPoint new_data_point);
00090 
00091   std::vector<ObservationDataPoint> items;
00092 };
00093 
00094 
00095 }//end namespace industrial_extrinsic_cal
00096 
00097 #endif /* OBSERVATION_DATA_POINT_H_ */


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