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

#include <Scene.h>

Public Member Functions

void calcAveragePositionForEachObject ()
 
void calcPresenceInSceneForEachObject ()
 
void displayStats ()
 
std::string const getDbName ()
 
void getNumberSet ()
 
void getObjectAverageDistance ()
 
void getObjectFromDb ()
 
std::unordered_map< std::string, ObjectSharedPointer > const getObjectMap ()
 
std::string const getSceneName ()
 
void normalize ()
 
void publishLogs (std::string filePath)
 
void rank ()
 
 Scene ()
 
 Scene (std::string dbName, std::string sceneName, int rankingMethodEntry, double alphaEntry, double betaEntry, double gammaEntry)
 
virtual ~Scene ()
 

Private Attributes

double Alpha
 
double Beta
 
std::string DbName
 
double Gamma
 
std::unordered_map< std::string, ObjectSharedPointerObjectMap
 
int RankingMethod
 
std::string SceneName
 
int SceneObjectsCount
 

Detailed Description

Definition at line 33 of file Scene.h.

Constructor & Destructor Documentation

Scene::Scene ( )

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 20 of file Scene.cpp.

Scene::Scene ( std::string  dbName,
std::string  sceneName,
int  rankingMethodEntry,
double  alphaEntry,
double  betaEntry,
double  gammaEntry 
)

Definition at line 31 of file Scene.cpp.

Scene::~Scene ( )
virtual

Definition at line 37 of file Scene.cpp.

Member Function Documentation

void Scene::calcAveragePositionForEachObject ( )

Definition at line 143 of file Scene.cpp.

void Scene::calcPresenceInSceneForEachObject ( )

Definition at line 184 of file Scene.cpp.

void Scene::displayStats ( )

Definition at line 201 of file Scene.cpp.

std::string const Scene::getDbName ( )
inline

Definition at line 50 of file Scene.h.

void Scene::getNumberSet ( )

Definition at line 107 of file Scene.cpp.

void Scene::getObjectAverageDistance ( )

Definition at line 152 of file Scene.cpp.

void Scene::getObjectFromDb ( )

Definition at line 41 of file Scene.cpp.

std::unordered_map<std::string,ObjectSharedPointer> const Scene::getObjectMap ( )
inline

Definition at line 51 of file Scene.h.

std::string const Scene::getSceneName ( )
inline

Definition at line 49 of file Scene.h.

void Scene::normalize ( )

Definition at line 211 of file Scene.cpp.

void Scene::publishLogs ( std::string  filePath)

Definition at line 271 of file Scene.cpp.

void Scene::rank ( )

Definition at line 263 of file Scene.cpp.

Member Data Documentation

double Scene::Alpha
private

Definition at line 40 of file Scene.h.

double Scene::Beta
private

Definition at line 41 of file Scene.h.

std::string Scene::DbName
private

Definition at line 36 of file Scene.h.

double Scene::Gamma
private

Definition at line 42 of file Scene.h.

std::unordered_map<std::string,ObjectSharedPointer> Scene::ObjectMap
private

Definition at line 35 of file Scene.h.

int Scene::RankingMethod
private

Definition at line 39 of file Scene.h.

std::string Scene::SceneName
private

Definition at line 37 of file Scene.h.

int Scene::SceneObjectsCount
private

Definition at line 38 of file Scene.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