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
Andrew Bauer
VTK
Commits
886ad06c
Commit
886ad06c
authored
Jul 19, 1994
by
Will Schroeder
Browse files
ERR: Minor bug fixes.
parent
7d9e4bfd
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/ContourF.cc
View file @
886ad06c
...
...
@@ -111,12 +111,11 @@ void vlContourFilter::Execute()
// Update ourselves. Because we don't know upfront how many verts, lines,
// polys we've created, take care to reclaim memory.
//
newPoints
->
Squeeze
();
this
->
SetPoints
(
newPoints
);
this
->
PointData
.
SetScalars
(
newScalars
);
if
(
newVerts
->
GetNumberOfCells
())
{
newVerts
->
Squeeze
();
this
->
SetVerts
(
newVerts
);
}
else
...
...
@@ -126,7 +125,6 @@ void vlContourFilter::Execute()
if
(
newLines
->
GetNumberOfCells
())
{
newLines
->
Squeeze
();
this
->
SetLines
(
newLines
);
}
else
...
...
@@ -136,7 +134,6 @@ void vlContourFilter::Execute()
if
(
newPolys
->
GetNumberOfCells
())
{
newPolys
->
Squeeze
();
this
->
SetPolys
(
newPolys
);
}
else
...
...
@@ -144,7 +141,7 @@ void vlContourFilter::Execute()
delete
newPolys
;
}
this
->
PointData
.
SetScalars
(
newScalars
);
this
->
Squeeze
(
);
}
void
vlContourFilter
::
PrintSelf
(
ostream
&
os
,
vlIndent
indent
)
...
...
src/SGGeomF.cc
View file @
886ad06c
...
...
@@ -280,3 +280,16 @@ void vlStructuredGeometryFilter::SetExtent(int *extent)
}
}
}
void
vlStructuredGeometryFilter
::
PrintSelf
(
ostream
&
os
,
vlIndent
indent
)
{
if
(
this
->
ShouldIPrint
(
vlStructuredGeometryFilter
::
GetClassName
()))
{
vlStructuredDataSetToPolyFilter
::
PrintSelf
(
os
,
indent
);
os
<<
indent
<<
"Extent:
\n
"
;
os
<<
indent
<<
" Imin,Imax: ("
<<
this
->
Extent
[
0
]
<<
", "
<<
this
->
Extent
[
1
]
<<
")
\n
"
;
os
<<
indent
<<
" Jmin,Jmax: ("
<<
this
->
Extent
[
2
]
<<
", "
<<
this
->
Extent
[
3
]
<<
")
\n
"
;
os
<<
indent
<<
" Kmin,Kmax: ("
<<
this
->
Extent
[
4
]
<<
", "
<<
this
->
Extent
[
5
]
<<
")
\n
"
;
}
}
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