Skip to content

Conversation

@antennae
Copy link
Contributor

@antennae antennae commented Apr 9, 2025

This update enhances the draw function of TriangularShellForceField to:

  • Render the shell as a continuous surface instead of discrete axes
  • Visualize stress data as a heatmap on the shell surface

TRQSTriangleHandler* triangleHandler;

private:
sofa::helper::ColorMap* p_drawColorMap; ///< colormap to display the gradiant of stress if @sa showStressValue is set to true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to use a pointer here. Moreover, it's not even destroyed. So use a simple data member as an object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants