[vtkusers] Flip VTK-Object

Peter Böttcher p.boettcher at anat.vetmed.uni-muenchen.de
Thu Oct 12 08:26:29 EDT 2000


DearVTK-Users!

I am writing a 3D-matching tool in VTK. Scaling, rotation and  and
translation of the object are already implemeted in my tool. Only
mirroring of my object is still left. I don't find any method in vtk,
doing this. I tried to do it myselfe:
float *point = actor->GetMapper()->GetInput()->GetPoint(i);
point[0] = newX;
point[1] = newY;
point[2] = newZ;

The point-coordinates change - but not he 3D-geometry of the object.

Any ideas,

Peter.

--
Dr. Peter Böttcher
|
|-Chirurgische Tierklinik
| Lehrstuhl für Allgemeine und Spezielle Chirurgie, einschließlich
Augenkrankheiten
|
|-Institut für TieranatomieI
|
Ludwig-Maximilians-Universität München
Veterinärstr. 13
D-80539 München
Germany






More information about the vtkusers mailing list