Hi Susanne, 

which data type does your node hold? If you have a surface, it could be that a 
mitk::MaterialProperty named "material" is set that takes precedence over a 
simple ColorProperty (See 
<http://docs.mitk.org/nightly/mitkSurfaceVtkMapper3D_8cpp-source.html#l00143>)

Do you have QmitkDataManager enabled? You could try to change the color 
property there and see if it has any effect.

Regards, 
 Jochen

---
MSc. Jochen Neuhaus
DKFZ
German Cancer Research Center (Deutsches Krebsforschungszentrum) 
Member of the Helmholtz Association
Division Medical and Biological Informatics E130
Im Neuenheimer Feld 280
D-69120 Heidelberg
Phone: 49-(0)6221-42-2329
Fax: 49-(0)6221-42-2345
E-Mail: [email protected]
Web: http://www.dkfz-heidelberg.de/en/mbi/people/Jochen_Neuhaus.html

Confidentiality Note: This message is intended only for the use of the named 
recipient(s) and may obtain confidential and/or privileged information. If you 
are not the intended recipient, please contact the sender and delete the 
message. Any unauthorized use of the information contained in this message is 
prohibited.


> -----Ursprüngliche Nachricht-----
> Von: Susanne Walter [mailto:[email protected]]
> Gesendet: Freitag, 27. März 2009 16:22
> An: [email protected]
> Betreff: [mitk-users] SetColor
> 
> Hi
> 
> I want to change the color of the data of an mitk::DataTreeNode.
> 
> node->SetColor(0.5,0.5,0.7);
> 
> compiles but has no effect.
> 
> Can you please help?
> 
> 
> 
> _______________________________________________________________________
> DSL zum Nulltarif + 20 Euro Extraprämie bei Online-Bestellung über die
> DSL Freundschaftswerbung! http://dsl.web.de/?ac=OM.AD.AD008K15279B7069a
> 
> 
> -----------------------------------------------------------------------
> -------
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to