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

-(id) initWithGeoCoordinates:( NMAGeoCoordinates *) geoPosition mesh:( NMAFloatMesh *) mesh texture:( NMAImage *) texture

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

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

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

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

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

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

-(id) initWithGeoCoordinates:( NMAGeoCoordinates *) geoPosition mesh:( NMAFloatMesh *) mesh texture:( NMAImage *) texture

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

Parameters:

  • geoPosition

    The geo coordinates of the center of the mesh.

  • mesh

    The object's 3D mesh.

  • texture

    The object's texture.

-(id) initWithLocalPosition:( NMAVector3d ) localPosition geoDirection:( NMAGeoCoordinates *) geoDirection mesh:( NMAFloatMesh *) mesh texture:( 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.

-(id) initWithLocalPosition:( NMAVector3d ) localPosition mesh:( NMAFloatMesh *) mesh texture:( 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.