PyANGKernel.GKRealDataSetFilter

class GKRealDataSetFilter

A filter for Real Data (Detection).

Details

This class is used to filter the data available in a real data set to load in memory exclusively the relevant information.

A filter can be set by time and/or geographical area.

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
apply(aDateTime, aObject)
Parameters:
Return type:

bool

isValid methods collection

filterByArea()
Return type:

bool

Returns true if the data is filtered by area.

filterByGrouping()
Return type:

bool

Returns true if the data is filtered by grouping

filterByTime()
Return type:

bool

Returns true if the data is filtered by date.

getFromTime()
Return type:

QDateTime

Get the filter for “from time”.

getPolygon()
Return type:

GKPolygon

Returns the filter polygon.

getToTime()
Return type:

QDateTime

Get the filter for “to time”.

groupingToIgnore()
Return type:

GKGroup

Gets the grouping that contains the objects to ignore data from

groupingToRead()
Return type:

GKGroup

Gets the grouping that contains the objects to read data from

isValid(aObject)
Parameters:

aObjectGKObject

Return type:

bool

Returns true if the obj is inside the filtered area. It returns true if we are not filtering by area (any location is OK then).

isValid(atime)
Parameters:

atimeQDateTime

Return type:

bool

Returns true if the data is between the from a to times. It returns true if we are not filtering by data (any date is OK then).

setGroupingToIgnore(aGrouping)
Parameters:

aGroupingGKGroup

Sets the grouping that contains the objects to ignore data from

setGroupingToRead(aGrouping)
Parameters:

aGroupingGKGroup

Sets the grouping that contains the objects to read data from

See also

groupingToRead()

setPolygon(pol)
Parameters:

polGKPolygon

Sets the filter polygon.

setTimes(afrom, ato)
Parameters:

Set the filter times.