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

[geometry] Move RenderEngineVtk into its own directory #17169

Merged
merged 1 commit into from
May 12, 2022

Conversation

jwnimmer-tri
Copy link
Collaborator

@jwnimmer-tri jwnimmer-tri commented May 12, 2022

Leave only the params class and factory function as non-internal.

This scheme aligns with what we agreed on for geometry/render_gltf_client.

Towards #16502.


This change is Reviewable

@jwnimmer-tri jwnimmer-tri added priority: low release notes: newly deprecated This pull request contains new deprecations labels May 12, 2022
@jwnimmer-tri jwnimmer-tri marked this pull request as ready for review May 12, 2022 05:21
@jwnimmer-tri
Copy link
Collaborator Author

+@zachfang for feature review, please.

\CC @svenevs @rpoyner-tri @joemasterjohn FYI

Copy link
Contributor

@rpoyner-tri rpoyner-tri left a comment

Choose a reason for hiding this comment

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

Reviewed 30 of 30 files at r1, all commit messages.
Reviewable status: LGTM missing from assignee zachfang, needs platform reviewer assigned, needs at least two assigned reviewers (waiting on @zachfang)

Copy link
Contributor

@zachfang zachfang left a comment

Choose a reason for hiding this comment

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

:lgtm:

Just a few naming conventions to follow up.

  1. In geometry/render_gltf_client, we put MakeRenderEngineGltfClient() and RenderEngineGltfClientParams directly under drake::geometry namespace.
  2. The factory method lives in factory.{h, cc} rather than render_engine_gltf_client_factory.{h, cc}.
  3. The engine is omitted in render_gltf_client_params.{.h, cc}.

I was following the Slack discussion but I can modify the files in geometry/render_gltf_client to make them a completely mirrored structure.

Reviewable status: needs platform reviewer assigned, needs at least two assigned reviewers, labeled "do not merge" (waiting on @zachfang)

Copy link
Collaborator Author

@jwnimmer-tri jwnimmer-tri left a comment

Choose a reason for hiding this comment

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

Most likely I did it wrong here, and gltf is correct. I'll go back and check.

Reviewable status: 1 unresolved discussion, needs platform reviewer assigned, needs at least two assigned reviewers, labeled "do not merge" (waiting on @jwnimmer-tri and @zachfang)

a discussion (no related file):
Working

I think the factory naming isn't quite right.


Copy link
Collaborator Author

@jwnimmer-tri jwnimmer-tri left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 unresolved discussion, needs platform reviewer assigned, needs at least two assigned reviewers, labeled "do not merge" (waiting on @jwnimmer-tri, @rpoyner-tri, and @zachfang)

a discussion (no related file):

Previously, jwnimmer-tri (Jeremy Nimmer) wrote…

Working

I think the factory naming isn't quite right.

Done. The factory and namespace stuff was wrong, fixed now. For the params, we need the struct classname and filename to match, so I kept the filename unchanged.


a discussion (no related file):
Working

Double-checking the deprecation shims via Anzu testing.


@jwnimmer-tri jwnimmer-tri force-pushed the render-vtk branch 2 times, most recently from 9b3f54f to e1a9976 Compare May 12, 2022 16:29
Copy link
Collaborator Author

@jwnimmer-tri jwnimmer-tri left a comment

Choose a reason for hiding this comment

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

@rpoyner-tri it seems you've already read the whole PR? Would you like to serve as platform review?

Reviewable status: needs platform reviewer assigned, needs at least two assigned reviewers, labeled "do not merge" (waiting on @rpoyner-tri and @zachfang)

a discussion (no related file):

Previously, jwnimmer-tri (Jeremy Nimmer) wrote…

Working

Double-checking the deprecation shims via Anzu testing.

Done -(status: do not merge).


Copy link
Contributor

@rpoyner-tri rpoyner-tri left a comment

Choose a reason for hiding this comment

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

Reviewed 12 of 14 files at r2, 3 of 4 files at r3, 1 of 1 files at r4, 1 of 1 files at r5, all commit messages.
Reviewable status: LGTM missing from assignee rpoyner-tri(platform) (waiting on @zachfang)

Copy link
Contributor

@rpoyner-tri rpoyner-tri left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! all discussions resolved, LGTM from assignees rpoyner-tri(platform),zachfang (waiting on @zachfang)

@jwnimmer-tri jwnimmer-tri merged commit a0d605d into RobotLocomotion:master May 12, 2022
@jwnimmer-tri jwnimmer-tri deleted the render-vtk branch May 12, 2022 19:03
aykut-tri pushed a commit to aykut-tri/drake that referenced this pull request May 27, 2022
…on#17169)

Deprecate the older paths, and non-factory access to VtkRenderEngine.
aykut-tri pushed a commit to aykut-tri/drake that referenced this pull request Jun 1, 2022
…on#17169)

Deprecate the older paths, and non-factory access to VtkRenderEngine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low release notes: newly deprecated This pull request contains new deprecations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants