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

2D geometry path factory interface which allows creating an instance of the 2D Geometry path object. More...

#include <2d_geometry_path_factory_interface.h>

Inherits ISDKComponent.

Public Member Functions

virtual SDKResult SDK_CALLTYPE SetMultiThreadedSupport (bool is_multithreaded_usage)=0 throw ()
 Sets the flag state, which allows to use the objects from multi-threaded environment. The value can be changed only if no geometry path objects created so far.
 
virtual SDKResult SDK_CALLTYPE GetMultiThreadedSupport (bool &is_multithreaded_usage) const =0 throw ()
 Returns the multi-threaded support state flag.
 
virtual SDKResult SDK_CALLTYPE ConnectWithRenderTargetFactory (const sdk::gfx::RenderTargetFactorySP &render_target_factory)=0 throw ()
 Connects the given factory with graphics render target factory In case the geometry path will be used as a source data for graphics path i.e. the geometry path will be rendered in future, the internal path object can be shared between geometry and graphics path. This will increase the performance. Example: In case geometry path is based on Direct2D and will be rendered by Direct2D based render target the given method should be called with proper render target factory instance as parameter. In this case no data copying will be performed while constructing the appropriate graphics object from geometry path.
 
virtual SDKResult SDK_CALLTYPE CreateGeometryPath (sdk::geometry::GeometryPathSP &new_path)=0 throw ()
 Creates a new geometry path instance.
 
virtual SDKResult SDK_CALLTYPE CreateInfiniteGeometryPath (sdk::geometry::GeometryPathSP &new_path)=0 throw ()
 Creates a new geometry path with infinite geometry inside Infinite geometry means plane with infinite borders.
 

Detailed Description

2D geometry path factory interface which allows creating an instance of the 2D Geometry path object.


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