[IGSTK-Users] FW: Cross Hairs Problem
Ashwath Hegde, ERS-HCLTech
Ashwathh at hcl.com
Fri Aug 19 02:52:12 EDT 2011
Hi All,
The problem is fixed.Thanks a lot.
In igstkCrossHairObjectRepresentation.cxx I did the following changes.Earlier I had done changes only for lineMapperX.
Now I did for all the three X,Y,Z and it works fine.
lineMapperX->SetResolveCoincidentTopologyPolygonOffsetParameters(0.5,0.5);
lineMapperY->SetResolveCoincidentTopologyPolygonOffsetParameters(0.5,0.5);
lineMapperZ->SetResolveCoincidentTopologyPolygonOffsetParameters(0.5,0.5);
Thanks a lot for the help.
Regards,
Ashwath.
From: Ashwath Hegde, ERS-HCLTech
Sent: Thursday, July 28, 2011 10:18 AM
To: Vincent Gratsac; Patrick Cheng; sebastian ordas
Subject: Cross Hairs Problem.
Hi All,
I tried the fix mentioned below,
lineMapperX->SetResolveCoincidentTopologyPolygonOffsetParameters(0.5,0.5);
but the problem is still present.
I remove the cross hairs from the 2D Views by using the below code.
m_CrossHair->RequestDetachFromParent();
m_view2DAxial->RequestRemoveObject(m_AxialCrossHairRepresentation);
After that when I keep clicking on the 2D View my 3D image disappears.
I am using the below lines of code for 3D image display.
typedef igstk::ImageSpatialObjectVolumeRepresentation<igstk::CTImageSpatialObject>VolumeRepresentationType;
VolumeRepresentationType::Pointer m_ImageRepresentation3D;
m_ImageRepresentation3D = VolumeRepresentationType::New();
m_ImageRepresentation3D->RequestSetImageSpatialObject(m_ImageSpatialObject);
Is there anything I could do to solve this problem.
Your help is much appreciated.
Thanking in advance,
Ashwath.
From: igstk-users-bounces at public.kitware.com<mailto:igstk-users-bounces at public.kitware.com> [mailto:igstk-users-bounces at public.kitware.com]<mailto:[mailto:igstk-users-bounces at public.kitware.com]> On Behalf Of Vincent Gratsac
Sent: Monday, July 04, 2011 2:24 PM
To: igstk-users at public.kitware.com<mailto:igstk-users at public.kitware.com>
Subject: Re: [IGSTK-Users] Cross Hairs.
Hi,
We found a workaround probably related to your problem :
igstkCrossHairObjectRepresentation.cxx, line 302
lineMapperX->SetResolveCoincidentTopologyPolygonOffsetParameters(0.5,0.5);
This solves the reslice issue we encountered a few months ago (http://www.cmake.org/pipermail/igstk-users/2011-March/001081.html).
I hope this will help !
Best regards,
Vincent
Le 23/06/2011 11:35, Ashwath Hegde, ERS-HCLTech a écrit :
Hi All,
Is there a problem with igstk::CrossHairObjectRepresentation
class in IGSTK4.2 ad 4.4 because I am facing some display problems because of that.
I remove the cross hairs from the view by using the below codes:
m_CrossHair->RequestDetachFromParent();
m_view2DAxial->RequestRemoveObject(m_AxialCrossHairRepresentation);
And try to draw a small ellipse at clicked point on the Axial view.
But it appears on some other slice and not on the current slice.
Has anybody faced such problems before.
I found at below link about the cross hair related display problems in IGSTK 4.2 and 4.4.
http://www.cmake.org/pipermail/igstk-users/2011-March/001081.html
Is my problem because of the above issue in crosshair related classes in IGSTK.
Please suggest me something on this.
Thanking in advance,
Ashwath.
________________________________
::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/igstk-users/attachments/20110819/5a599c24/attachment.htm>
More information about the IGSTK-Users
mailing list