72 #include "infoDialog.hh"
89 #if QT_VERSION >= 0x050000
90 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-SkeletonObjectInfo")
97 void setSlotDescription(QString _slotName, QString _slotDescription,
98 QStringList _parameters, QStringList _descriptions);
101 void log(
Logtype _type, QString _message);
102 void log(QString _message);
105 void addWidgetToStatusbar(QWidget* _widget);
110 void initializePlugin();
113 void noguiSupported( ) {} ;
128 QString
name(){
return (QString(
"InfoSkeletonObject")); };
131 QString
description() {
return (QString(tr(
"Provides Information on Skeleton Objects"))); };
134 void printSkeletonInfo(
Skeleton* _id,
unsigned int _objectId,
unsigned int _index,
ACG::Vec3d& _hitPoint );
154 double boneLength(
int _skeletonID,
int _jointID);
168 QString version() {
return QString(
"1.0"); };
174 #endif //MOVEPLUGIN_HH
Plugin to visualize information about objects in the scene.
Interface class from which all plugins have to be created.
double maxBoneLength(int _skeletonID)
get the maximal bone length
Logtype
Log types for Message Window.
QString name()
Name of the Plugin.
Vector boundingBoxSize(int _skeletonID)
get the size of the bounding box
Interface class for providing information on objects.
Interface for all Plugins which do logging to the logging window of the framework.
int branchCount(int _skeletonID)
get total number of branches for a given skeleton
Vector boundingBoxMin(int _skeletonID)
get minumum bounding box point
DataType supportedDataTypes()
Get data type for information requests.
double meanBoneLength(int _skeletonID)
get the mean bone length
double boneLength(int _skeletonID, int _jointID)
get the length of a bone
Vector boundingBoxMax(int _skeletonID)
get maximum bounding box point
void pluginsInitialized()
initialize the plugin
void setDescriptions()
set scripting slot descriptions
Control OpenFlippers status bar.
void slotInformationRequested(const QPoint _clickedPoint, DataType _type)
Show information dialog on clicked object.
int jointCount(int _skeletonID)
get total number of joints for a given skeleton
int leafCount(int _skeletonID)
get total number of leaves for a given skeleton
double minBoneLength(int _skeletonID)
get the minimal bone length
QString description()
Description of the Plugin.