IMP
2.4.0
The Integrative Modeling Platform
IMP Mainpage
Modules
Classes
Examples
include
IMP
kinematics
TransformationJoint.h
Go to the documentation of this file.
1
/**
2
* \file IMP/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-2015 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/base/exception.h
>
19
#include <IMP/core/internal/dihedral_helpers.h>
20
#include <
IMP/algebra/Vector3D.h
>
21
#include <
IMP/base/check_macros.h
>
22
23
IMPKINEMATICS_BEGIN_NAMESPACE
24
25
/********************** TransformationJoint ***************/
26
27
/** A joint with a completely non-constrained transformation
28
between parent and child nodes reference frames
29
*/
30
class
IMPKINEMATICSEXPORT
TransformationJoint
:
public
Joint
{
31
public
:
32
TransformationJoint
(
IMP::core::RigidBody
parent,
IMP::core::RigidBody
child);
33
34
/**
35
Sets the transformation from parent to child reference frame,
36
in a safe way - that is, after updating all internal coordinates
37
from external if needed, and marking the owner internal coordinates
38
as changed.
39
*/
40
void
set_transformation_child_to_parent(
41
IMP::algebra::Transformation3D
transformation);
42
};
43
44
IMP_OBJECTS
(
TransformationJoint
,
TransformationJoints
);
45
46
IMPKINEMATICS_END_NAMESPACE
47
48
#endif
/* IMPKINEMATICS_TRANSFORMATION_JOINT_H */
IMP::algebra::Transformation3D
Simple 3D transformation class.
Definition:
Transformation3D.h:30
exception.h
Exception definitions and assertions.
IMP::base::Vector
Definition:
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:30
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:
object_macros.h:52
check_macros.h
Exception definitions and assertions.
IMP::kinematics::Joint
Definition:
Joint.h:33
Object.h
A shared base class to help in debugging and things.
Vector3D.h
Simple 3D vector class.
IMP::core::RigidBody
A decorator for a rigid body.
Definition:
rigid_bodies.h:75