Commit 7ca70c88 authored by Kai Messerschmidt's avatar Kai Messerschmidt
Browse files

[DOC/STYLE] Fixed style and doc issues

parent 105f7c9e
......@@ -185,7 +185,10 @@ public:
/**
* Insert a new box widget
*
* \param iso the new iso value
* \param isoX the new iso value
* \param isoY the new iso value
* \param width the new iso value
* \param height the new iso value
* \param color the new color at the given iso value
*/
void addBoxWidget( double isoX, double isoY, double width, double height, const WColor& color );
......
......@@ -65,7 +65,6 @@ WTransferFunction2DBoxWidget::WTransferFunction2DBoxWidget( WTransferFunction2DG
this, SLOT( setResizeHandle( ResizePointsRect, QPointF ) ) );
connect( m_controlPoints[3], SIGNAL( resizeHandleChanged( ResizePointsRect, QPointF ) ),
this, SLOT( setResizeHandle( ResizePointsRect, QPointF ) ) );
}
WTransferFunction2DBoxWidget::~WTransferFunction2DBoxWidget()
{
......
......@@ -41,7 +41,7 @@ WTransferFunction2DGUIWidget::WTransferFunction2DGUIWidget( QWidget* qparent, WT
BaseClass( qparent ),
parent( parent ),
background( nullptr ),
hist(nullptr),
hist( nullptr ),
initialized( false )
{
// std::cout << "new widget" << std::endl;
......@@ -174,6 +174,7 @@ void WTransferFunction2DGUIWidget::insertBoxWidgetNormalized( const QPointF &pos
const double height = .167,
const QColor *const color = new QColor( 255., 0., 0., 10. ) )
{
// Scene width and height are 300.
insertBoxWidget( QPointF( pos.x()*300., pos.y()*300. ), width*300., height*300., color );
}
......
......@@ -167,7 +167,6 @@ protected:
*/
void setMyBackground();
private:
WTransferFunction2DGuiNotificationClass *parent; /** the class that receives our update notifications */
std::vector< WTransferFunction2DBoxWidget* > m_widgets; /** List of manipulation widgets */
QGraphicsScene *scene; /** The scene that holds the GraphicItems */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment