FEM: Add index over frames visualizations
This commit is contained in:
@@ -56,6 +56,14 @@ post_visualization.register_extractor("Lineplot",
|
||||
"ObjectsFem",
|
||||
"makePostLineplotFieldData")
|
||||
|
||||
post_visualization.register_extractor("Lineplot",
|
||||
"LineplotIndexOverFrames",
|
||||
":/icons/FEM_PostIndex.svg",
|
||||
"2D",
|
||||
"Index",
|
||||
"ObjectsFem",
|
||||
"makePostLineplotIndexOverFrames")
|
||||
|
||||
|
||||
# Implementation
|
||||
# ##############
|
||||
@@ -77,6 +85,12 @@ class PostLineplotFieldData(post_extract2D.PostFieldData2D):
|
||||
"""
|
||||
VisualizationType = "Lineplot"
|
||||
|
||||
class PostLineplotIndexOverFrames(post_extract2D.PostIndexOverFrames2D):
|
||||
"""
|
||||
A 2D index extraction for lineplot.
|
||||
"""
|
||||
VisualizationType = "Lineplot"
|
||||
|
||||
|
||||
|
||||
class PostLineplot(base_fempostvisualizations.PostVisualization):
|
||||
|
||||
Reference in New Issue
Block a user