A type of ObjectTarget that represents a 2D image or a planar object.
Public Member Functions | |
virtual List< VirtualButton > | getVirtualButtons ()=0 |
virtual List< const VirtualButton > | getVirtualButtons () const =0 |
virtual VirtualButton * | getVirtualButton (const char *name)=0 |
Get (by name) one of the VirtualButton objects associated with this ImageTarget. More... | |
virtual const VirtualButton * | getVirtualButton (const char *name) const =0 |
Get (by name) one of the VirtualButton objects associated with this ImageTarget. More... | |
virtual VirtualButton * | createVirtualButton (const char *name, const Area &area)=0 |
Create a new virtual button and add it to this ImageTarget. More... | |
virtual bool | destroyVirtualButton (VirtualButton *button)=0 |
Destroy one of this ImageTarget's virtual buttons. More... | |
virtual const char * | getMetaData () const =0 |
Get the meta data string for this ImageTarget. More... | |
Public Member Functions inherited from ObjectTarget | |
virtual const char * | getUniqueTargetId () const =0 |
Get the persistent system-wide unique id for this target. More... | |
virtual Vec3F | getSize () const =0 |
Get the size of this target. More... | |
virtual bool | setSize (const Vec3F &size)=0 |
Apply a uniform scale to this target that makes it the given size. More... | |
virtual bool | setMotionHint (MOTION_HINT hint)=0 |
Set the motion hint to indicate how the target moves in space. More... | |
virtual MOTION_HINT | getMotionHint () const =0 |
Get the motion hint of this target. More... | |
Public Member Functions inherited from Trackable | |
virtual Type | getType () const =0 |
Get the Type for this instance (typically a subclass of Trackable). More... | |
virtual bool | isOfType (Type type) const =0 |
Check whether this instance is of the given Type or any of its subclasses. More... | |
virtual int | getId () const =0 |
Get a unique id for this Trackable. More... | |
virtual const char * | getName () const =0 |
Get the name of this Trackable's name. More... | |
virtual bool | setUserData (void *userData)=0 |
Set user data for this Trackable. More... | |
virtual void * | getUserData () const =0 |
Get the user data that was previously set using setUserData(). More... | |
virtual | ~Trackable () |
Static Public Member Functions | |
static Type | getClassType () |
Get the Type for class "ImageTarget". More... | |
Static Public Member Functions inherited from ObjectTarget | |
static Type | getClassType () |
Get the Type for class "ObjectTarget". More... | |
Static Public Member Functions inherited from Trackable | |
static Type | getClassType () |
Get the Type of class 'Trackable'. More... | |
Additional Inherited Members | |
Public Types inherited from ObjectTarget | |
enum | MOTION_HINT { STATIC, ADAPTIVE } |
Target property that indicates how the target moves in space. More... | |
|
pure virtual |
Provides write access to the list of virtual buttons defined for this ImageTarget.
|
pure virtual |
Provides read-only access to the list of virtual buttons defined for this ImageTarget.
|
pure virtual |
Get (by name) one of the VirtualButton objects associated with this ImageTarget.
name | The name of the VirtualButton to get. |
|
pure virtual |
Get (by name) one of the VirtualButton objects associated with this ImageTarget.
name | The name of the VirtualButton to get. |
|
pure virtual |
Create a new virtual button and add it to this ImageTarget.
name | The name for the new VirtualButton. |
area | An Area instance (e.g. a Rectangle) describing the extents of the button, in this target's local coordinate system. |
|
pure virtual |
Destroy one of this ImageTarget's virtual buttons.
button | The virtual button to destroy. |
|
pure virtual |
Get the meta data string for this ImageTarget.
A meta data string can be assigned to Cloud Recognition targets as part of the web interface or API. This method retrieves this string.