IMP
2.1.0
The Integrative Modeling Platform
IMP Mainpage
All IMP Modules
Related Pages
Modules
Namespaces
Classes
Files
Examples
Indexes
File List
File Members
TransformationJoint.h
Go to the documentation of this file.
1
/**
2
* \file kinematics/TransformationJoint.h
3
* \brief a kinematic joints between rigid bodies that allows any
4
* transformation
5
* \authors Dina Schneidman, Barak Raveh
6
*
7
8
* Copyright 2007-2012 IMP Inventors. All rights reserved.
9
*/
10
11
#ifndef IMPKINEMATICS_TRANSFORMATION_JOINT_H
12
#define IMPKINEMATICS_TRANSFORMATION_JOINT_H
13
14
#include "kinematics_config.h"
15
#include <
IMP/kinematics/KinematicNode.h
>
16
#include <
IMP/kinematics/Joint.h
>
17
#include <
IMP/base/Object.h
>
18
//#include <IMP/compatibility/nullptr.h>
19
#include <
IMP/base/exception.h
>
20
#include <IMP/core/internal/dihedral_helpers.h>
21
#include <
IMP/algebra/Vector3D.h
>
22
#include <
IMP/base/check_macros.h
>
23
24
IMPKINEMATICS_BEGIN_NAMESPACE
25
26
27
28
/********************** TransformationJoint ***************/
29
30
31
/** A joint with a completely non-constrained transformation
32
between parent and child nodes reference frames
33
*/
34
class
IMPKINEMATICSEXPORT
35
TransformationJoint
:
public
Joint
{
36
public
:
37
TransformationJoint
(
IMP::core::RigidBody
parent,
38
IMP::core::RigidBody
child);
39
40
/**
41
Sets the transfromation from parent to child reference frame,
42
in a safe way - that is, after updating all intrnal coordinates
43
from external if needed, and marking the owner internal coordinates
44
as changed.
45
*/
46
void
set_transformation_child_to_parent
47
(
IMP::algebra::Transformation3D
transformation);
48
49
50
};
51
52
IMP_OBJECTS
(
TransformationJoint
,
TransformationJoints
);
53
54
IMPKINEMATICS_END_NAMESPACE
55
56
#endif
/* IMPKINEMATICS_TRANSFORMATION_JOINT_H */
IMP::algebra::Transformation3D
Simple 3D transformation class.
Definition:
Transformation3D.h:30
IMP::base::Vector
Definition:
base/Vector.h:37
Joint.h
functionality for defining a kinematic joint between rigid bodies as part of a kinematic tree ...
IMP::kinematics::TransformationJoint
Definition:
TransformationJoint.h:34
KinematicNode.h
functionality for defining nodes on a kinematic chain
IMP_OBJECTS
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Definition:
base/object_macros.h:77
exception.h
Exception definitions and assertions.
IMP::kinematics::Joint
Definition:
Joint.h:33
Vector3D.h
Simple 3D vector class.
check_macros.h
Exception definitions and assertions.
Object.h
A shared base class to help in debugging and things.
IMP::core::RigidBody
A decorator for a rigid body.
Definition:
rigid_bodies.h:75