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