void SingleTarget::setActive(bool a) { _active = a; if (_active) arActivatePatt(patt_id); else arDeactivatePatt(patt_id); }
AR_TEMPL_FUNC int AR_TEMPL_TRACKER::arMultiActivate( ARMultiMarkerInfoT *config ) { int i; config->prevF = 0; for( i = 0; i < config->marker_num; i++ ) { arActivatePatt( config->marker[i].patt_id ); } return 0; }
int Tracker::arMultiActivate( ARMultiMarkerInfoT *config ) { int i; config->prevF = 0; for( i = 0; i < config->marker_num; i++ ) { arActivatePatt( config->marker[i].patt_id ); } return 0; }
/* * Class: com_clab_artoolkit_port_JARToolkit * Method: JARActivatePattern * Signature: (I)I */ JNIEXPORT jint JNICALL Java_net_sourceforge_jartoolkit_core_JARToolKit_activatePattern(JNIEnv *, jobject, jint pattNo) { return arActivatePatt(pattNo); }