com.nchart3d.NChart.NChartModel Class Reference

The NChartModel provides the container for the 3D model that can be loaded from file and then be displayed as a marker (see NChartMarker for details). More...

Public Member Functions

 NChartModel (byte[] data)
 Create model with data. More...
 
 NChartModel (String filePath)
 Create model with contents of file. More...
 
int getVertexCount ()
 Number of vertices in the model.
 
int getTrianglesCount ()
 Number of triangles in the model.
 

Detailed Description

The NChartModel provides the container for the 3D model that can be loaded from file and then be displayed as a marker (see NChartMarker for details).

PLY (http://en.wikipedia.org/wiki/PLY_(file_format)) with triangles and geometry of 3DS (http://en.wikipedia.org/wiki/.3ds) are supported.

Constructor & Destructor Documentation

com.nchart3d.NChart.NChartModel.NChartModel ( byte[]  data)
inline

Create model with data.

Parameters
data- data containing the model.
com.nchart3d.NChart.NChartModel.NChartModel ( String  filePath)
inline

Create model with contents of file.

Parameters
filePath- path to file containing the model.