com.visioglobe.libVisioDevKit
Class VgModelManager

java.lang.Object
  extended by com.visioglobe.libVisioDevKit.VgModelManager

public class VgModelManager
extends java.lang.Object

The VgModelManager class is used to create 3D models as VgIGeometry instances given a VgBinaryBuffer. The VgModelManager class is in charge of passing the VgBinaryBuffer data to the graphics engine and creates internal objects that allows usage of the returned model. The below code snippet demonstrates how a VgIGeometry can be created.

Interface:
Vg3DModule::VgModelManager
Date:
20/02/2013

Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
VgModelManager()
           
VgModelManager(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 VgIGeometryRefPtr createModel(VgBinaryBufferConstRefPtr pBuffer)
          Creates a model from a VgBinaryBuffer.
 void delete()
           
protected  void finalize()
           
static long getCPtr(VgModelManager obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

VgModelManager

public VgModelManager(long cPtr,
                      boolean cMemoryOwn)

VgModelManager

public VgModelManager()
Method Detail

getCPtr

public static long getCPtr(VgModelManager obj)

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

delete

public void delete()

createModel

public VgIGeometryRefPtr createModel(VgBinaryBufferConstRefPtr pBuffer)
Creates a model from a VgBinaryBuffer.

Parameters:
pBuffer - The buffer from where the model will be loaded.

VisioDevKit 2.0, Visioglobe® 2013