Fork me on GitHub

source: svn/trunk/Utilities/frog/Event_Vertex.h@ 804

Last change on this file since 804 was 585, checked in by cp3-support, 12 years ago

removed old FROG utility

File size: 721 bytes
Line 
1#ifndef _FROG_EVENT_VERTEX_H__
2#define _FROG_EVENT_VERTEX_H__
3
4#include "Base.h"
5
6namespace FROG{
7
8class Event_Vertex : public Base {
9public :
10 float PosX; float PosY; float PosZ; float likelihood;
11
12
13 virtual unsigned int chunkId(){ return 12500;}
14 virtual bool isCompactible(){ return true; }
15
16 Event_Vertex(){}
17 Event_Vertex(float posX, float posY, float posZ, float likeli):
18 PosX(posX), PosY(posY), PosZ(posZ), likelihood(likeli){}
19
20 virtual ByteBuffer writeData(){
21 ByteBuffer toReturn(16);
22 toReturn.putFloat(PosX);
23 toReturn.putFloat(PosY);
24 toReturn.putFloat(PosZ);
25 toReturn.putFloat(likelihood);
26 return toReturn;
27 }
28};
29
30}//FROG Namespace
31#endif
32
Note: See TracBrowser for help on using the repository browser.