53 #include "VolumeMeshInfoBar.hh" 72 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-VolumeMeshObjectInfo")
76 void setSlotDescription(QString _slotName, QString _slotDescription,
77 QStringList _parameters, QStringList _descriptions);
80 void log(
Logtype _type, QString _message);
81 void log(QString _message);
84 void addWidgetToStatusbar(QWidget* _widget);
89 void initializePlugin();
91 void slotObjectUpdated(
int _identifier,
const UpdateType& _type );
92 void slotObjectSelectionChanged(
int _identifier );
93 void slotAllCleared();
95 void noguiSupported( ) {}
106 QString
name(){
return (QString(
"InfoVolumeMeshObject")); }
109 QString
description() {
return (QString(tr(
"Provides Information on Volume Mesh Objects"))); }
113 template<
class MeshT >
114 void printMeshInfo( MeshT* _mesh,
int _id,
unsigned int _face,
ACG::Vec3d& _hitPoint );
116 void updateInfoBar();
int faceCount(int _id)
get total number of faces for a given object
int edgeCount(int _id)
get total number of edges for a given object
void pluginsInitialized()
initialize the plugin
QString version()
set scripting slot descriptions
Plugin to visualize information about open volume meshs in the scene.
Logtype
Log types for Message Window.
Interface for all Plugins which do logging to the logging window of the framework.
int cellCount(int _id)
get total number of cells for a given object
int vertexCount(int _id)
get total number of vertices for a given object
QString description()
Description of the Plugin.
Control OpenFlippers status bar.
void setDescriptions()
set scripting slot descriptions
QString name()
Name of the Plugin.
Interface class from which all plugins have to be created.