Represents a composite Transform composed of other Transform objects.
Questions tagged [transformgroup]
7 questions
2
votes
0 answers
WPF RotateTransform behaviour is wierd
I have a canvas which i want to rotate and translate. I am using RotateTransform and TranslateTransform combined in a TransformGroup.
I want to do the following steps with these transforms:
Rotate canvas with some angle.
Translate my canvas to some…

nadeem
- 43
- 4
1
vote
1 answer
How to apply multiple rotations with different angles?
I'm trying to rotate a few cylinders on the z-axis 90 degrees and then each on the y-axis at varying degrees. My problem is that using the setRotation function only allows me to pick one angle but apply it to multiple axes. If I add another…

user2872777
- 99
- 2
- 11
1
vote
0 answers
Getting a reference to the main parent of a group - Java3D
I have the following code for capturing mouse clicks in Java3D. I am hoping to eventually be able to click on an object in my scene and move it around with the mouse.
public void mouseClicked(MouseEvent e)
{
pickCanvas.setShapeLocation(e);
…

TomSelleck
- 6,706
- 22
- 82
- 151
0
votes
0 answers
How to calculate the correct position when TransformGroup combines ScaleTransform, RotateTransform, and TranslateTransform simultaneously
when my TransformGroup combines ScaleTransform, RotateTransform, and TranslateTransform simultaneously, it is required that the image can be moved, rotated with the center of the image as the rotation center, and scaled with the mouse position as…

destiny
- 1
0
votes
1 answer
Changing starting angle and direction of a custom doughnut chart
I'm trying to create a doughnut chart in WPF and using this helpful previous answer.
However, currently the StartAngle starts from the 3 o'clock position e.g.
How can I change this code so that the StartAngle starts from the 12 o'clock position and…

Bhav
- 1,957
- 7
- 33
- 66
0
votes
1 answer
Transformation does not work correctly
Here is my code which rotates my object. I have to rotate two same type of objects.
initialization:
private TransformGroup trGrp;
private RotateTransform trRot;
private TransformGroup trGrp1;
private RotateTransform…

Rafay Zia Mir
- 2,116
- 6
- 23
- 49
0
votes
1 answer
Weird transform behavior with Images in WPF ListView
I've got a DataGrid with multiple columns. In one of the inner columns, I am displaying an image. This image needs to be rotated, so I used a TransformGroup to scale and rotate the image as needed.
If I do no rotate, using the following XAML, the…

Dave
- 14,618
- 13
- 91
- 145