Commit adb1356f authored by Alexander Wiebel's avatar Alexander Wiebel

[STYLE]

parent c8aad0ca
......@@ -24,6 +24,7 @@
#include <algorithm>
#include <cmath>
#include <limits>
#include <string>
#include <utility>
#include <vector>
......@@ -287,9 +288,6 @@ void WMPickingDVR::moduleMain()
}
else if( selectionType == 2)
{
bool pickingSuccessful = false;
const WPosition posPicking = getPickedDVRPosition( pickingMode, &pickingSuccessful );
std::vector< std::pair< double, WPosition > > candidates = computeVisiTraceCandidates();
if( candidates.size() )
{
......@@ -606,8 +604,6 @@ std::vector< std::pair< double, WPosition > > WMPickingDVR::computeVisiTraceCand
return std::vector< std::pair< double, WPosition > >();
}
WPosition posPicking = m_posStart;
double accAlpha = 0.0;
std::vector<double> vecAlphaAcc;
......@@ -653,7 +649,7 @@ WPosition WMPickingDVR::getPickedDVRPosition( std::string pickingMode, bool* pi
double accAlpha = 0.0;
double accAlphaOld = 0.0;
double pickedAlpha = 0.0;
double maxValue = -1 * std::numeric_limits< double >::max();;
double maxValue = -1 * std::numeric_limits< double >::max();
std::vector<double> vecAlphaAcc;
......
......@@ -156,7 +156,7 @@ private:
*
* \param scalar Evaluate transfer function for this value.
*
* \returnOpacity obtained from transfer function.
* \return Opacity obtained from transfer function.
*/
double getTFAlpha( const double scalar ) const;
......
......@@ -22,6 +22,7 @@
//
//---------------------------------------------------------------------------
#include <utility>
#include <vector>
#include "core/common/math/linearAlgebra/WPosition.h"
......
......@@ -25,6 +25,9 @@
#ifndef WVISITRACE_H
#define WVISITRACE_H
#include <utility>
#include <vector>
/**
* Class performing graph computations for VisiTrace algorithm.
* The algorithm has been published here:
......@@ -33,9 +36,6 @@
* The aim is to draw smooth lines on top visible structures in direct volume
* renderings.
*/
#include <vector>
class WVisiTrace
{
public:
......
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