VisioDevKit  v2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Friends Pages
Vg3DModule::VgGeometryDescriptor Struct Reference

Describes the common properties of a VgIGeometry. More...

Inheritance diagram for Vg3DModule::VgGeometryDescriptor:
Inheritance graph

Public Attributes

double mVisibilityRampStartVisible
 Distance in meters at which it starts becoming visible. More...
 
double mVisibilityRampFullyVisible
 Distance in meters at which it is fully visible. More...
 
double mVisibilityRampStartInvisible
 Distance in meters at which it starts to become invisible. More...
 
double mVisibilityRampFullyInvisible
 Distance in meters at which it is fully invisible. More...
 
int mZIndex
 This member sets the z-index of the line. More...
 
bool mDrawOnTop
 Tells whether the line should draw on top (ignoring z-buffer). More...
 

Protected Member Functions

 VgGeometryDescriptor ()
 Constructor. More...
 
 VgGeometryDescriptor (const VgGeometryDescriptor &pDescriptor)
 Copy contructor. More...
 
virtual ~VgGeometryDescriptor ()
 Destructor. More...
 

Additional Inherited Members

- Public Member Functions inherited from VgEngine::VgReferenced
 VgReferenced ()
 Constructor. More...
 
 VgReferenced (const VgReferenced &pThis)
 Copy constructor. More...
 
virtual ~VgReferenced ()
 Destructor. More...
 
VgReferencedoperator= (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...
 
- Protected Attributes inherited from VgEngine::VgReferenced
int mNbReferences
 The number of references to this object. More...
 

Detailed Description

Describes the common properties of a VgIGeometry.

Version
2.0.9263

Constructor & Destructor Documentation

Vg3DModule::VgGeometryDescriptor::VgGeometryDescriptor ( )
inlineprotected

Constructor.

Note
Do not use this constructor directly. Use the subclass ::create() static method instead.
Vg3DModule::VgGeometryDescriptor::VgGeometryDescriptor ( const VgGeometryDescriptor pDescriptor)
inlineprotected

Copy contructor.

virtual Vg3DModule::VgGeometryDescriptor::~VgGeometryDescriptor ( )
inlineprotectedvirtual

Destructor.

Member Data Documentation

bool Vg3DModule::VgGeometryDescriptor::mDrawOnTop

Tells whether the line should draw on top (ignoring z-buffer).

double Vg3DModule::VgGeometryDescriptor::mVisibilityRampFullyInvisible

Distance in meters at which it is fully invisible.

By default +infinity. If set to a very large value, it will never fade out.

double Vg3DModule::VgGeometryDescriptor::mVisibilityRampFullyVisible

Distance in meters at which it is fully visible.

If set to 0.0, it is always visble when you are close. The default value of this property is 0.

double Vg3DModule::VgGeometryDescriptor::mVisibilityRampStartInvisible

Distance in meters at which it starts to become invisible.

By default +infinity.

double Vg3DModule::VgGeometryDescriptor::mVisibilityRampStartVisible

Distance in meters at which it starts becoming visible.

If set to 0.0, it is always visble no matter how close you are. The default value of this property is 0.

int Vg3DModule::VgGeometryDescriptor::mZIndex

This member sets the z-index of the line.

This is used to solve cases where translucent objects can not be sorted correctly. Forces a rendering order (only used on translucent objects). Smaller values (can be negative) lead to object appearing "over" the others.


The documentation for this struct was generated from the following file:
VisioDevKit 2.0, Visioglobe® 2013