[IGSTK-Users] Cross Hairs.

Ashwath Hegde, ERS-HCLTech Ashwathh at hcl.com
Tue Jul 19 07:31:50 EDT 2011


Hi,

The problem I mentioned 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 click on the 2D Views and draw a small ellipse on the 2D View and the 3D model my 3D Model disappears.
I am using the below lines of code for 3D Model 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.
Please suggest.

Thanking in advance,
Ashwath.


From: igstk-users-bounces at public.kitware.com [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
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/20110719/ef231632/attachment.html>


More information about the IGSTK-Users mailing list