#include <BCoordinateTransformer.h>

Public Member Functions | |
| BCoordinateTransformer (const BCoordSysPtr &pTargCS) | |
| Constructs a BCoordinateTransformer to transform coordinates to the specified target BCoordSys. | |
| BCoordinateTransformer () | |
| Default constructor. | |
| virtual bool | Get2DTransform (void) const |
| Indicates if this is a two-dimensional transformer. | |
| virtual const BCoordTransformSettings & | GetCoordTransformSettings (void) const |
| Get the settings and options that will be used during coordinate transformation. | |
| virtual const BCoordSysPtr | GetTargetCoordSys (void) const |
| Gets the BCoordSys to which coordinates will be transformed. | |
| virtual bool | HasCoordSys (void) const |
| Indicates whether or not a target BCoordSys has been defined for this BCoordinateTransformer. | |
| virtual bool | Process (void)=0 |
| Processes the coordinates in the BLayer by transforming them to the target coordinate system. | |
| virtual void | Set2DTransform (bool transform2d) |
| Specifies if this is a two-dimensional transformer. | |
| virtual void | SetCoordTransformSettings (const BCoordTransformSettings &settings) |
| Provide the settings and options that will be used during coordinate transformation. | |
| virtual void | SetTargetCoordSys (const BCoordSysPtr &pTargCS) |
| Sets the BCoordSys to which coordinates will be transformed. | |
Protected Attributes | |
| bool | m_2DTransform |
| Indicates if this is a two-dimensional transformer. | |
| BCoordSysPtr | m_pTargetCoordSys |
| The coordinate system into which the coordinates will be transformed. | |
| BCoordTransformSettings | m_settings |
| Settings and options required to perform a coordinate transformation. | |
| BCoordinateTransformer | ( | ) | [inline] |
Default constructor.
This constructor will construct an empty BCoordinateTransformer.
| BCoordinateTransformer | ( | const BCoordSysPtr & | pTargCS | ) | [inline] |
Constructs a BCoordinateTransformer to transform coordinates to the specified target BCoordSys.
| pTargCS | The target coordinate system. |
| virtual bool Get2DTransform | ( | void | ) | const [inline, virtual] |
Indicates if this is a two-dimensional transformer.
A two-dimensional transformer offers a distinct performance advantage over a three-dimensional transformer.
| virtual const BCoordTransformSettings& GetCoordTransformSettings | ( | void | ) | const [inline, virtual] |
Get the settings and options that will be used during coordinate transformation.
| virtual const BCoordSysPtr GetTargetCoordSys | ( | void | ) | const [inline, virtual] |
| virtual bool HasCoordSys | ( | void | ) | const [inline, virtual] |
Indicates whether or not a target BCoordSys has been defined for this BCoordinateTransformer.
| virtual bool Process | ( | void | ) | [pure virtual] |
Processes the coordinates in the BLayer by transforming them to the target coordinate system.
Implements BLayerProcessor.
Implemented in BVectorTransformer.
| virtual void Set2DTransform | ( | bool | transform2d | ) | [inline, virtual] |
Specifies if this is a two-dimensional transformer.
A two-dimensional transformer offers a distinct performance advantage over a three-dimensional transformer.
| transform2d | A boolean value indicating if this BCoordinateTransformer shall be a two-dimensional transformer. A value of true indicates a two- dimensional transformer and a value of three indicates a three-dimensional transformer. |
| virtual void SetCoordTransformSettings | ( | const BCoordTransformSettings & | settings | ) | [inline, virtual] |
Provide the settings and options that will be used during coordinate transformation.
| settings | The settings and options used during coordinate transformation |
| virtual void SetTargetCoordSys | ( | const BCoordSysPtr & | pTargCS | ) | [inline, virtual] |
Sets the BCoordSys to which coordinates will be transformed.
| pTargCS | The target coordinate system. |
bool m_2DTransform [protected] |
Indicates if this is a two-dimensional transformer.
If this is set to true, then only x and y coordinates will be transformed. Z coordinate data will be ignored if present.
BCoordSysPtr m_pTargetCoordSys [protected] |
The coordinate system into which the coordinates will be transformed.
BCoordTransformSettings m_settings [protected] |
Settings and options required to perform a coordinate transformation.