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

Dynamic graphics #1087

Merged
merged 7 commits into from
Mar 31, 2021
Merged

Dynamic graphics #1087

merged 7 commits into from
Mar 31, 2021

Conversation

pmconne
Copy link
Member

@pmconne pmconne commented Mar 31, 2021

IModelTileRpcInterface.requestElementGraphics() and IModelDb.generateElementGraphics() can now accept a non-persistent geometry stream from which to generate graphics, instead of a persistent element Id.

Corresponding native PR

@pmconne pmconne requested a review from bbastings March 31, 2021 15:44
@pmconne pmconne marked this pull request as ready for review March 31, 2021 16:42
@pmconne pmconne requested review from a team as code owners March 31, 2021 16:42
@pmconne pmconne merged commit 84d07af into imodel02 Mar 31, 2021
@pmconne pmconne deleted the dynamic-graphics branch March 31, 2021 18:32
pmconne added a commit that referenced this pull request Mar 31, 2021
* Presentation: Reload visible part of hierarchy after iModel changes (#996)

* Update TreeModelNode id when changeNodeId is called

* Avoid removing existing node subtree when nodes are loaded

* Add ability to know rendered nodes in tree

* Reload only visible part of hierarchy when imodel data changes

* Restore presentation-full-stack Update tests

* Adjust visibility trees to changes

* Lint

* rush change

* Move rendered tree items tracking from event handler to tree component

* Simplify hierarchy updates according changes to tree component

* Adjust test apps to presentation-components changes

* Add overscan and visible range to onItemsRendered callback

* Reload visible nodes instead of all rendered

* rush extract-api

* Rush change

* Document breaking change

* Fix typo

* Fix lint

* Dynamic graphics (#1087)

* Generalize ElementGraphicsRequestProps to support non-persistent geometry.

Make element graphics APIs beta and clean them up.

* Default format version to latest.

* category is required; placement omits bounding box.

* 2d vs 3d

* test.

* extract-api

* @bentley/imodeljs-native 2.15.1

* clean up API merge conflicts.

Co-authored-by: Saulius Skliutas <24278440+saskliutas@users.noreply.github.com>
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.

None yet

1 participant