Last change
on this file since 1065 was 585, checked in by cp3-support, 13 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 |
|
---|
6 | namespace FROG{
|
---|
7 |
|
---|
8 | class Event_Vertex : public Base {
|
---|
9 | public :
|
---|
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.