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

Helper class, which allows to create an implementation of IGraphicContextInitialParameters, initialized with appropriate init parameters. More...

#include <scene_initialization_helpers.h>

Inheritance diagram for GraphicContextInitParametersHelper:
IGraphicContextInitialParameters ISDKParameters

Static Public Member Functions

static SDKResult CreateGraphicContextInitialParametersForAutoType (sdk::vis::scene::IGraphicContextInitialParametersSP &init_params) throw ()
 Creates graphics context initial parameters for kGraphicContextType_Auto type.
 
static SDKResult CreateGraphicContextInitialParametersForAutoType (const sdk::gfx::OSWindow &window, sdk::vis::scene::IGraphicContextInitialParametersSP &init_params) throw ()
 Creates graphic context initial parameters for kGraphicContextType_Auto by using specified OS dependent Window handle.
 
static SDKResult CreateGraphicContextInitialParametersForOpenGLType (const sdk::gfx::OpenGLGraphicsDeviceContext &device_context, sdk::vis::scene::IGraphicContextInitialParametersSP &init_params) throw ()
 Creates graphics context initial parameters for kGraphicContextType_DirectX10 type. More...
 
static SDKResult CreateGraphicContextInitialParametersForSoftwareType (sdk::vis::scene::IGraphicContextInitialParametersSP &init_params) throw ()
 Creates graphics context for kGraphicContextType_Software type.
 

Additional Inherited Members

- Public Member Functions inherited from ISDKParameters
virtual SDKResult SDK_CALLTYPE GetParameter (SDKParameterID id, SDKAny &value) const =0 throw ()
 Returns the value of the specified parameter. More...
 
virtual SDKResult SDK_CALLTYPE SetParameter (SDKParameterID id, const SDKAny &value)=0 throw ()
 Sets the value of the specified parameter. More...
 
template<typename T >
SDKResult GetParameterT (SDKParameterID id, T &out_value) const noexcept
 Returns the value of the specified parameter. More...
 
template<typename T >
SDKResult SetParameterT (SDKParameterID id, T new_value) noexcept
 Sets the value of the specified parameter. More...
 

Detailed Description

Helper class, which allows to create an implementation of IGraphicContextInitialParameters, initialized with appropriate init parameters.

Member Function Documentation

◆ CreateGraphicContextInitialParametersForOpenGLType()

static SDKResult CreateGraphicContextInitialParametersForOpenGLType ( const sdk::gfx::OpenGLGraphicsDeviceContext &  device_context,
sdk::vis::scene::IGraphicContextInitialParametersSP &  init_params 
)
throw (
)
static

Creates graphics context initial parameters for kGraphicContextType_DirectX10 type.

Creates graphics context initial parameters for kGraphicContextType_OpenGL type


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