[Ves] vesMapper ScalarVisibiltyOff()?

Wright James (NHS Greater Glasgow & Clyde) jamie.wright at nhs.net
Sun Aug 17 01:36:07 EDT 2014


To answer my own question in part. To remove the blue coloring it was a case of going into the pointdata of the polydata object and calling RemoveArray() on the scalar array.

I am still unaware if there is a VES option to turn the scalar visibility off

Jamie Wright | Clinical Scientist | Nuclear Medicine | NHSGGC (Southern General and Glasgow Royal Infirmary)
jamie.wright at nhs.net
________________________________________
From: Ves [ves-bounces at public.kitware.com] On Behalf Of Wright James (NHS Greater Glasgow & Clyde) [jamie.wright at nhs.net]
Sent: 16 August 2014 19:32
To: ves at public.kitware.com
Subject: [Ves] vesMapper ScalarVisibiltyOff()?

---
This message was sent from an email address external to NHSmail but gives the appearance of being from an NHSmail (@nhs.net) address. The recipient should verify the sender and content before acting upon information contained within.

The identified sender is ves-bounces at public.kitware.com
---
Dear All,

I am attempting to show a vtkPolyData surface in an app I have created. However whenever I load in and render a .vtp file the polydata surface is colored blue, and I cannot set the color using the vesKiwiPolyDataRepresentation::SetColor() method. When this occurs in standard VTK it is because the scalar visibilty is on and vtkMapper->ScalarVisibilityOff() solves the issue. There does not seem to be a similar flag in vesMapper though. Can anyone direct me to where I need to set/unset a flag. I notice that one of the included datasets with the Kiwiviewer app, the visible-woman-hand.vtp has a white (or no lookup table set) color, so do we have to include some metadata in the .vtp files?

thanks, Jamie


********************************************************************************************************************

This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere

********************************************************************************************************************
_______________________________________________
Ves mailing list
Ves at public.kitware.com
http://public.kitware.com/mailman/listinfo/ves


********************************************************************************************************************

This message may contain confidential information. If you are not the intended recipient please inform the
sender that you have received the message in error before deleting it.
Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents:
to do so is strictly prohibited and may be unlawful.

Thank you for your co-operation.

NHSmail is the secure email and directory service available for all NHS staff in England and Scotland
NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients
NHSmail provides an email address for your career in the NHS and can be accessed anywhere

********************************************************************************************************************



More information about the Ves mailing list