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 meanBoneLength(int _skeletonID)
get the mean bone length
void pluginsInitialized()
initialize the plugin
Logtype
Log types for Message Window.
Vector boundingBoxMin(int _skeletonID)
get minumum bounding box point
int jointCount(int _skeletonID)
get total number of joints for a given skeleton
Vector boundingBoxMax(int _skeletonID)
get maximum bounding box point
Control OpenFlippers status bar.
DataType supportedDataTypes()
Get data type for information requests.
Interface class for providing information on objects.
double minBoneLength(int _skeletonID)
get the minimal bone length
void slotInformationRequested(const QPoint _clickedPoint, DataType _type)
Show information dialog on clicked object.
double maxBoneLength(int _skeletonID)
get the maximal bone length
void setDescriptions()
set scripting slot descriptions
QString name()
Name of the Plugin.
double boneLength(int _skeletonID, int _jointID)
get the length of a bone
Interface for all Plugins which do logging to the logging window of the framework.
Plugin to visualize information about objects in the scene.
QString description()
Description of the Plugin.
Vector boundingBoxSize(int _skeletonID)
get the size of the bounding box
Interface class from which all plugins have to be created.
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