This repository has been archived by the owner on Jul 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Graph3d: move Filter into DataGroup (#3159)
* Graph3D: move Filter into DataGroup The `Filter` instance within `Graph3d` is intimately connected to the graph data, contained in a `DataGroup` instance. As such, it needs to be placed within `DataGroup`. A consequence of this is that, in the final case of multiple graphs, each graph can be animation separately. I regard this as an advantage, even though it will means more initialization for the graphs (you have to initialize each separately for an animation. An effort has been made to decouple `Graph3d` and `Filter` as much as possible. There are still some relationships present, but it's more bother than it's worth to dissolve these. In addition to moving the `Filter` instance, the following has been done: - Added variable `style` to `DataGroup` - Moved certain data-specific methods from `Graph3d` to `DataGroup` - cleaned up some code and commenting These changes have been tested with the following examples: - `graph3d/10_styling` - `graph3d/03_filter_data` - `graph3d/04_animation` * Add changes to filter
- Loading branch information
1 parent
6aba9b2
commit b9aec48
Showing
3 changed files
with
266 additions
and
129 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
Oops, something went wrong.