analyze void ARToolKit::analyze(Texture *tex); Description: Analyzes the non-pad region of the specified texture. This causes all attached nodepaths to move. |
attachPattern void ARToolKit::attach_pattern(Filename const &pattern, NodePath path); Description: Associates the specified glyph with the specified NodePath. Each time you call analyze, ARToolKit will update the NodePath's transform. If the node is not visible, its scale will be set to zero. |
detachPatterns void ARToolKit::detach_patterns(void); Description: Dissociates all patterns from all NodePaths. |
make static ARToolKit *ARToolKit::make(NodePath camera, Filename const ¶mfile, double markersize); Description: Create a new ARToolKit instance. Camera must be the nodepath of a panda camera object. The panda camera's field of view is initialized to match the field of view of the physical webcam. Each time you call analyze, all marker nodepaths will be moved into a position which is relative to this camera. The marker_size parameter indicates how large you printed the physical markers. You should use the same size units that you wish to use in the panda code. |
setThreshold void ARToolKit::set_threshold(double n); Filename: arToolKit.I Created by: jyelon (01Nov2007) PANDA 3D SOFTWARE Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved All use of this software is subject to the terms of the Panda 3d Software license. You should have received a copy of this license along with this source code; you will also find a current copy of the license at http://etc.cmu.edu/panda3d/docs/license/ . To contact the maintainers of this program write to panda3d-general@lists.sourceforge.net . Description: As part of its analysis, the ARToolKit occasionally converts images to black and white by thresholding them. The threshold is set to 0.5 by default, but you can tweak it here. |