-
-
Notifications
You must be signed in to change notification settings - Fork 384
refactor(OpenGL/Texture): use named parameters #3224
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
Open
floryst
wants to merge
40
commits into
beta
Choose a base branch
from
opengltexture-named-parameters
base: beta
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or 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
b820050
to
b7fdd20
Compare
FYI @sedghi |
Looks great! |
sankhesh
approved these changes
Feb 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
b7fdd20
to
ecfb22b
Compare
finetjul
approved these changes
Feb 28, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
add computeRanges arg. If set to false will clone the existing range. If true, will calculate the ranges. Added the magnitude ranges for multi-component ranges
…compareFloat added test for getRanges(false)
makes create3DFilterableFromRaw consistent with create2DFilterableFromRaw
…ulti-component magnitude
vtkVolumeMapper, vtkImageCPRMapper, and vtkImageResliceMapper all now support updating sub-image extents, reducing the GPU upload overhead when part of the image has updated.
Init pickFromList to false not 0. Fix TypeScript defs.
This change adds support for sorting 2D actor overlays based on their `layerNumber` property.
This ensures that they are rendered in the correct order for every frame even if their layer number changes between frames.
This change adds an argument to `addMissingNodes` to ensure that the view node ordering is maintained. By default, ordering is not maintained. However, for nodes of type `vtkActor2D`, where layering requires a specific order, the node ordering is enforced.
9c33a0a
to
caf8081
Compare
BREAKING CHANGE: the updatedExtent API has been moved from the mappers to the vtkImageProperty and vtkVolumeProperty interfaces. vtkImageMapper does not yet honor the updatedExtent API.
caf8081
to
8e7e117
Compare
The create* methods have enough parameters to warrant using named parameters. BREAKING CHANGE: the create* methods now use named parameters rather than positional parameters.
8e7e117
to
281b5a6
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
The create* methods have enough parameters to warrant using named parameters.
Closes #3222
Results
create*
methods now use named parametersChanges
PR and Code Checklist
npm run reformat
to have correctly formatted codeTesting