Public Member Functions | Private Attributes | List of all members
Object Class Reference

#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< ObjectPointSharedPointerPointList
 
double PosVar
 
double PresenceInScene
 
int RankingMethod
 
double rankValue
 

Detailed Description

Definition at line 30 of file Object.h.

Constructor & Destructor Documentation

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:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

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.

Object::~Object ( )
virtual

Definition at line 50 of file Object.cpp.

Member Function Documentation

void Object::AddDistance ( double  d)
inline

Definition at line 73 of file Object.h.

void Object::AddPoint ( ObjectPointSharedPointer  p)
inline

Definition at line 72 of file Object.h.

void Object::AverageDistance ( )
inline

Definition at line 74 of file Object.h.

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.

ObjectPointSharedPointer Object::getAverage ( ) const
inline

Definition at line 54 of file Object.h.

double Object::getAverageDistanceToOtherObjects ( ) const
inline

Definition at line 60 of file Object.h.

double Object::getNormalizedAverageDistanceToOtherObjects ( )
inline

Definition at line 63 of file Object.h.

double Object::getNormalizedPosVar ( )
inline

Definition at line 62 of file Object.h.

std::string Object::getObjectName ( ) const
inline

Definition at line 58 of file Object.h.

int Object::getObjetsCount ( ) const
inline

Definition at line 57 of file Object.h.

std::string Object::getObservedId ( ) const
inline

Definition at line 59 of file Object.h.

ObjectPointSharedPointer Object::getPoint ( int  i) const
inline

Definition at line 56 of file Object.h.

double Object::getPosVar ( ) const
inline

Definition at line 55 of file Object.h.

double Object::getRankValue ( ) const
inline

Definition at line 61 of file Object.h.

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.

void Object::setNormalizedAverageDistanceToOtherObjects ( double  value)
inline

Definition at line 68 of file Object.h.

void Object::setNormalizedPosVar ( double  value)
inline

Definition at line 67 of file Object.h.

void Object::setPresenceInScene ( double  presence)
inline

Definition at line 66 of file Object.h.

Member Data Documentation

double Object::Alpha
private

Definition at line 43 of file Object.h.

ObjectPointSharedPointer Object::Average
private

Definition at line 34 of file Object.h.

double Object::AverageDistanceToOtherObjects
private

Definition at line 38 of file Object.h.

double Object::Beta
private

Definition at line 44 of file Object.h.

double Object::Gamma
private

Definition at line 45 of file Object.h.

double Object::NormalizedAverageDistanceToOtherObjects
private

Definition at line 41 of file Object.h.

double Object::NormalizedPosVar
private

Definition at line 40 of file Object.h.

std::string Object::ObjectName
private

Definition at line 32 of file Object.h.

int Object::ObjectsCount
private

Definition at line 35 of file Object.h.

std::string Object::ObservedId
private

Definition at line 33 of file Object.h.

std::vector<ObjectPointSharedPointer> Object::PointList
private

Definition at line 46 of file Object.h.

double Object::PosVar
private

Definition at line 37 of file Object.h.

double Object::PresenceInScene
private

Definition at line 39 of file Object.h.

int Object::RankingMethod
private

Definition at line 36 of file Object.h.

double Object::rankValue
private

Definition at line 42 of file Object.h.


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


asr_intermediate_object_generator
Author(s): Borella Jocelyn, Meißner Pascal
autogenerated on Thu Nov 21 2019 03:53:41