VisioMove SDK (iOS)
2.1.22
|
Public Member Functions | |
const VgMarkerType | getType () const |
Public Member Functions inherited from Vg3DModule::VgMarkerDescriptor | |
virtual | ~VgMarkerDescriptor () |
Public Member Functions inherited from VgEngine::VgReferenced | |
VgReferenced () | |
VgReferenced (const VgReferenced &pThis) | |
virtual | ~VgReferenced () |
VgReferenced & | operator= (const VgReferenced &pThis) |
void | ref () const |
int | unref () const |
int | getNbReferences () const |
Static Public Member Functions | |
static VgEngine::VgRefPtr< Vg3DModule::VgIconMarkerDescriptor > | create () |
Public Attributes | |
VgEngine::VgRefPtr< VgEngine::VgITexture > | mIcon |
float | mScale |
VgEngine::VgColor | mColor = {1.0f, 1.0f, 1.0f, 1.0f} |
Protected Member Functions | |
VgIconMarkerDescriptor () | |
virtual | ~VgIconMarkerDescriptor () |
Additional Inherited Members | |
Protected Attributes inherited from VgEngine::VgReferenced | |
int | mNbReferences |
Describes an icon marker. The icon will be displayed at the point associated. This descriptor will instanciate a VgIconMarker after the call to VgEngine::VgInstanceFactory::instantiate(VgPointDescriptor const&)
|
inlineprotected |
Constructor.
References ~VgIconMarkerDescriptor().
|
protectedvirtual |
Referenced by VgIconMarkerDescriptor().
|
static |
This static method returns a new heap-allocated descriptor. It is the only method that should be used to instantiate new descriptors. It is a way to make sure no one will delete it, except the last VgRefPtr pointing to it.
|
inlinevirtual |
Implements Vg3DModule::VgMarkerDescriptor.
References Vg3DModule::eVgMarkerIcon.
VgEngine::VgColor Vg3DModule::VgIconMarkerDescriptor::mColor = {1.0f, 1.0f, 1.0f, 1.0f} |
Color to apply to the marker. Default is fully opaque white. The provided color will be multiplied with the color from the icon's image.
VgEngine::VgRefPtr< VgEngine::VgITexture > Vg3DModule::VgIconMarkerDescriptor::mIcon |
The icon's texture. if mIcon is NULL, then the marker and the point will still be created use VgIconMarker::setIcon() to update it later.
float Vg3DModule::VgIconMarkerDescriptor::mScale |
Controls the size of the VgIconMarker in meters if the Vg3DModule::VgPointDescriptor::mSizePolicy is VgEngine::eVgSizePolicyConstantScale, by default 1.0. if Vg3DModule::VgPointDescriptor::mSizePolicy is VgEngine::eVgSizePolicyFitRectangle, will only impact the size relationship of the text marker to other markers on the VgPoint if any. The visible size is also determined by the distance of the POI from the camera (Vg3DModule::VgPointDescriptor::mGeometryConstantSizeDistance) as well as the scale of the VgPoint (Vg3DModule::VgGeometryDescriptor::mScale).