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