Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
adb1356f
Commit
adb1356f
authored
May 29, 2017
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[STYLE]
parent
c8aad0ca
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
10 deletions
+7
-10
src/modules/pickingDVR/WMPickingDVR.cpp
src/modules/pickingDVR/WMPickingDVR.cpp
+2
-6
src/modules/pickingDVR/WMPickingDVR.h
src/modules/pickingDVR/WMPickingDVR.h
+1
-1
src/modules/pickingDVR/WVisiTrace.cpp
src/modules/pickingDVR/WVisiTrace.cpp
+1
-0
src/modules/pickingDVR/WVisiTrace.h
src/modules/pickingDVR/WVisiTrace.h
+3
-3
No files found.
src/modules/pickingDVR/WMPickingDVR.cpp
View file @
adb1356f
...
...
@@ -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
;
...
...
src/modules/pickingDVR/WMPickingDVR.h
View file @
adb1356f
...
...
@@ -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
;
...
...
src/modules/pickingDVR/WVisiTrace.cpp
View file @
adb1356f
...
...
@@ -22,6 +22,7 @@
//
//---------------------------------------------------------------------------
#include <utility>
#include <vector>
#include "core/common/math/linearAlgebra/WPosition.h"
...
...
src/modules/pickingDVR/WVisiTrace.h
View file @
adb1356f
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment