OpenCPN Partial API docs
Loading...
Searching...
No Matches
Select Class Reference

Public Member Functions

void SetSelectPixelRadius (int radius)
 
bool IsSelectableRoutePointValid (RoutePoint *pRoutePoint)
 
bool AddSelectableRoutePoint (float slat, float slon, RoutePoint *pRoutePointAdd)
 
bool AddSelectableRouteSegment (float slat1, float slon1, float slat2, float slon2, RoutePoint *pRoutePointAdd1, RoutePoint *pRoutePointAdd2, Route *pRoute)
 
bool AddSelectableTrackSegment (float slat1, float slon1, float slat2, float slon2, TrackPoint *pTrackPointAdd1, TrackPoint *pTrackPointAdd2, Track *pTrack)
 
SelectItemFindSelection (SelectCtx &ctx, float slat, float slon, int fseltype)
 
SelectableItemList FindSelectionList (SelectCtx &ctx, float slat, float slon, int fseltype)
 
bool DeleteAllSelectableRouteSegments (Route *)
 
bool DeleteAllSelectableTrackSegments (Track *)
 
bool DeleteAllSelectableRoutePoints (Route *)
 
bool AddAllSelectableRouteSegments (Route *pr)
 
bool AddAllSelectableTrackSegments (Track *pr)
 
bool AddAllSelectableRoutePoints (Route *pr)
 
bool UpdateSelectableRouteSegments (RoutePoint *prp)
 
bool DeletePointSelectableTrackSegments (TrackPoint *pt)
 
bool IsSegmentSelected (float a, float b, float c, float d, float slat, float slon)
 
bool IsSelectableSegmentSelected (SelectCtx &ctx, float slat, float slon, SelectItem *pFindSel)
 
SelectItemAddSelectablePoint (float slat, float slon, const void *data, int fseltype)
 
bool DeleteAllPoints (void)
 
bool DeleteSelectablePoint (void *data, int SeltypeToDelete)
 
bool ModifySelectablePoint (float slat, float slon, void *data, int fseltype)
 
bool DeleteAllSelectableTypePoints (int SeltypeToDelete)
 
bool DeleteSelectableRoutePoint (RoutePoint *prp)
 
SelectableItemList * GetSelectList ()
 

Detailed Description

Definition at line 51 of file select.h.

Constructor & Destructor Documentation

◆ Select()

Select::Select ( )

Definition at line 38 of file select.cpp.

◆ ~Select()

Select::~Select ( )

Definition at line 43 of file select.cpp.

Member Function Documentation

◆ AddAllSelectableRoutePoints()

bool Select::AddAllSelectableRoutePoints ( Route pr)

Definition at line 166 of file select.cpp.

◆ AddAllSelectableRouteSegments()

bool Select::AddAllSelectableRouteSegments ( Route pr)

Definition at line 180 of file select.cpp.

◆ AddAllSelectableTrackSegments()

bool Select::AddAllSelectableTrackSegments ( Track pr)

Definition at line 211 of file select.cpp.

◆ AddSelectablePoint()

SelectItem * Select::AddSelectablePoint ( float  slat,
float  slon,
const void *  data,
int  fseltype 
)

Definition at line 265 of file select.cpp.

◆ AddSelectableRoutePoint()

bool Select::AddSelectableRoutePoint ( float  slat,
float  slon,
RoutePoint pRoutePointAdd 
)

Definition at line 65 of file select.cpp.

◆ AddSelectableRouteSegment()

bool Select::AddSelectableRouteSegment ( float  slat1,
float  slon1,
float  slat2,
float  slon2,
RoutePoint pRoutePointAdd1,
RoutePoint pRoutePointAdd2,
Route pRoute 
)

Definition at line 86 of file select.cpp.

◆ AddSelectableTrackSegment()

bool Select::AddSelectableTrackSegment ( float  slat1,
float  slon1,
float  slat2,
float  slon2,
TrackPoint pTrackPointAdd1,
TrackPoint pTrackPointAdd2,
Track pTrack 
)

Definition at line 386 of file select.cpp.

◆ DeleteAllSelectableRoutePoints()

bool Select::DeleteAllSelectableRoutePoints ( Route pr)

Definition at line 130 of file select.cpp.

◆ DeleteAllSelectableRouteSegments()

bool Select::DeleteAllSelectableRouteSegments ( Route pr)

Definition at line 109 of file select.cpp.

◆ DeleteAllSelectableTrackSegments()

bool Select::DeleteAllSelectableTrackSegments ( Track pt)

Definition at line 409 of file select.cpp.

◆ DeleteAllSelectableTypePoints()

bool Select::DeleteAllSelectableTypePoints ( int  SeltypeToDelete)

Definition at line 318 of file select.cpp.

◆ DeletePointSelectableTrackSegments()

bool Select::DeletePointSelectableTrackSegments ( TrackPoint pt)

Definition at line 429 of file select.cpp.

◆ DeleteSelectablePoint()

bool Select::DeleteSelectablePoint ( void *  data,
int  SeltypeToDelete 
)

Definition at line 290 of file select.cpp.

◆ DeleteSelectableRoutePoint()

bool Select::DeleteSelectableRoutePoint ( RoutePoint prp)

Definition at line 346 of file select.cpp.

◆ FindSelection()

SelectItem * Select::FindSelection ( SelectCtx ctx,
float  slat,
float  slon,
int  fseltype 
)

Definition at line 515 of file select.cpp.

◆ FindSelectionList()

SelectableItemList Select::FindSelectionList ( SelectCtx ctx,
float  slat,
float  slon,
int  fseltype 
)

Definition at line 602 of file select.cpp.

◆ GetSelectList()

SelectableItemList * Select::GetSelectList ( )
inline

Definition at line 102 of file select.h.

◆ IsSegmentSelected()

bool Select::IsSegmentSelected ( float  a,
float  b,
float  c,
float  d,
float  slat,
float  slon 
)

Definition at line 450 of file select.cpp.

◆ IsSelectableRoutePointValid()

bool Select::IsSelectableRoutePointValid ( RoutePoint pRoutePoint)

Definition at line 49 of file select.cpp.

◆ IsSelectableSegmentSelected()

bool Select::IsSelectableSegmentSelected ( SelectCtx ctx,
float  slat,
float  slon,
SelectItem pFindSel 
)

Definition at line 563 of file select.cpp.

◆ ModifySelectablePoint()

bool Select::ModifySelectablePoint ( float  slat,
float  slon,
void *  data,
int  fseltype 
)

Definition at line 364 of file select.cpp.

◆ SetSelectPixelRadius()

void Select::SetSelectPixelRadius ( int  radius)
inline

Definition at line 56 of file select.h.

◆ UpdateSelectableRouteSegments()

bool Select::UpdateSelectableRouteSegments ( RoutePoint prp)

Definition at line 236 of file select.cpp.


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