#include <Object.h>
Public Member Functions | |
void | AddDistance (double d) |
void | AddPoint (ObjectPointSharedPointer p) |
void | AverageDistance () |
void | CalcAveragePos () |
void | CalcPosVar () |
void | DisplayStats () |
ObjectPointSharedPointer | getAverage () const |
double | getAverageDistanceToOtherObjects () const |
double | getNormalizedAverageDistanceToOtherObjects () |
double | getNormalizedPosVar () |
std::string | getObjectName () const |
int | getObjetsCount () const |
std::string | getObservedId () const |
ObjectPointSharedPointer | getPoint (int i) const |
double | getPosVar () const |
double | getRankValue () const |
Object () | |
Object (std::string objectName, std::string observedId, int rankingMethodEntry, double alphaEntry, double betaEntry, double gammaEntry) | |
void | publishLogs (std::string filePath) |
void | rank () |
void | setNormalizedAverageDistanceToOtherObjects (double value) |
void | setNormalizedPosVar (double value) |
void | setPresenceInScene (double presence) |
virtual | ~Object () |
Private Attributes | |
double | Alpha |
ObjectPointSharedPointer | Average |
double | AverageDistanceToOtherObjects |
double | Beta |
double | Gamma |
double | NormalizedAverageDistanceToOtherObjects |
double | NormalizedPosVar |
std::string | ObjectName |
int | ObjectsCount |
std::string | ObservedId |
std::vector< ObjectPointSharedPointer > | PointList |
double | PosVar |
double | PresenceInScene |
int | RankingMethod |
double | rankValue |
Object::Object | ( | ) |
Copyright (c) 2016, Borella Jocelyn, Meißner Pascal All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition at line 21 of file Object.cpp.
Object::Object | ( | std::string | objectName, |
std::string | observedId, | ||
int | rankingMethodEntry, | ||
double | alphaEntry, | ||
double | betaEntry, | ||
double | gammaEntry | ||
) |
Definition at line 37 of file Object.cpp.
|
virtual |
Definition at line 50 of file Object.cpp.
|
inline |
void Object::CalcAveragePos | ( | ) |
Definition at line 55 of file Object.cpp.
void Object::CalcPosVar | ( | ) |
Definition at line 72 of file Object.cpp.
void Object::DisplayStats | ( | ) |
Definition at line 108 of file Object.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
void Object::publishLogs | ( | std::string | filePath | ) |
Definition at line 121 of file Object.cpp.
void Object::rank | ( | ) |
Definition at line 95 of file Object.cpp.
|
inline |
|
private |
|
private |
|
private |