Plugin to visualize information about objects in the scene.
More...
#include <Plugin-InfoSkeleton/SkeletonObjectInfoPlugin.hh>
|
| int | jointCount (int _skeletonID) |
| | get total number of joints for a given skeleton
|
| |
| int | branchCount (int _skeletonID) |
| | get total number of branches for a given skeleton
|
| |
| int | leafCount (int _skeletonID) |
| | get total number of leaves for a given skeleton
|
| |
| Vector | boundingBoxMin (int _skeletonID) |
| | get minumum bounding box point
|
| |
| Vector | boundingBoxMax (int _skeletonID) |
| | get maximum bounding box point
|
| |
| Vector | boundingBoxSize (int _skeletonID) |
| | get the size of the bounding box
|
| |
| double | boneLength (int _skeletonID, int _jointID) |
| | get the length of a bone
|
| |
| double | minBoneLength (int _skeletonID) |
| | get the minimal bone length
|
| |
| double | maxBoneLength (int _skeletonID) |
| | get the maximal bone length
|
| |
| double | meanBoneLength (int _skeletonID) |
| | get the mean bone length
|
| |
| QString | version () |
| |
|
|
void | setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions) |
| |
|
void | log (Logtype _type, QString _message) |
| |
|
void | log (QString _message) |
| |
|
void | addWidgetToStatusbar (QWidget *_widget) |
| |
| virtual void | updateView () |
| | Update current view in Main Application.
|
| |
| virtual void | setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions) |
| | Set a description for a public slot.
|
| |
| virtual void | setRenderer (unsigned int _viewer, QString _rendererName) |
| | Set a renderer for the given viewer.
|
| |
| virtual void | log (Logtype _type, QString _message)=0 |
| |
| virtual void | log (QString _message)=0 |
| |
| virtual void | showStatusMessage (QString _message, int _timeout=0) |
| | Show a message in the status bar.
|
| |
| virtual void | executePythonScript (QString _script) |
| |
|
| QString | name () |
| | Name of the Plugin.
|
| |
| QString | description () |
| | Description of the Plugin.
|
| |
Plugin to visualize information about objects in the scene.
Plugin to visualize information about objects in the scene
Definition at line 76 of file SkeletonObjectInfoPlugin.hh.
◆ InfoSkeletonObjectPlugin()
| InfoSkeletonObjectPlugin::InfoSkeletonObjectPlugin |
( |
| ) |
|
|
inline |
◆ ~InfoSkeletonObjectPlugin()
| InfoSkeletonObjectPlugin::~InfoSkeletonObjectPlugin |
( |
| ) |
|
|
inline |
◆ boneLength
| double InfoSkeletonObjectPlugin::boneLength |
( |
int |
_skeletonID, |
|
|
int |
_jointID |
|
) |
| |
|
slot |
get the length of a bone
get the length of a bone from a given joint to his parent
- Parameters
-
| _skeletonID | id of a skeleton |
| _jointID | id of the joint |
- Returns
- bone length (from _jointID to the parent of _jointID)
Definition at line 227 of file SkeletonObjectInfoScripting.cc.
◆ boundingBoxMax
| Vector InfoSkeletonObjectPlugin::boundingBoxMax |
( |
int |
_skeletonID | ) |
|
|
slot |
get maximum bounding box point
get total number of vertices for a given object
- Parameters
-
- Returns
- maximum point of the bounding box
Definition at line 185 of file SkeletonObjectInfoScripting.cc.
◆ boundingBoxMin
| Vector InfoSkeletonObjectPlugin::boundingBoxMin |
( |
int |
_skeletonID | ) |
|
|
slot |
get minumum bounding box point
get total number of vertices for a given object
- Parameters
-
- Returns
- minimum point of the bounding box
Definition at line 164 of file SkeletonObjectInfoScripting.cc.
◆ boundingBoxSize
| Vector InfoSkeletonObjectPlugin::boundingBoxSize |
( |
int |
_skeletonID | ) |
|
|
slot |
get the size of the bounding box
get total number of vertices for a given object
- Parameters
-
- Returns
- size of the bounding box
Definition at line 206 of file SkeletonObjectInfoScripting.cc.
◆ branchCount
| int InfoSkeletonObjectPlugin::branchCount |
( |
int |
_skeletonID | ) |
|
|
slot |
get total number of branches for a given skeleton
get total number of vertices for a given object
- Parameters
-
- Returns
- number of branches (joints with multiple childs) or -1 if an error occured
Definition at line 115 of file SkeletonObjectInfoScripting.cc.
◆ description()
| QString InfoSkeletonObjectPlugin::description |
( |
| ) |
|
|
inlinevirtual |
◆ initializePlugin
| void InfoSkeletonObjectPlugin::initializePlugin |
( |
| ) |
|
|
privateslot |
◆ jointCount
| int InfoSkeletonObjectPlugin::jointCount |
( |
int |
_skeletonID | ) |
|
|
slot |
get total number of joints for a given skeleton
get total number of vertices for a given object
- Parameters
-
- Returns
- number of joints or -1 if an error occured
Definition at line 96 of file SkeletonObjectInfoScripting.cc.
◆ leafCount
| int InfoSkeletonObjectPlugin::leafCount |
( |
int |
_skeletonID | ) |
|
|
slot |
get total number of leaves for a given skeleton
get total number of vertices for a given object
- Parameters
-
- Returns
- number of leaves or -1 if an error occured
Definition at line 140 of file SkeletonObjectInfoScripting.cc.
◆ maxBoneLength
| double InfoSkeletonObjectPlugin::maxBoneLength |
( |
int |
_skeletonID | ) |
|
|
slot |
get the maximal bone length
get total number of vertices for a given object
- Parameters
-
- Returns
- maximal bone length or -1 if an error occured
Definition at line 288 of file SkeletonObjectInfoScripting.cc.
◆ meanBoneLength
| double InfoSkeletonObjectPlugin::meanBoneLength |
( |
int |
_skeletonID | ) |
|
|
slot |
get the mean bone length
get total number of vertices for a given object
- Parameters
-
- Returns
- mean bone length or -1 if an error occured
Definition at line 318 of file SkeletonObjectInfoScripting.cc.
◆ minBoneLength
| double InfoSkeletonObjectPlugin::minBoneLength |
( |
int |
_skeletonID | ) |
|
|
slot |
get the minimal bone length
get total number of vertices for a given object
- Parameters
-
- Returns
- minimal bone length or -1 if an error occured
Definition at line 258 of file SkeletonObjectInfoScripting.cc.
◆ name()
| QString InfoSkeletonObjectPlugin::name |
( |
| ) |
|
|
inlinevirtual |
◆ noguiSupported
| void InfoSkeletonObjectPlugin::noguiSupported |
( |
| ) |
|
|
inlineprivateslot |
◆ pluginsInitialized
| void InfoSkeletonObjectPlugin::pluginsInitialized |
( |
| ) |
|
|
privateslot |
◆ printSkeletonInfo()
| void InfoSkeletonObjectPlugin::printSkeletonInfo |
( |
Skeleton * |
_id, |
|
|
unsigned int |
_objectId, |
|
|
unsigned int |
_index, |
|
|
ACG::Vec3d & |
_hitPoint |
|
) |
| |
|
private |
◆ setDescriptions()
| void InfoSkeletonObjectPlugin::setDescriptions |
( |
| ) |
|
|
private |
◆ slotInformationRequested()
| void InfoSkeletonObjectPlugin::slotInformationRequested |
( |
const QPoint |
_clickedPoint, |
|
|
DataType |
_type |
|
) |
| |
|
privatevirtual |
Show information dialog on clicked object.
This slot is called each time the user clicks on an object. The information plugin for a specific type should display the necessary information on all entity types and the clicked object itself.
- Parameters
-
| _clickedPoint | The 2D point in screen coords, which the user has clicked |
| _type | Data type to be registered |
Implements InformationInterface.
Definition at line 197 of file SkeletonObjectInfoPlugin.cc.
◆ supportedDataTypes()
| DataType InfoSkeletonObjectPlugin::supportedDataTypes |
( |
| ) |
|
|
privatevirtual |
Get data type for information requests.
This slot is called by the core in order to identify the data types for which the plugin provides information.
- Returns
- The supported data types (OR'ed in case of multiple types)
Implements InformationInterface.
Definition at line 81 of file SkeletonObjectInfoPlugin.cc.
◆ version
| QString InfoSkeletonObjectPlugin::version |
( |
| ) |
|
|
inlineslot |
◆ info_
The documentation for this class was generated from the following files: