[IGSTK-Developers] CylinderSpatialObjectRepresentation

Patrick Cheng cheng at isis.georgetown.edu
Tue Dec 20 16:36:10 EST 2005


Hi Julien,

I checked out your recent change in the 
CylinderSpatialObjectRepresentation class. Now without setting the 
rotation part of the CalibrationTransform, the orientation of the 
CylinderObject will be correct, but with one little bug, in line 152 
(igstkCylinderObjectRepresentation.cxx)
cylinderActor->SetPosition(0,0,-m_CylinderSpatialObject->GetHeight()/2.0);
There should be no '-' sign. I tested it in the application.

One quick question: If we can just change the transform when we create 
the actor, what do we need the PrincipalAxisCalibration for?

Patrick

-- 
Peng (Patrick) Cheng
Software Engineer
cheng at isis.georgetown.edu

Imaging Science and Information Systems (ISIS) Center
Department of Radiology, Georgetown University Medical Center
2115 Wisconsin Avenue, Suite 603
Washington, DC, 20007

Work phone: 202-687-2902
Work fax:   202-784-3479
Cell phone: 202-674-5626



More information about the IGSTK-Developers mailing list