C++ Java Unity
C++ Reference
VuMarkTarget Class Referenceabstract

Detailed Description

A type of ObjectTarget that represents a VuMark.

A VuMarkTarget must be used in combination with a VuMarkTemplate with a specific instance ID.

Note that some ObjectTarget functionality, such as setting the target size, or enabling or disabling extended tracking, cannot be applied to a VuMarkTarget instance. Instead, you need to make the required changes on the associated VuMarkTemplate instance.

Inheritance diagram for VuMarkTarget:
ObjectTarget Trackable NonCopyable

Public Member Functions

virtual const VuMarkTemplategetTemplate () const =0
 Get the VuMarkTemplate that this instance was instantiated from. More...
 
virtual const InstanceIdgetInstanceId () const =0
 Get the instance ID of this particular VuMark. More...
 
virtual const ImagegetInstanceImage () const =0
 Get a generated version of the VuMark. 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 'VuMarkTarget'. 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...
 

Member Function Documentation

static Type getClassType ( )
static

Get the Type for class 'VuMarkTarget'.

virtual const VuMarkTemplate& getTemplate ( ) const
pure virtual

Get the VuMarkTemplate that this instance was instantiated from.

virtual const InstanceId& getInstanceId ( ) const
pure virtual

Get the instance ID of this particular VuMark.

virtual const Image& getInstanceImage ( ) const
pure virtual

Get a generated version of the VuMark.