74 #if QT_VERSION >= 0x050000
75 Q_PLUGIN_METADATA(IID
"org.OpenFlipper.Plugins.Plugin-VolumeMeshObjectInfo")
80 void setSlotDescription(QString _slotName, QString _slotDescription,
81 QStringList _parameters, QStringList _descriptions);
84 void log(
Logtype _type, QString _message);
85 void log(QString _message);
90 void initializePlugin();
92 void slotObjectUpdated(
int _identifier,
const UpdateType& _type );
93 void slotObjectSelectionChanged(
int _identifier );
94 void slotAllCleared();
96 void noguiSupported( ) {}
107 QString
name(){
return (QString(
"InfoVolumeMeshObject")); }
110 QString
description() {
return (QString(tr(
"Provides Information on Volume Mesh Objects"))); }
114 template<
class MeshT >
115 void printMeshInfo( MeshT* _mesh,
int _id,
unsigned int _face,
ACG::Vec3d& _hitPoint );
144 #endif //MOVEPLUGIN_HH
Interface class from which all plugins have to be created.
Logtype
Log types for Message Window.
QString name()
Name of the Plugin.
QString description()
Description of the Plugin.
void pluginsInitialized()
initialize the plugin
Interface for all Plugins which do logging to the logging window of the framework.
void setDescriptions()
set scripting slot descriptions
int cellCount(int _id)
get total number of cells for a given object
int edgeCount(int _id)
get total number of edges for a given object
QString version()
set scripting slot descriptions
Plugin to visualize information about open volume meshs in the scene.
int faceCount(int _id)
get total number of faces for a given object
int vertexCount(int _id)
get total number of vertices for a given object