Implement
IPointerFactory: has a createPointer/destroyPointer method. Add this to
Pointer.h
ImagePointerFactory/ImagePointer/ImagePointerRenderable add to omegalib, basic
pointer factory for creating image-based pointers.
- Add
Engine.setPointerFactory method. If set to NULL go back to standard pointer.
- Register
Engine.setPointerFactory, ImagePointerFactory and (if needed) IPointerFactory
to python.
Pointer factory can be added through a script or through config file using the
config-based module creation system:
modules:
{
imagePointer: { class="ImagePointerFactory"; image="foo.png" };
}
or, if we implement #136
modules:
{
ImagePointerFactory: { image="foo.png" };
}
NOTE ImagePointerFactory will need a static create method taking a module
name string to work with this. create will also take care of setting up stuff
based on the configuration entry.
Implement
IPointerFactory: has acreatePointer/destroyPointermethod. Add this toPointer.h
ImagePointerFactory/ImagePointer/ImagePointerRenderableadd to omegalib, basicpointer factory for creating image-based pointers.
Engine.setPointerFactorymethod. If set to NULL go back to standard pointer.Engine.setPointerFactory,ImagePointerFactoryand (if needed)IPointerFactoryto python.
Pointer factory can be added through a script or through config file using the
config-based module creation system:
or, if we implement #136
NOTE ImagePointerFactory will need a static
createmethod taking a modulename string to work with this. create will also take care of setting up stuff
based on the configuration entry.