Developer Documentation
SlicePlugin Class Reference
Inheritance diagram for SlicePlugin:
BaseInterface ToolboxInterface LoggingInterface

Public Slots

QString version ()
 

Signals

void updateView ()
 
void log (Logtype _type, QString _message)
 
void log (QString _message)
 
void addToolbox (QString _name, QWidget *_widget, QIcon *_icon)
 
- Signals inherited from BaseInterface
virtual void updateView ()
 Update current view in Main Application. More...
 
virtual void setSlotDescription (QString _slotName, QString _slotDescription, QStringList _parameters, QStringList _descriptions)
 Set a description for a public slot. More...
 
virtual void setRenderer (unsigned int _viewer, QString _rendererName)
 Set a renderer for the given viewer. More...
 
- Signals inherited from ToolboxInterface
virtual void addToolbox (QString _name, QWidget *_widget)
 Add a toolbox widget to the gui with the given name. More...
 
- Signals inherited from LoggingInterface
virtual void log (Logtype _type, QString _message)=0
 
virtual void log (QString _message)=0
 

Public Member Functions

QString name ()
 Return a name for the plugin. More...
 
QString description ()
 Return a description of what the plugin is doing. More...
 

Private Slots

void initializePlugin ()
 
void resetParameters ()
 
void updateSlice ()
 
void updateSlice (int bla)
 
- Private Slots inherited from BaseInterface
virtual void exit ()
 
virtual QString version ()
 Return a version string for your plugin. More...
 

Private Member Functions

void getBoundingBox (ACG::Vec3d &bbmin, ACG::Vec3d &bbmax)
 
- Private Member Functions inherited from BaseInterface
virtual void noguiSupported ()
 
virtual ~BaseInterface ()
 Destructor. More...
 
virtual void blockScenegraphUpdates (bool _block)
 Tell the core to prevent scenegraph updates. More...
 
virtual void updatedObject (int _objectId)
 An object has been changed or added by this plugin. More...
 
virtual void updatedObject (int _identifier, const UpdateType &_type)
 An object has been changed or added by this plugin. More...
 
virtual void nodeVisibilityChanged (int _identifier)
 A scenegraph node has been shown or hidden. More...
 
virtual void getCurrentRenderer (unsigned int _viewer, QString &_rendererName)
 Get the current renderer for the given viewer. More...
 
- Private Member Functions inherited from ToolboxInterface
virtual ~ToolboxInterface ()
 Destructor. More...
 
virtual void addToolbox (QString _name, QWidget *_widget, QIcon *_icon)
 Add a toolbox widget to the gui with the given name and an icon. More...
 
virtual void addToolbox (QString _name, QWidget *_widget, QIcon *_icon, QWidget *_headerAreaWidget)
 Add a toolbox widget to the gui with the given name, icon and header area widget. More...
 
- Private Member Functions inherited from LoggingInterface
virtual ~LoggingInterface ()
 Destructor. More...
 

Private Attributes

SliceToolBoxtool_
 
QIcon * toolIcon_
 
ACG::SceneGraph::ClippingNodenode_
 

Detailed Description

Definition at line 56 of file SlicePlugin.hh.

Constructor & Destructor Documentation

◆ SlicePlugin()

SlicePlugin::SlicePlugin ( )

Definition at line 50 of file SlicePlugin.cc.

◆ ~SlicePlugin()

SlicePlugin::~SlicePlugin ( )

Definition at line 58 of file SlicePlugin.cc.

Member Function Documentation

◆ description()

QString SlicePlugin::description ( )
inlinevirtual

Return a description of what the plugin is doing.

This function has to return a basic description of the plugin

Implements BaseInterface.

Definition at line 85 of file SlicePlugin.hh.

◆ getBoundingBox()

void SlicePlugin::getBoundingBox ( ACG::Vec3d bbmin,
ACG::Vec3d bbmax 
)
private

Definition at line 169 of file SlicePlugin.cc.

◆ initializePlugin

void SlicePlugin::initializePlugin ( )
privateslot

Definition at line 63 of file SlicePlugin.cc.

◆ name()

QString SlicePlugin::name ( )
inlinevirtual

Return a name for the plugin.

This Function has to return the name of the plugin.

Implements BaseInterface.

Definition at line 84 of file SlicePlugin.hh.

◆ resetParameters

void SlicePlugin::resetParameters ( )
privateslot

Definition at line 106 of file SlicePlugin.cc.

◆ updateSlice [1/2]

void SlicePlugin::updateSlice ( )
privateslot

Definition at line 116 of file SlicePlugin.cc.

◆ updateSlice [2/2]

void SlicePlugin::updateSlice ( int  bla)
privateslot

Definition at line 112 of file SlicePlugin.cc.

◆ version

QString SlicePlugin::version ( )
inlineslot

Definition at line 102 of file SlicePlugin.hh.

Member Data Documentation

◆ node_

ACG::SceneGraph::ClippingNode* SlicePlugin::node_
private

Definition at line 99 of file SlicePlugin.hh.

◆ tool_

SliceToolBox* SlicePlugin::tool_
private

Definition at line 88 of file SlicePlugin.hh.

◆ toolIcon_

QIcon* SlicePlugin::toolIcon_
private

Definition at line 89 of file SlicePlugin.hh.


The documentation for this class was generated from the following files: