67#include "infoDialog.hh"
85 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-SkeletonObjectInfo")
91 void setSlotDescription(QString _slotName, QString _slotDescription,
92 QStringList _parameters, QStringList _descriptions);
95 void log(
Logtype _type, QString _message);
96 void log(QString _message);
99 void addWidgetToStatusbar(QWidget* _widget);
104 void initializePlugin();
107 void noguiSupported( ) {} ;
122 QString
name(){
return (QString(
"InfoSkeletonObject")); };
125 QString
description() {
return (QString(tr(
"Provides Information on Skeleton Objects"))); };
128 void printSkeletonInfo(
Skeleton* _id,
unsigned int _objectId,
unsigned int _index,
ACG::Vec3d& _hitPoint );
148 double boneLength(
int _skeletonID,
int _jointID);
162 QString version() {
return QString(
"1.0"); };
Logtype
Log types for Message Window.
Interface class from which all plugins have to be created.
Plugin to visualize information about objects in the scene.
double boneLength(int _skeletonID, int _jointID)
get the length of a bone
Vector boundingBoxSize(int _skeletonID)
get the size of the bounding box
double meanBoneLength(int _skeletonID)
get the mean bone length
QString name()
Name of the Plugin.
void slotInformationRequested(const QPoint _clickedPoint, DataType _type)
Show information dialog on clicked object.
QString description()
Description of the Plugin.
double minBoneLength(int _skeletonID)
get the minimal bone length
Vector boundingBoxMin(int _skeletonID)
get minumum bounding box point
void setDescriptions()
set scripting slot descriptions
int jointCount(int _skeletonID)
get total number of joints for a given skeleton
Vector boundingBoxMax(int _skeletonID)
get maximum bounding box point
void pluginsInitialized()
initialize the plugin
int leafCount(int _skeletonID)
get total number of leaves for a given skeleton
double maxBoneLength(int _skeletonID)
get the maximal bone length
int branchCount(int _skeletonID)
get total number of branches for a given skeleton
DataType supportedDataTypes()
Get data type for information requests.
Interface for all Plugins which do logging to the logging window of the framework.
Interface class for exporting functions to python.
Control OpenFlippers status bar.