Searched refs:projection_ptr (Results 1 – 2 of 2) sorted by relevance
1572 std::auto_ptr<Projection> projection_ptr(new Projection()); in SetProjection() local1573 if (!projection_ptr.get()) in SetProjection()1577 if (!projection_ptr->SetProjectionPrivate( in SetProjection()1583 projection_ptr->set_type(projection.type()); in SetProjection()1584 projection_ptr->set_pose_yaw(projection.pose_yaw()); in SetProjection()1585 projection_ptr->set_pose_pitch(projection.pose_pitch()); in SetProjection()1586 projection_ptr->set_pose_roll(projection.pose_roll()); in SetProjection()1588 projection_ = projection_ptr.release(); in SetProjection()
5188 std::auto_ptr<Projection> projection_ptr(new Projection()); in Parse() local5189 if (!projection_ptr.get()) in Parse()5210 projection_ptr->type = static_cast<ProjectionType>(projection_type); in Parse()5225 projection_ptr->private_data = data; in Parse()5226 projection_ptr->private_data_length = static_cast<size_t>(child_size); in Parse()5237 projection_ptr->pose_yaw = static_cast<float>(value); in Parse()5240 projection_ptr->pose_pitch = static_cast<float>(value); in Parse()5243 projection_ptr->pose_roll = static_cast<float>(value); in Parse()5255 *projection = projection_ptr.release(); in Parse()