-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPOI.cpp
More file actions
38 lines (27 loc) · 1.26 KB
/
Copy pathPOI.cpp
File metadata and controls
38 lines (27 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*************************************************************************
POI - description
-------------------
authors : Laurent Francioli
copyright : Institut universitaire romand de Sante au Travail
University of Geneva (UniGe)
*************************************************************************/
#include "POI.h"
//----------------------------------------------------------------- PUBLIC
//--------------------------------------------------------- Public Methods
void POI::updateMeshSensor(vcg::tri::Allocator<CMeshO>::PointerUpdater<CMeshO::VertexPointer> pu){
if(meshSensor){
pu.Update(meshSensor);
}
}
//--------------------------------------------------- Operator Overloading
//---------------------------------------------- Constructors - destructor
//Create a new date with the current local Date/Time
POI::POI(vcg::Point3<float> coordinates, std::string name):point(coordinates),pointName(name){
receivedUV = 0;
meshSensor = 0;
}
POI::~POI(){
if (receivedUV) delete receivedUV;
}
//---------------------------------------------------------------- PRIVATE
//------------------------------------------------------ Protected Methods