Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
69822b6b
Commit
69822b6b
authored
Jan 28, 2013
by
Sebastian Eichelbaum
Browse files
[STYLE]
parent
3c3fa480
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
468 additions
and
469 deletions
+468
-469
src/modules/data/WMData.cpp
src/modules/data/WMData.cpp
+1
-1
src/modules/data/io/WReaderVTK.cpp
src/modules/data/io/WReaderVTK.cpp
+466
-466
src/modules/data/io/WReaderVTK.h
src/modules/data/io/WReaderVTK.h
+1
-2
No files found.
src/modules/data/WMData.cpp
View file @
69822b6b
...
...
@@ -286,7 +286,7 @@ void WMData::moduleMain()
WReaderFiberVTK
fibReader
(
fileName
);
m_dataSet
=
fibReader
.
read
();
}
else
if
(
suffix
==
".vtk"
)
else
if
(
suffix
==
".vtk"
)
{
WReaderVTK
vtkReader
(
fileName
);
m_dataSet
=
vtkReader
.
read
();
...
...
src/modules/data/io/WReaderVTK.cpp
View file @
69822b6b
This diff is collapsed.
Click to expand it.
src/modules/data/io/WReaderVTK.h
View file @
69822b6b
...
...
@@ -155,7 +155,6 @@ protected:
boost
::
shared_ptr
<
std
::
ifstream
>
m_ifs
;
//!< Pointer to the input file stream reader.
private:
//! The types of domains supported so far.
enum
DomainType
{
...
...
@@ -213,7 +212,7 @@ private:
* \param values The values read from the file.
* \param numValues The number of values to read.
*/
void
readValuesFromFile
(
std
::
vector
<
float
>&
values
,
std
::
size_t
numValues
);
void
readValuesFromFile
(
std
::
vector
<
float
>&
values
,
std
::
size_t
numValues
);
// NOLINT: is non-const ref since we write results to this vector
/**
* Try to cast from the given string to the template value T. If the cast fails a
...
...
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