Hi, I have a point cloud, that i'm working on:
Is it possible to move the axis so they meet in like.... the center point? I basically want all of the axis to go through the 0, 0, 0 point.
Possible?
view3d move the axis to be centered around 0, 0, 0?
Moderator: Queue Moderators
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: view3d move the axis to be centered around 0, 0, 0?
Hi Greg,
Unfortunately it is not possible.
The axes can be positioned in 3D model box corners. Use Location property of an axis to adjust that.
* For X axis, the Location options are: BottomFront, BottomBack, TopFront and TopBack.
* For Y axis, the Location options are: FrontLeft, FrontRight, BackLeft and BackRight.
* For Z axis, the Location options are: BottomLeft, BottomRight, TopLeft and TopRight.
The closest thing you could get is to use transparent planes, as in our Demo app example "Surface mouse control" Or use Annotation arrow-style with Target-/Location-CoordinateSystem set to AxisValues.
All the best.
Unfortunately it is not possible.
The axes can be positioned in 3D model box corners. Use Location property of an axis to adjust that.
* For X axis, the Location options are: BottomFront, BottomBack, TopFront and TopBack.
* For Y axis, the Location options are: FrontLeft, FrontRight, BackLeft and BackRight.
* For Z axis, the Location options are: BottomLeft, BottomRight, TopLeft and TopRight.
The closest thing you could get is to use transparent planes, as in our Demo app example "Surface mouse control" Or use Annotation arrow-style with Target-/Location-CoordinateSystem set to AxisValues.
All the best.
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
Re: view3d move the axis to be centered around 0, 0, 0?
We might go with the plane approach, I'm not quite sure. Will have to readress at a later time, thanks for the help.
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: view3d move the axis to be centered around 0, 0, 0?
Hi Greg,
There are one more option: you could use Annotation3D's TargetCrosshair. The code may look like this
The outcome is following
All the best.
There are one more option: you could use Annotation3D's TargetCrosshair. The code may look like this
Code: Select all
PointDoubleXYZ fCenterCoord = new PointDoubleXYZ(null, 0f, 0f, 0f);
Annotation3D targetCrosshairs = new Annotation3D(chart.View3D, Axis3DBinding.Primary, Axis3DBinding.Primary, Axis3DBinding.Primary);
targetCrosshairs.Style = AnnotationStyle.Arrow;
targetCrosshairs.LocationCoordinateSystem = CoordinateSystem.AxisValues;
targetCrosshairs.TargetCoordinateSystem = AnnotationTargetCoordinates.AxisValues;
targetCrosshairs.LocationAxisValues = fCenterCoord;
targetCrosshairs.TargetAxisValues = fCenterCoord;
targetCrosshairs.MouseInteraction = false;
targetCrosshairs.ShowTargetCrosshair = TargetCrossHair.On;
targetCrosshairs.TargetCrosshairLineStyle.Color = Color.BlueViolet;
targetCrosshairs.ArrowLineStyle.Width = 5f;
targetCrosshairs.ArrowLineStyle.Color = Color.Yellow;
targetCrosshairs.TextStyle.Visible = false;
chart.View3D.Annotations.Add(targetCrosshairs);
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
Re: view3d move the axis to be centered around 0, 0, 0?
Just got back from vacation, thanks for the update! This line drawing should work perfectly