forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`vtkCellTypes` currently holds an attribute `LocationArray` which is not needed anymore. this commit deprecates all methods that are related to this attribute.
- Loading branch information
1 parent
fc8c31a
commit 613d4e3
Showing
4 changed files
with
43 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Deprecation in vtkCellTypes | ||
|
||
Usage of `LocationArray` in `vtkCellTypes` is deprecated. This is an old legacy feature that was | ||
used by `vtkUnstructuredGrid`. Currently, this class is used to store a list of distinct cell types | ||
present in a `vtkUnstructuredGrid`, making `LocationArray` irrelevant. | ||
In the long run, `vtkCellTypes` will become a static method only class. So it is advised to not use | ||
instances of this class anymore. Using static methods is fine. | ||
|
||
A new more direct interface to the array listing distinct cell types is implemented | ||
in `vtkUnstructuredGrid` (see release notes about deprecation in `vtkUnstructuredGrid`). |