NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
IBackend Class Referenceabstract

2D Scene backend - presents scene layers to the window | widget | texture... (Platform dependent) More...

#include <backend_interface.h>

Inheritance diagram for IBackend:
ISDKProperties

Public Member Functions

virtual BackendType SDK_CALLTYPE GetType () const =0 throw ()
 Returns backend type (Window/Texture)
 
virtual GraphicContextType SDK_CALLTYPE GetGCType () const =0 throw ()
 Returns graphic context type.
 
virtual SDKResult SDK_CALLTYPE GetGraphicContext (IGraphicContextSP &context)=0 throw ()
 Returns associated graphic context (can absent)
 
virtual SDKResult SDK_CALLTYPE SetViewportParams (const SDKMatrix4X4 &scene_viewport_transform)=0 throw ()
 Sets scene viewport parameters.
 
virtual SDKResult SDK_CALLTYPE StartDraw ()=0 throw ()
 Should be called before Draw* functions.
 
virtual SDKResult SDK_CALLTYPE DrawTexture (const ITextureSP &texture, const SDKRectF2D &bounds, const SDKRectF2D &viewport, const SDKMatrix4X4 &transform, float opacity, const ILayerClippingSP &clipping)=0 throw ()
 Draws texture.
 
virtual SDKResult SDK_CALLTYPE DrawSprites (const ITextureSP &texture, const SDKRectF2D &viewport, const SDKMatrix4X4 *transforms, SDKUInt64 num, const SDKMatrix4X4 &transform, float opacity)=0 throw ()
 Draws sprites list.
 
virtual SDKResult SDK_CALLTYPE FinishDraw ()=0 throw ()
 Should be called after Draw* functions.
 
virtual SDKResult SDK_CALLTYPE CopyBits (const SDKRect2D &rect_to_copy, const TextureFormat &format, const SDKUInt32 &stride_size, const TextureStrideOrder &stride_order, const SDKUInt32 &bits_size, SDKUInt8 *const bits) const =0 throw ()
 Shortcut for getting data from scene backend image. (Synchronized with Draw functions)
 
- Public Member Functions inherited from ISDKProperties
virtual SDKResult SDK_CALLTYPE SetProperty (const SDKPropertyID &id, const SDKAny &value)=0 throw ()
 Sets a property value.
 
virtual SDKResult SDK_CALLTYPE GetProperty (const SDKPropertyID &id, SDKAny &value) const =0 throw ()
 Retrieves a property value.
 

Detailed Description

2D Scene backend - presents scene layers to the window | widget | texture... (Platform dependent)


The documentation for this class was generated from the following file: