Carna Registration API Version 1.16.0
Public Member Functions | Public Attributes
CRA::LinkedObject Class Reference

Adapter which maps the VirtualElement interface to this of Object3D. More...

#include <LinkedObject.h>

Inheritance diagram for CRA::LinkedObject:
Collaboration diagram for CRA::LinkedObject:

List of all members.

Public Member Functions

 LinkedObject (Carna::base::model::Object3D &)
 Instantiates.
virtual void update (const Transformation &orientation, const Registration &registration) override
 Updates the represented scene element's bearing.

Public Attributes

Carna::base::model::Object3D & object
 References the controlled 3D object.

Detailed Description

Adapter which maps the VirtualElement interface to this of Object3D.

api01.png
Author:
Leonid Kostrykin
Date:
23.3.12 - 26.9.12

Definition at line 36 of file LinkedObject.h.


Member Function Documentation

void CRA::LinkedObject::update ( const Transformation &  bearing,
const Registration registration 
) [inline, override, virtual]

Updates the represented scene element's bearing.

Parameters:
bearingIs the orientation of the associated tool to the reference base.
registrationReferences the current registration.

Implements CRA::VirtualElement.

Definition at line 70 of file LinkedObject.h.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Enumerations Enumerator