IMHOTEP Framework
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Member Functions | Public Attributes | List of all members
Annotation Class Reference
Inheritance diagram for Annotation:
Inheritance graph
[legend]
Collaboration diagram for Annotation:
Collaboration graph
[legend]

Public Member Functions

void CreateLabel (GameObject annotationLabelMaster)
 
void setLabeText (String newLabel)
 
void updatePosition (Quaternion rotation, Vector3 position)
 Updates the position and Rotation in local Coordinates. More...
 
GameObject getLabel ()
 
String getLabelText ()
 
Color getColor ()
 
void saveLabelChanges ()
 
void changeColor (Color newColor)
 
void setDefaultColor ()
 
void makeTransperent (float alpha)
 Makes the Annotation transperent. More...
 
void setDefaultTransparency ()
 Reste Transparency of Annotation More...
 
void disableMeshCollider ()
 
void enableAllCollider (bool enable)
 
void transferAnnotationSettings (GameObject settingSource)
 
void setMovementMeshsActive (bool active)
 Sets the movement meshs active. More...
 
void OnPointerHover (UnityEngine.EventSystems.PointerEventData eventData)
 
void endHover ()
 
void rescaleMesh (Vector3 newScale)
 
Vector3 getMeshScale ()
 
void rotateMesh (Quaternion rotation)
 
Quaternion getMeshRotation ()
 
void translateMesh (Vector3 newPos)
 
void changeAnnotationMeshLayer (String layer)
 
bool LabelClicked (PointerEventData data)
 
void AnnotationClicked (BaseEventData eventData)
 
void saveAnnotationChanges ()
 
void destroyAnnotation ()
 
void ViveMovement (bool active)
 

Public Attributes

string creator
 
DateTime creationDate
 
GameObject myAnnotationLabel
 
GameObject myAnnotationMesh
 
GameObject rotationObjects
 
GameObject translationObjects
 
GameObject scalingObjects
 
GameObject viveMoveObject
 
GameObject myAnnotationListEntry
 
AnnotationControl.AnnotationType myType
 
Material defaultMaterial
 
Collider myCollider
 
float maxDistanceToMeshNode = 12f
 
float MoveCircleRadiant = 0.5f
 

Detailed Description

Definition at line 10 of file Annotation.cs.

Member Function Documentation

void Annotation.makeTransperent ( float  alpha)
inline

Makes the Annotation transperent.

Definition at line 119 of file Annotation.cs.

void Annotation.setDefaultTransparency ( )
inline

Reste Transparency of Annotation

Definition at line 144 of file Annotation.cs.

void Annotation.setMovementMeshsActive ( bool  active)
inline

Sets the movement meshs active.

Parameters
activeIf set to true active the moving Objects appear depending on active Controller and the Annotation gets Transparent.

Definition at line 189 of file Annotation.cs.

void Annotation.updatePosition ( Quaternion  rotation,
Vector3  position 
)
inline

Updates the position and Rotation in local Coordinates.

Parameters
rotationnew Rotation.
positionnew Position.

Definition at line 73 of file Annotation.cs.


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