VisioMove SDK (Android)  2.1.22
 All Classes Functions Variables Pages
VgLineDescriptorConstRefPtr Class Reference

Public Member Functions

 VgLineDescriptorConstRefPtr ()
 
 VgLineDescriptorConstRefPtr (VgLineDescriptor pPointer)
 
 VgLineDescriptorConstRefPtr (VgLineDescriptorConstRefPtr pConstRefPtr)
 
VgLineDescriptorConstRefPtr set (VgLineDescriptor pPointer)
 
VgLineDescriptor __ref__ ()
 
VgLineDescriptor __deref__ ()
 
VgLineDescriptor get ()
 
boolean isValid ()
 
VgLineDescriptorRefPtr copy ()
 
VgPositionVector getMPositions ()
 
VgColorVector getMColors ()
 
VgDoubleVector getMWidths ()
 
VgITextureRefPtr getMTexture ()
 
float getMTextureSize ()
 
float getMTextureAnimationSpeed ()
 
VgLineType getMLineType ()
 
VgAltitudeMode getMAltitudeMode ()
 
double getMMaxCornerRadius ()
 
boolean getMHaveCaps ()
 
String getMID ()
 
float getMMinTesselationDist ()
 
double getMVisibilityRampStartVisible ()
 
double getMVisibilityRampFullyVisible ()
 
double getMVisibilityRampStartInvisible ()
 
double getMVisibilityRampFullyInvisible ()
 
int getMZIndex ()
 
boolean getMDrawOnTop ()
 
float getMScale ()
 
boolean getMNotifyPOISelectedOnClick ()
 
void ref ()
 
int unref ()
 
int getNbReferences ()
 

Static Public Member Functions

static VgLineDescriptorConstRefPtr getNull ()
 

Detailed Description

A structure which describes the attributes of a Vg3DModule::VgLine .

Below is a code snippet showing how an allocated VgPointDescriptor can be configured:

...
VgApplication::VgIApplication* mVgApplication;
VgEngine::VgRefPtr< VgEngine::VgITexture > mTexture;
VgEngine::VgPosition mStartPos;
VgEngine::VgPosition mEndPos;
...
Vg3DModule::VgLineDescriptor lLineDesc;
const float lTextureSize = 1.0;
lLineDesc.mLineType = Vg3DModule::eGeometryConstantSize;
lLineDesc.mTextureAnimationSpeed = 4.0;
lLineDesc.mWidths.push_back(lTextureSize);
lLineDesc.mColors.push_back(VgEngine::VgColor(1.0, 1.0, 1.0, 1.0));
lLineDesc.mTexture =mTexture.get();
lLineDesc.mTextureSize = 1.0;
lLineDesc.mAltitudeMode = = VgEngine::eAbsolute;
lLineDesc.mPositions.push_back(mStartPos);
lLineDesc.mPositions.push_back(mEndPos);
...
Version
2.0

Constructor & Destructor Documentation

VgLineDescriptorConstRefPtr.VgLineDescriptorConstRefPtr ( )
VgLineDescriptorConstRefPtr.VgLineDescriptorConstRefPtr ( VgLineDescriptor  pPointer)
VgLineDescriptorConstRefPtr.VgLineDescriptorConstRefPtr ( VgLineDescriptorConstRefPtr  pConstRefPtr)

Member Function Documentation

VgLineDescriptor VgLineDescriptorConstRefPtr.__deref__ ( )
VgLineDescriptor VgLineDescriptorConstRefPtr.__ref__ ( )
VgLineDescriptorRefPtr VgLineDescriptorConstRefPtr.copy ( )

This method returns a heap-allocated copy of a descriptor. It is one of the only two methods 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.

VgLineDescriptor VgLineDescriptorConstRefPtr.get ( )
VgAltitudeMode VgLineDescriptorConstRefPtr.getMAltitudeMode ( )
VgColorVector VgLineDescriptorConstRefPtr.getMColors ( )
boolean VgLineDescriptorConstRefPtr.getMDrawOnTop ( )
boolean VgLineDescriptorConstRefPtr.getMHaveCaps ( )
String VgLineDescriptorConstRefPtr.getMID ( )
VgLineType VgLineDescriptorConstRefPtr.getMLineType ( )
double VgLineDescriptorConstRefPtr.getMMaxCornerRadius ( )
float VgLineDescriptorConstRefPtr.getMMinTesselationDist ( )
boolean VgLineDescriptorConstRefPtr.getMNotifyPOISelectedOnClick ( )
VgPositionVector VgLineDescriptorConstRefPtr.getMPositions ( )
float VgLineDescriptorConstRefPtr.getMScale ( )
VgITextureRefPtr VgLineDescriptorConstRefPtr.getMTexture ( )
float VgLineDescriptorConstRefPtr.getMTextureAnimationSpeed ( )
float VgLineDescriptorConstRefPtr.getMTextureSize ( )
double VgLineDescriptorConstRefPtr.getMVisibilityRampFullyInvisible ( )
double VgLineDescriptorConstRefPtr.getMVisibilityRampFullyVisible ( )
double VgLineDescriptorConstRefPtr.getMVisibilityRampStartInvisible ( )
double VgLineDescriptorConstRefPtr.getMVisibilityRampStartVisible ( )
VgDoubleVector VgLineDescriptorConstRefPtr.getMWidths ( )
int VgLineDescriptorConstRefPtr.getMZIndex ( )
int VgLineDescriptorConstRefPtr.getNbReferences ( )
static VgLineDescriptorConstRefPtr VgLineDescriptorConstRefPtr.getNull ( )
static
boolean VgLineDescriptorConstRefPtr.isValid ( )
void VgLineDescriptorConstRefPtr.ref ( )
VgLineDescriptorConstRefPtr VgLineDescriptorConstRefPtr.set ( VgLineDescriptor  pPointer)
int VgLineDescriptorConstRefPtr.unref ( )

The documentation for this class was generated from the following file:
VisioMove 2.1.22, Visioglobe® 2016