Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add an option to control the discretization of colormap #1678

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gapry
Copy link

@gapry gapry commented Oct 25, 2024

Related Issue:

This work addresses the Issue: #228

Current Progress

Over the past two weeks, I have made significant progress on #228, with my work available for review in the following commits:

These commits introduce a new CLI option and extend the vtkF3DRenderer class to handle this option.

Please note that the PR isn’t fully complete yet, as it does not fully resolve #228. I will continue to work on it to ensure that all aspects are addressed.

Since I’ve already spent two weeks on this task, I wanted to report my progress, especially as we’re working remotely.

Next Steps

I will review the VTK documentation to learn how to adjust color settings, specifically focusing on the vtkDiscretizableColorTransferFunction.

@@ -246,6 +246,10 @@
"type": "double_vector",
"default_value": "0.0, 0.0, 0.0, 0.0, 0.4, 0.9, 0.0, 0.0, 0.8, 0.9, 0.9, 0.0, 1.0, 1.0, 1.0, 1.0"
},
"discretization" : {
"type": "bool",
Copy link
Contributor

Choose a reason for hiding this comment

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

This option definitely should not be a bool but an int I think.

Copy link

codecov bot commented Oct 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.90%. Comparing base (caa99fc) to head (9f9a2e9).
Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1678   +/-   ##
=======================================
  Coverage   96.90%   96.90%           
=======================================
  Files         105      105           
  Lines        8629     8634    +5     
=======================================
+ Hits         8362     8367    +5     
  Misses        267      267           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

Add an option to control the discretization of colormap
2 participants