|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.visioglobe.libVisioDevKit.VgIDatabase
public class VgIDatabase
The VgIDatabase interface is used to load and select the data that will be displayed in the 3D view. This interface depends on how databases are bundled. First, the data structure, with all available datasets, is described in a configuration file. This file must be loaded (using the VgIDatabase::loadConfiguration method), then a particular dataset can be selected to be displayed in the 3D view (using the VgIDatabase::selectDataset method). Example:
Field Summary | |
---|---|
protected boolean |
swigCMemOwn
|
Constructor Summary | |
---|---|
VgIDatabase(long cPtr,
boolean cMemoryOwn)
|
Method Summary | |
---|---|
void |
delete()
|
protected void |
finalize()
|
boolean |
getCachedLicenseFilenameForConfiguration(java.lang.String pConfigFilename,
java.lang.String[] pOutLicenseFilename)
|
static long |
getCPtr(VgIDatabase obj)
|
VgIDatabaseDatasetDescriptor |
getCurrentDatasetDescriptor()
Retrieves the descriptor of the current dataset. |
VgIDatabaseDatasetDescriptorVector |
getDatasetDescriptors()
Retrieves the vector of all available datasets. |
boolean |
loadConfiguration(java.lang.String pConfigFilename,
long pSecretKey)
|
boolean |
loadConfiguration(java.lang.String pConfigFilename,
long pSecretKey,
java.lang.String pLicenseGeneratorURL)
Loads a database configuration from a mass storage. |
boolean |
selectDataset(int pIndex)
Selects a dataset using its index. |
boolean |
selectDataset(java.lang.String pDatasetName)
Selects a dataset using its name. |
void |
unloadConfiguration()
unloads the current configuration if there is one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean swigCMemOwn
Constructor Detail |
---|
public VgIDatabase(long cPtr, boolean cMemoryOwn)
Method Detail |
---|
public static long getCPtr(VgIDatabase obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public boolean loadConfiguration(java.lang.String pConfigFilename, long pSecretKey, java.lang.String pLicenseGeneratorURL)
pConfigFilename
- The name of the configuration file to be loaded.pSecretKey
- The secret key that matches the secret key that was
used to generate the associated licence xml file's hash code.pLicenseGeneratorURL
- The URL that will be reached to get the license if missing.
public boolean loadConfiguration(java.lang.String pConfigFilename, long pSecretKey)
public void unloadConfiguration()
public boolean getCachedLicenseFilenameForConfiguration(java.lang.String pConfigFilename, java.lang.String[] pOutLicenseFilename)
public boolean selectDataset(java.lang.String pDatasetName)
pDatasetName
- The name of the dataset. Needs to match the name of a
dataset defined within the currently loaded configuration file.
public boolean selectDataset(int pIndex)
pIndex
- Index of dataset, indicated by it's position relative to other
datasets within the configuration file (starting at 0).
public VgIDatabaseDatasetDescriptor getCurrentDatasetDescriptor()
public VgIDatabaseDatasetDescriptorVector getDatasetDescriptors()
|
VisioDevKit 2.0, Visioglobe® 2013 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |