With PointGeometryModel3D in SharpDX how do I update a single point ?
See original GitHub issueHi. With the code below I can display my cloudpoint on wpf,
var cloudpoints = new PointGeometryModel3D { Color = Colors.White, Size = new Size(1, 1) }; cloudpoints.Geometry = new PointGeometry3D() { Positions = MY_POINTS, Indices = MY_IDS }; viewport.Items.Add(cloudpoints);
Then I can update the cloud point by reassign all positions :
cloudpoints.Geometry.Positions = MY_NEW_POINTS
But is it posible to update Z value for only one of points in MY_POINTS?
Thank you !
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
How to display PointGeometryModel3D using Helix.Toolkit. ...
I have a problem displaying a 3D pointcloud in my WPF application. I want to display the corner points of a 2x2x2 box,...
Read more >Jins/helix-toolkit
Upgrade minimum Windows SDK version to 10.0.17763 on shader builder project. (Required by Visual Studio 2019). Fixed. Fixed single point hit test in...
Read more >Announcements · Helix Toolkit
Unify dependency property types. All WPF.SharpDx model's dependency properties are using class under System.Windows.Media. Such as Vector3D and ...
Read more >PointGeometryModel3D, HelixToolkit.Wpf.SharpDX ...
public static GeometryModel3D[] GetModels(NViewMatch nvm) { List<GeometryModel3D> models = new List<GeometryModel3D>(); foreach (var cameraPosition in nvm.
Read more >Announcements · Helix Toolkit
TextureModel with same Guid will be treated as same texture.(WPF.SharpDX/UWP/Core); Aggregate hit test function parameters into single hit test context.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmm, maybe some event is not being hook up properly. You can keep the this open, I will do some debugging later.
Fixed. Also make sure to call
Geometry3D.UpdateBounds
if necessary, otherwise the bound may not match the model after updating vertices.