VisioMove SDK (iOS)
2.1.22
|
Protected Member Functions | |
VgIEngine () | |
This interface provides an entry-point to retrieve objects from the Visioglobe engine.
|
inlineprotected |
Constructor.
|
inlinevirtual |
Destructor.
|
pure virtual |
This method is used to add a VgIEnginePostDrawCallback to the engine.
pCallback | the post draw callback. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
This method gives read-write access to one of the engine lights.
pLightNum | The index of the queried light. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Executes a query to retrieve VgEngine::VgSpatial according to a VgEngine::VgQuery (e.g. all VgSpatials of the map, or having a specific ID) This call will not return results before selecting the Dataset, i.e. before VgEngine::VgIDatabase::selectDataset()
Example:
pQuery | Query to execute. |
|
pure virtual |
|
pure virtual |
|
pure virtual |
This method gives read-only access to one of the engine lights.
pLightNum | The index of the queried light. |
|
pure virtual |
This method returns the number of lights in the scene.
|
pure virtual |
|
pure virtual |
|
pure virtual |
This method is used to check if everything is loaded at a given time Useful for screencaptures, progress bars, and resource scheduling. It is best to run it on a VgEngine::VgIEnginePostDrawCallback
pGraphicsQueue | number of pending graphics operation (related to graphics context) |
pLoadQueueSize | number of pending operations. |
pLoadedQueueSize | another queue waiting to be processed |
pActiveThreads | current number of threads that are processing requests |
|
pure virtual |
This method causes the engine to reinstantiate the shaders from source files.
|
pure virtual |
This method is used to remove a VgIEnginePostDrawCallback to the engine.
pCallback | the post draw callback. |
|
pure virtual |
This method is used to override a given texture resource (defined in the configuration file). If a resource exists by that name, it is replaced by the provided texture instance and all items in the scene referencing it are updated. If there is no matching texture nothing happens.
pResourceName | the name of the texture resource to override. |
pTexture | The texture to override with. |
|
pure virtual |
Resets all the GPU graphic resources.
pIsContextLost | Use true to specify that the context has been lost, false otherwise. |
|
pure virtual |
This method is used to change the clear color of the VgEAGLView. If the view has an opaque background, this clear color will be hidden, except for the first few frames while the background is loading. Thus you could set the clear color of the VgEAGLView to closely match the background (of the dataset).
pClearColor | The new color to use for screen clearing. |