#include <PBlockReconnector.h>
PBlockReconnector
is used to generate a homogeneous transformation matrix needed to reconnect a detached PBlock.
Public Member Functions | |
PBlockReconnector (PBlock *anchor, PBlock *toDetach) | |
void | ReconnectBlocks () |
Matrix4 | GetReconnectTransform () |
PBlock * | getAnchor () |
PBlock * | getDetached () |
Constructs a new PBlockReconnector
. Required are: the PBlock anchor
and the PBlock toDetach
void PBlockReconnector::ReconnectBlocks | ( | ) |
Matrix4 PBlockReconnector::GetReconnectTransform | ( | ) |
Returns the homogeneous transformation matrix that realigns the atoms.