HowTo:Call Model and Viewer functionality from scene
From DocR21
RadfScene classes provide functionality for building and operating a scene, which is a base concept for any RADF application. Hence, RadfScene needs to be referenced in every project (except RadfSceneTypes, RadfMath, RadfSerialization) and cannot reference them.
In addition, Model and Viewer functionality are normally implemented in plug-ins, so that no other project can reference them.
Often Model and Viewer functionality are desirable in the scene. For instance, rendering or transforming SceneNode, or serializing its content would be convenient. Such functionality is implemented using Services, which is a concept of exposing viewer and model loader methods (high-level functionality) to a SceneNode (low-level functionality).
All service methods must be defined in compliance with SceneNodeActionDelegate and are managed by ServiceManager. Services are implemented as ViewServices and ModelServices.
An additional benefit from using Services is that those methods can be private and not part of any interface.
Notes
Refer to the SceneNode source for details.
