Rise
The Vieneo Province
Loading...
Searching...
No Matches
StreetMapProjection Struct Reference

#include <StreetMapProjection.h>

Collaboration diagram for StreetMapProjection:
[legend]

Classes

struct  Point
struct  Rectangle

Public Member Functions

Point TextureToScreen (Point position) const
Point OverlayToScreen (Point texturePosition) const
void CenterOverlays (float vehicleCenterX, float roadCorrectionPixels)
Point WorldToScreen (Point position) const

Static Public Member Functions

static Point WorldToTexture (Point position)

Public Attributes

int x = 0
int y = 0
int width = 0
int height = 0
float magnification = 1.0f
float bitmapOffsetX = 0.0f
float overlayOffsetX = 0.0f
Point centerTexture
Rectangle source
bool valid = false

Detailed Description

Definition at line 6 of file StreetMapProjection.h.

Member Function Documentation

◆ CenterOverlays()

void StreetMapProjection::CenterOverlays ( float vehicleCenterX,
float roadCorrectionPixels )
inline

Definition at line 47 of file StreetMapProjection.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OverlayToScreen()

Point StreetMapProjection::OverlayToScreen ( Point texturePosition) const
inline

Definition at line 40 of file StreetMapProjection.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TextureToScreen()

Point StreetMapProjection::TextureToScreen ( Point position) const
inline

Definition at line 34 of file StreetMapProjection.h.

Here is the caller graph for this function:

◆ WorldToScreen()

Point StreetMapProjection::WorldToScreen ( Point position) const
inline

Definition at line 58 of file StreetMapProjection.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WorldToTexture()

Point StreetMapProjection::WorldToTexture ( Point position)
inlinestatic

Definition at line 27 of file StreetMapProjection.h.

Here is the caller graph for this function:

Member Data Documentation

◆ bitmapOffsetX

float StreetMapProjection::bitmapOffsetX = 0.0f

Definition at line 21 of file StreetMapProjection.h.

◆ centerTexture

Point StreetMapProjection::centerTexture

Definition at line 23 of file StreetMapProjection.h.

◆ height

int StreetMapProjection::height = 0

Definition at line 19 of file StreetMapProjection.h.

◆ magnification

float StreetMapProjection::magnification = 1.0f

Definition at line 20 of file StreetMapProjection.h.

◆ overlayOffsetX

float StreetMapProjection::overlayOffsetX = 0.0f

Definition at line 22 of file StreetMapProjection.h.

◆ source

Rectangle StreetMapProjection::source

Definition at line 24 of file StreetMapProjection.h.

◆ valid

bool StreetMapProjection::valid = false

Definition at line 25 of file StreetMapProjection.h.

◆ width

int StreetMapProjection::width = 0

Definition at line 19 of file StreetMapProjection.h.

◆ x

int StreetMapProjection::x = 0

Definition at line 19 of file StreetMapProjection.h.

◆ y

int StreetMapProjection::y = 0

Definition at line 19 of file StreetMapProjection.h.


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