##

DARTCylinderShape.hh
Go to the documentation of this file.
/*
* Copyright (C) 2014 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* 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.
*
*/
#ifndef _GAZEBO_DARTCYLINDERSHAPE_HH_
#define _GAZEBO_DARTCYLINDERSHAPE_HH_
#include "gazebo/physics/CylinderShape.hh"
#include "gazebo/physics/dart/DARTPhysics.hh"
#include "gazebo/util/system.hh"
namespace gazebo
{
namespace physics
{
class DARTCylinderShapePrivate;
class GZ_PHYSICS_VISIBLE DARTCylinderShape : public CylinderShape
{
public: explicit DARTCylinderShape(DARTCollisionPtr _parent);
public: virtual ~DARTCylinderShape();
// Documentation inerited.
public: void Init();
// Documentation inerited.
public: void SetSize(double _radius, double _length);
private: DARTCylinderShapePrivate *dataPtr;
};
}
}
#endif
gazebo::physics::DARTCylinderShape::Init
void Init()
Initialize the cylinder.
gazebo
Forward declarations for the common classes.
Definition: Animation.hh:26
DARTPhysics.hh
gazebo::physics::CylinderShape
Cylinder collision.
Definition: CylinderShape.hh:32
system.hh
gazebo::physics::DARTCylinderShape
DART cylinder shape.
Definition: DARTCylinderShape.hh:36
gazebo::physics::DARTCylinderShape::DARTCylinderShape
DARTCylinderShape(DARTCollisionPtr _parent)
Constructor.
gazebo::physics::DARTCylinderShape::SetSize
void SetSize(double _radius, double _length)
Set the size of the cylinder.
gazebo::msgs::Init
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
gazebo::physics::DARTCylinderShape::~DARTCylinderShape
virtual ~DARTCylinderShape()
Destructor.
CylinderShape.hh
gazebo::physics::DARTCollisionPtr
boost::shared_ptr< DARTCollision > DARTCollisionPtr
Definition: DARTTypes.hh:49