Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VTK
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scott Wittenburg
VTK
Commits
cc01b830
Commit
cc01b830
authored
Dec 18, 2018
by
Jérôme Dubois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix HTG Squeeze function and rename HT internal function Frozen to Freeze
parent
2d67238f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
Common/DataModel/vtkHyperTree.cxx
Common/DataModel/vtkHyperTree.cxx
+1
-1
Common/DataModel/vtkHyperTree.h
Common/DataModel/vtkHyperTree.h
+1
-1
Common/DataModel/vtkHyperTreeGrid.cxx
Common/DataModel/vtkHyperTreeGrid.cxx
+2
-3
No files found.
Common/DataModel/vtkHyperTree.cxx
View file @
cc01b830
...
...
@@ -131,7 +131,7 @@ public:
static
vtkCompactHyperTree
*
New
();
//---------------------------------------------------------------------------
vtkHyperTree
*
Fr
ozen
(
)
override
vtkHyperTree
*
Fr
eeze
(
)
override
{
return
this
;
}
...
...
Common/DataModel/vtkHyperTree.h
View file @
cc01b830
...
...
@@ -183,7 +183,7 @@ public:
/**
* JB Return a frozen instance (a priori compact but potentially not changeable).
*/
virtual
vtkHyperTree
*
Fr
ozen
()
=
0
;
virtual
vtkHyperTree
*
Fr
eeze
()
=
0
;
//@{
/**
...
...
Common/DataModel/vtkHyperTreeGrid.cxx
View file @
cc01b830
...
...
@@ -178,10 +178,9 @@ void vtkHyperTreeGrid::Squeeze()
vtkHyperTreeGridIterator
itIn
;
InitializeTreeIterator
(
itIn
);
vtkIdType
indexIn
;
vtkHyperTree
*
ht
=
vtkHyperTree
::
SafeDownCast
(
itIn
.
GetNextTree
(
indexIn
)
);
while
(
ht
)
while
(
vtkHyperTree
*
ht
=
itIn
.
GetNextTree
(
indexIn
)
)
{
vtkHyperTree
*
htfrozen
=
ht
->
Fr
ozen
();
vtkHyperTree
*
htfrozen
=
ht
->
Fr
eeze
();
if
(
htfrozen
!=
ht
)
{
this
->
SetTree
(
indexIn
,
htfrozen
);
...
...
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