Hi All, In my application I am trying to import a set of data that has a hierarchical structure. Let's say we have a "Container" node and many "DataNode" under it.
Currently when I read in my data the mitk::DataNodeFactory will put all my data objects into individual data nodes that are at the same level (topmost) of the data storage. As I checked in MITK it is hard coded to use the mitk::DataNodeFactory in every occasion to import data. However it would nicer if I could customize this DataNodeFactory by overriding some of its methods. So the suggestion is to create a DataNodeFactory factory, that instantiates a preferred application specific factory. This way the application level I could register my own type of DataNodeFactory and the system would use this whenever it is required to load data (and stuff it to a datanode). Does this sound reasonable? Cheers, Gergely ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
