VisioDevKit
v2.0
|
Describes an icon marker. More...
Public Member Functions | |
const VgMarkerType | getType () const |
![]() | |
virtual | ~VgMarkerDescriptor () |
Destructor. More... | |
![]() | |
VgReferenced () | |
Constructor. More... | |
VgReferenced (const VgReferenced &pThis) | |
Copy constructor. More... | |
virtual | ~VgReferenced () |
Destructor. More... | |
VgReferenced & | operator= (const VgReferenced &pThis) |
Assignment operator. More... | |
void | ref () const |
This method is used to add a reference to this object. More... | |
void | unref () const |
This method is used to remove a reference to this object. More... | |
int | getNbReferences () const |
Retrieves the number of references to this object. More... | |
Static Public Member Functions | |
static VgEngine::VgRefPtr < Vg3DModule::VgIconMarkerDescriptor > | create () |
This static method returns a new heap-allocated descriptor. More... | |
Public Attributes | |
VgEngine::VgRefPtr < VgEngine::VgITexture > | mIcon |
The icon's texture. More... | |
float | mScale |
Scales the icon (which sides always mesure 1x1 meter), by default 70.0. More... | |
Protected Member Functions | |
VgIconMarkerDescriptor () | |
Constructor. More... | |
virtual | ~VgIconMarkerDescriptor () |
Additional Inherited Members | |
![]() | |
int | mNbReferences |
The number of references to this object. More... | |
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.
|
protectedvirtual |
|
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::VgRefPtr< VgEngine::VgITexture > Vg3DModule::VgIconMarkerDescriptor::mIcon |
The icon's texture.
float Vg3DModule::VgIconMarkerDescriptor::mScale |
Scales the icon (which sides always mesure 1x1 meter), by default 70.0.
The visible size can also be determined by the distance of the VgPoint from the camera, see the property VgPointDescriptor::mGeometryConstantSizeDistance for further explanation.