NChartModel Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | NChartModel.h |
Overview
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.
+ modelWithData:
Create model with data.
+ (NChartModel *)modelWithData:(NSData *)dataParameters
data |
|
|---|
Return Value
a new instance of the model.
Declared In
NChartModel.h
+ modelWithContentsOfFile:
Create model with contents of file.
+ (NChartModel *)modelWithContentsOfFile:(NSString *)filePathParameters
filePath |
|
|---|
Return Value
a new instance of the model.
Declared In
NChartModel.h
– initWithData:
Init model with data.
- (id)initWithData:(NSData *)dataParameters
data |
|
|---|
Return Value
the initialized instance of a model.
Declared In
NChartModel.h
– initWithContentsOfFile:
Init model with contents of file.
- (id)initWithContentsOfFile:(NSString *)filePathParameters
filePath |
|
|---|
Return Value
the initialized instance of a model.
Declared In
NChartModel.h
vertexCount
Number of vertices in the model.
@property (nonatomic, readonly) NSInteger vertexCountDeclared In
NChartModel.h
trianglesCount
Number of triangles in the model.
@property (nonatomic, readonly) NSInteger trianglesCountDeclared In
NChartModel.h