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;
68 virtual osg::Object *
clone(
const osg::CopyOp &)
const;
84 virtual osg::Matrix
getMat(
int ,
double [2],
double ,
double [3][4])
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;
192 ARToolKitMarker(
const std::string &configName,
int MarkerID,
double size,osg::Matrix&mat, osg::Matrix& hostMat,
bool VrmlToOSG);
194 void updateData(
double markerSize, osg::Matrix& mat, osg::Matrix& hostMat,
bool vrmlToOsg);
215 osg::Geode *quadGeode =
nullptr;
217 osg::MatrixTransform *posSize=
nullptr;
218 osg::Vec4Array *colors =
nullptr;
219 osg::Geometry *geom =
nullptr;
Tablet user interface proxy classes.
Definition: ARToolKit.h:33
Definition: ARToolKit.h:51
static ARToolKitNode * theNode
Definition: ARToolKit.h:60
virtual osg::Object * clone(const osg::CopyOp &) const
virtual void drawImplementation(osg::RenderInfo &renderInfo) const
ARToolKitNode(std::string artoolkitVariant)
virtual osg::Object * cloneType() const
Definition: ARToolKit.h:72
ARToolKitInterface()
Definition: ARToolKit.h:74
virtual int loadPattern(const char *)
Definition: ARToolKit.h:76
virtual void updateMarkerParams()
Definition: ARToolKit.h:93
virtual bool isVisible(int)
Definition: ARToolKit.h:80
virtual bool isARToolKit()
Definition: ARToolKit.h:94
virtual void updateViewerPos(const osg::Vec3f &vp)
Definition: ARToolKit.h:89
virtual ~ARToolKitInterface()
Definition: ARToolKit.h:75
virtual osg::Matrix getMat(int, double[2], double, double[3][4])
Definition: ARToolKit.h:84
Definition: ARToolKit.h:101
RemoteARInterface()
Definition: ARToolKit.h:103
virtual covise::ClientConnection * getIRMOSClient() const
Definition: ARToolKit.h:120
virtual bool isReceiver() const
Definition: ARToolKit.h:116
virtual bool usesIRMOS() const
Definition: ARToolKit.h:112
virtual void updateBitrate(const int bitrate)=0
virtual void receiveImage(const char *data)=0
virtual ~RemoteARInterface()
Definition: ARToolKit.h:106
Definition: ARToolKit.h:127
bool videoMirrorLeft
Definition: ARToolKit.h:158
ARToolKitInterface * arInterface
Definition: ARToolKit.h:144
RemoteARInterface * remoteAR
Definition: ARToolKit.h:145
int videoWidth
Definition: ARToolKit.h:153
int videoMode
Definition: ARToolKit.h:155
std::list< ARToolKitMarker * > markers
Definition: ARToolKit.h:161
std::string m_artoolkitVariant
Definition: ARToolKit.h:160
void addMarker(ARToolKitMarker *)
bool stereoVideo
Definition: ARToolKit.h:157
bool doMerge
Definition: ARToolKit.h:163
int videoDepth
Definition: ARToolKit.h:156
static ARToolKit * instance()
bool videoMirrorRight
Definition: ARToolKit.h:159
coTUITab * artTab
Definition: ARToolKit.h:142
bool running
Definition: ARToolKit.h:139
bool testImage
Definition: ARToolKit.h:164
unsigned char * videoDataRight
Definition: ARToolKit.h:152
int videoHeight
Definition: ARToolKit.h:154
unsigned char * videoData
Definition: ARToolKit.h:151
bool flipH
Definition: ARToolKit.h:143
Definition: ARToolKit.h:168
virtual ~ARToolKitMarker()
int numCalibSamples
Definition: ARToolKit.h:222
osg::Matrix OpenGLToOSGMatrix
Definition: ARToolKit.h:226
ARToolKitMarker(const std::string &configName, int MarkerID, double size, osg::Matrix &mat, osg::Matrix &hostMat, bool VrmlToOSG)
osg::Matrix & getCameraTrans()
osg::Matrix & getMarkerTrans()
void updateData(double markerSize, osg::Matrix &mat, osg::Matrix &hostMat, bool vrmlToOsg)
void setObjectMarker(bool o)
Definition: ARToolKit.h:210
void setColor(float r, float g, float b)
virtual void tabletEvent(coTUIElement *tUIItem)
osg::Matrix & getOffset()
Definition: ARToolKit.h:198
osg::ref_ptr< osg::MatrixTransform > markerQuad
Definition: ARToolKit.h:216
void setOffset(osg::Matrix &mat)
bool isObjectMarker()
Definition: ARToolKit.h:206
osg::Matrix matrixSumm
Definition: ARToolKit.h:223
osg::Matrix PfToOpenGLMatrix
Definition: ARToolKit.h:227
bool lastVisible
Definition: ARToolKit.h:224
ARToolKitMarker(const char *Name)
Definition: coTabletUI.h:147
Definition: coTabletUI.h:212
Definition: coTabletUI.h:672
Definition: coTabletUI.h:1156
Definition: coTabletUI.h:1644
Action listener for events triggered by any coTUIElement.
Definition: coTUIListener.h:61