26 #include <osg/MatrixTransform>
27 #include <osg/Drawable>
29 #include <osg/Geometry>
43 #include <net/covise_connect.h>
44 #include <net/message.h>
55 std::string m_artoolkitVariant;
61 virtual void drawImplementation(osg::RenderInfo &renderInfo)
const;
64 virtual osg::Object *cloneType()
const;
68 virtual osg::Object *clone(
const osg::CopyOp &)
const;
84 virtual osg::Matrix
getMat(
int ,
double [2],
double ,
double [3][4])
109 virtual void update() = 0;
110 virtual void receiveImage(
const char *data) = 0;
111 virtual void updateBitrate(
const int bitrate) = 0;
131 std::string m_configPath;
135 int numObjectMarkers;
136 std::list<ARToolKitMarker *> objectMarkers;
172 double pattCenter[2];
173 double pattTrans[3][4];
176 float x, y, z, h, p, r;
181 osg::Matrix OpenGLToOSGMatrix;
182 osg::Matrix PfToOpenGLMatrix;
196 osg::Matrix &getCameraTrans();
197 osg::Matrix &getMarkerTrans();
214 void setColor(
float r,
float g,
float b);
225 void setOffset(osg::Matrix &mat);
int videoMode
Definition: ARToolKit.h:155
osg::Geode * quadGeode
Definition: ARToolKit.h:215
void setObjectMarker(bool o)
Definition: ARToolKit.h:210
bool flipH
Definition: ARToolKit.h:143
Definition: coTabletUI.h:140
bool videoMirrorLeft
Definition: ARToolKit.h:158
virtual void updateViewerPos(const osg::Vec3f &vp)
Definition: ARToolKit.h:89
unsigned char * videoData
Definition: ARToolKit.h:151
bool videoMirrorRight
Definition: ARToolKit.h:159
std::list< ARToolKitMarker * > markers
Definition: ARToolKit.h:161
virtual bool isVisible(int)
Definition: ARToolKit.h:80
Definition: coTabletUI.h:668
Definition: coTabletUI.h:205
int videoHeight
Definition: ARToolKit.h:154
coTUIToggleButton * calibrate
Definition: ARToolKit.h:221
bool stereoVideo
Definition: ARToolKit.h:157
Definition: ARToolKit.h:167
Definition: coTabletUI.h:1640
RemoteARInterface * remoteAR
Definition: ARToolKit.h:145
virtual ~RemoteARInterface()
Definition: ARToolKit.h:106
osg::Matrix matrixSumm
Definition: ARToolKit.h:223
osg::ref_ptr< osg::MatrixTransform > markerQuad
Definition: ARToolKit.h:216
bool doMerge
Definition: ARToolKit.h:163
Tablet user interface proxy classes.
static ARToolKitNode * theNode
Definition: ARToolKit.h:60
int numCalibSamples
Definition: ARToolKit.h:222
osg::Vec4Array * colors
Definition: ARToolKit.h:218
bool running
Definition: ARToolKit.h:139
osg::MatrixTransform * posSize
Definition: ARToolKit.h:217
Definition: ARToolKit.h:71
virtual int loadPattern(const char *)
Definition: ARToolKit.h:76
ARToolKitInterface()
Definition: ARToolKit.h:74
bool lastVisible
Definition: ARToolKit.h:224
bool isObjectMarker()
Definition: ARToolKit.h:206
coTUITab * artTab
Definition: ARToolKit.h:142
ARToolKitInterface * arInterface
Definition: ARToolKit.h:144
virtual ~ARToolKitInterface()
Definition: ARToolKit.h:75
osg::Matrix & getOffset()
Definition: ARToolKit.h:198
Definition: coTabletUI.h:1152
RemoteARInterface()
Definition: ARToolKit.h:103
int videoDepth
Definition: ARToolKit.h:156
virtual bool usesIRMOS() const
Definition: ARToolKit.h:112
virtual bool isReceiver() const
Definition: ARToolKit.h:116
Action listener for events triggered by any coTUIElement.
Definition: coTUIListener.h:58
virtual void updateMarkerParams()
Definition: ARToolKit.h:93
osg::Geometry * geom
Definition: ARToolKit.h:219
std::string m_artoolkitVariant
Definition: ARToolKit.h:160
coTUIToggleButton * displayQuad
Definition: ARToolKit.h:220
virtual osg::Matrix getMat(int, double[2], double, double[3][4])
Definition: ARToolKit.h:84
Definition: ARToolKit.h:100
unsigned char * videoDataRight
Definition: ARToolKit.h:152
Definition: ARToolKit.h:126
int videoWidth
Definition: ARToolKit.h:153
virtual bool isARToolKit()
Definition: ARToolKit.h:94
bool testImage
Definition: ARToolKit.h:164
Definition: ARToolKit.h:50
virtual covise::ClientConnection * getIRMOSClient() const
Definition: ARToolKit.h:120