On Thu, 2008-03-20 at 14:56 +0100, Despoina Rizou wrote:
>  Sorry if i am not very clear.I mean a new file format.I just create 2
> files one for the object factory 
> and one to read the information from the file. 
>  I want to assign colors locally in my 3D view instead of 
> using the default global color.Is there a related class or function
> where gives to me this opportunity??
> 

First of all: please use the mailing list for questions. This way other
people will also profit (?) from solutions.

Now I guess you speak of vtkPolyData surfaces? Then you will have to
create a lookup table and add a mitk::LookupTableProperty to the
DataTreeNode objects that holds your data object. 

See Steffen Oeltzes mail from March 17th for a short piece of code that
does this.

Daniel

-- 
Dipl.-Inform. Med. Daniel Maleike          Phone: +49 6221 42 2326
Deutsches Krebsforschungszentrum           Im Neuenheimer Feld 280
Medical and Biological Informatics (E130)         69120 Heidelberg


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to