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

Add abstract InitNode #1750

Merged
merged 1 commit into from
Aug 5, 2022
Merged

Add abstract InitNode #1750

merged 1 commit into from
Aug 5, 2022

Conversation

cbentejac
Copy link
Contributor

Description

This PR adds the abstract class "InitNode" which is meant to be inherited by all the initialization nodes (such as CameraInit), included those that might be created by the user. InitNode contains methods that can be reimplemented by the children classes if necessary.

This abstract class allows to keep on using scripts (such as meshroom_batch) without being limited to the use a specific initialization node (like it used to be with CameraInit in the case of meshroom_batch, for example), needing to have the knowledge of the used initialization node and/or having to modify the scripts as a workaround.

bin/meshroom_batch Outdated Show resolved Hide resolved
InitNode is an abstract class which is meant to be inherited
by all the initialization nodes (such as CameraInit), included
those that might be created by the user.

InitNode contains methods that can be reimplemented by the
children classes if necessary.

This abstract class allows to keep on using scripts such as
meshroom_batch without having to modify them specifically or
being limited to using a CameraInit node.
@fabiencastan fabiencastan merged commit 92e77e7 into develop Aug 5, 2022
@fabiencastan fabiencastan deleted the dev/abstractCamInit branch August 5, 2022 10:23
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