MaxstAR Unity
Public Member Functions | Properties | List of all members
maxstAR.AbstractMapViewerBehaviour Class Reference

Handles 3D map file for authoring. Map controller includes mappoint controller and keyframe controller. More...

Inheritance diagram for maxstAR.AbstractMapViewerBehaviour:

Public Member Functions

bool Load (string fileName, float knownLength=-1.0f)
 Read map file and create keyframe and mappoint as Unity3d object. More...
 
void UpdateMapViewer ()
 Updated the control changes of the authoring tool in the scene view. More...
 
void ApplyViewCamera (Vector3 position, Quaternion quaternion)
 Select the keyframe closest to the scene view. More...
 

Properties

int KeyframeIndex [get, set]
 Change the keyframe number of imported 3D map. More...
 
bool ShowMesh [get, set]
 Reconstruct map point cloud to 3D for authoring. More...
 
int MaxKeyframeCount [get, set]
 Get the number of keyframes for the imported map. More...
 
bool Transparent [get, set]
 Changes the loaded map to translucent state. More...
 

Detailed Description

Handles 3D map file for authoring. Map controller includes mappoint controller and keyframe controller.

Member Function Documentation

◆ ApplyViewCamera()

void maxstAR.AbstractMapViewerBehaviour.ApplyViewCamera ( Vector3  position,
Quaternion  quaternion 
)

Select the keyframe closest to the scene view.

Parameters
positionThe position coordinate of the scene view.
quaternionThe rotation coordinate of the scene view.

◆ Load()

bool maxstAR.AbstractMapViewerBehaviour.Load ( string  fileName,
float  knownLength = -1.0f 
)

Read map file and create keyframe and mappoint as Unity3d object.

Parameters
fileName
Returns
MapViewer gameobject

◆ UpdateMapViewer()

void maxstAR.AbstractMapViewerBehaviour.UpdateMapViewer ( )

Updated the control changes of the authoring tool in the scene view.

Property Documentation

◆ KeyframeIndex

int maxstAR.AbstractMapViewerBehaviour.KeyframeIndex
getset

Change the keyframe number of imported 3D map.

◆ MaxKeyframeCount

int maxstAR.AbstractMapViewerBehaviour.MaxKeyframeCount
getset

Get the number of keyframes for the imported map.

◆ ShowMesh

bool maxstAR.AbstractMapViewerBehaviour.ShowMesh
getset

Reconstruct map point cloud to 3D for authoring.

◆ Transparent

bool maxstAR.AbstractMapViewerBehaviour.Transparent
getset

Changes the loaded map to translucent state.


The documentation for this class was generated from the following file: