Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Christian Butz
VTK
Commits
45caccca
Commit
45caccca
authored
Nov 29, 2011
by
Bill Lorensen
Committed by
Kitware Robot
Nov 29, 2011
Browse files
Merge topic 'UnstructuredGridVolumeZSweepMapperValgrindDefects'
eeccea8e
BUG: Use of uninitialised value of size 8
parents
6c00d7d7
eeccea8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
VolumeRendering/vtkUnstructuredGridVolumeZSweepMapper.cxx
View file @
45caccca
...
...
@@ -250,7 +250,8 @@ enum
VTK_CASE_VERTICAL_IN_TO_OUT
,
// with edge equation
VTK_CASE_VERTICAL_OUT_TO_IN
,
VTK_CASE_HORIZONTAL_IN_TO_OUT
,
VTK_CASE_HORIZONTAL_OUT_TO_IN
VTK_CASE_HORIZONTAL_OUT_TO_IN
,
VTK_CASE_UNDEFINED
};
// We use an edge equation as described in:
...
...
@@ -277,6 +278,10 @@ class vtkSimpleScreenEdge
:
public
vtkScreenEdge
{
public:
vtkSimpleScreenEdge
()
{
this
->
Case
=
VTK_CASE_UNDEFINED
;
}
// Initialize the edge by the vertices v0 and v2 (ordered in y)
// `onRight' is true if the edge in on the right side of the triangle.
void
Init
(
vtkVertexEntry
*
v0
,
...
...
@@ -1101,6 +1106,8 @@ public:
this
->
Zview
+=
this
->
ZStep
;
}
break
;
default:
vtkGenericWarningMacro
(
<<
"Undefined edge case"
);
}
}
...
...
Write
Preview
Supports
Markdown
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