HERE iOS SDK Developer's Guide

NMAARMeshObject

Class Summary

class NMAARMeshObject

Derived from: NMAARModelObject

A LiveSight 3D mesh object.

Include: NMAKit.framework/headers/NMAARMeshObject.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAARMeshObject

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] NMAGeoCoordinates geoDirection

The geo direction of the object

[readable, writable, assign] NMAGeoCoordinates geoPosition

The geo coordinates of the object

[readable, writable, assign] NMAVector3d   localPosition

The local position of the object relative to the camera, in meters

[readable, writable, assign] NMAFloatMesh mesh

The 3D mesh of the object

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

-(nonnull instancetype) initWithGeoCoordinates:(nonnull NMAGeoCoordinates *) geoCoordinates mesh:(nonnull NMAFloatMesh *) mesh texture:(nonnull NMAImage *) texture

Creates a mesh object with a geo location, mesh, and texture

-(nonnull instancetype) initWithLocalPosition:( NMAVector3d ) localPosition geoDirection:(nonnull NMAGeoCoordinates *) geoDirection mesh:(nonnull NMAFloatMesh *) mesh texture:(nonnull NMAImage *) texture

Creates a mesh object with a local position, geo direction, mesh, and texture

-(nonnull instancetype) initWithLocalPosition:( NMAVector3d ) localPosition mesh:(nonnull NMAFloatMesh *) mesh texture:(nonnull NMAImage *) texture

Creates a mesh object with a local position, mesh, and texture

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

A LiveSight 3D mesh object.

Three types of mesh object are supported:
  • Geo positioned mesh object
  • Locally positioned mesh object
  • Locally positioned mesh object with additional geo direction

Public Property Details

[readable, writable, assign] NMAGeoCoordinatesgeoDirection

The geo direction of the object.

When a geo direction is specified, the object will be reoriented to point toward the geo coordinates as the camera moves.

Note:

Valid only if the object is initialized with a local position and direction.

[readable, writable, assign] NMAGeoCoordinatesgeoPosition

The geo coordinates of the object.

Note:

Valid only if the object is initialized with a geo position.

[readable, writable, assign] NMAVector3d  localPosition

The local position of the object relative to the camera, in meters.

Note:

Valid only if the object is initialized with a local position.

[readable, writable, assign] NMAFloatMeshmesh

The 3D mesh of the object.

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized directly

-(nonnull instancetype) initWithGeoCoordinates:(nonnull NMAGeoCoordinates *) geoCoordinates mesh:(nonnull NMAFloatMesh *) mesh texture:(nonnull NMAImage *) texture

Creates a mesh object with a geo location, mesh, and texture.

Parameters:

  • geoCoordinates

    The geo coordinates of the center of the mesh.

  • mesh

    The object's 3D mesh.

  • texture

    The object's texture.

-(nonnull instancetype) initWithLocalPosition:( NMAVector3d ) localPosition geoDirection:(nonnull NMAGeoCoordinates *) geoDirection mesh:(nonnull NMAFloatMesh *) mesh texture:(nonnull NMAImage *) texture

Creates a mesh object with a local position, geo direction, mesh, and texture.

Parameters:

  • localPosition

    The position of the center of the mesh relative to the camera, in meters.

  • geoDirection

    The geo coordinates toward which the object will be oriented.

  • mesh

    The object's 3D mesh.

  • texture

    The object's texture.

-(nonnull instancetype) initWithLocalPosition:( NMAVector3d ) localPosition mesh:(nonnull NMAFloatMesh *) mesh texture:(nonnull NMAImage *) texture

Creates a mesh object with a local position, mesh, and texture.

Parameters:

  • localPosition

    The position of the center of the mesh relative to the camera, in meters.

  • mesh

    The object's 3D mesh.

  • texture

    The object's texture.

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly