DARTCollisionPrivate.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 
18 #ifndef _GAZEBO_DARTCOLLISION_PRIVATE_HH_
19 #define _GAZEBO_DARTCOLLISION_PRIVATE_HH_
20 
22 
23 namespace gazebo
24 {
25  namespace physics
26  {
30  {
32  public: DARTCollisionPrivate(dart::dynamics::BodyNode *_dtBodyNode)
33  : dtBodyNode(_dtBodyNode),
35  categoryBits(0),
36  collideBits(0)
37  {
38  }
39 
41  public: ~DARTCollisionPrivate() = default;
42 
44  public: dart::dynamics::BodyNode *dtBodyNode;
45 
47  public: dart::dynamics::Shape *dtCollisionShape;
48 
50  public: unsigned int categoryBits;
51 
53  public: unsigned int collideBits;
54  };
55  }
56 }
57 #endif
DARTCollisionPrivate(dart::dynamics::BodyNode *_dtBodyNode)
Constructor.
Definition: DARTCollisionPrivate.hh:32
unsigned int categoryBits
Category bits for collision detection.
Definition: DARTCollisionPrivate.hh:50
dart::dynamics::BodyNode * dtBodyNode
DART body node associated with this collision.
Definition: DARTCollisionPrivate.hh:44
#define NULL
Definition: CommonTypes.hh:30
dart::dynamics::Shape * dtCollisionShape
DART collision shape associated with this collision.
Definition: DARTCollisionPrivate.hh:47
~DARTCollisionPrivate()=default
Default destructor.
Definition: DARTCollisionPrivate.hh:29
unsigned int collideBits
Collide bits for collision detection.
Definition: DARTCollisionPrivate.hh:53