17 #ifndef _HUtilityAnnotationMeasure_H
18 #define _HUtilityAnnotationMeasure_H
25 #include "hic_types.h"
28 #include "HUtilityAnnotation.h"
38 virtual char const*
GetType() {
return "HUtilityAnnotationMeasure";};
56 HC_KEY layer_key = INVALID_KEY,
57 int bg_type = BG_QUAD,
59 HC_KEY * key_path = (HC_KEY*)0,
60 int key_path_length = 0);
80 HC_KEY layer_key = INVALID_KEY,
81 int bg_type = BG_QUAD,
83 HC_KEY * key_path = (HC_KEY*)0,
84 int key_path_length = 0);
99 unsigned short const * text,
104 HC_KEY layer_key = INVALID_KEY,
105 int bg_type = BG_QUAD,
106 bool useArrow =
true,
107 HC_KEY * key_path = (HC_KEY*)0,
108 int key_path_length = 0);
117 static bool IsMeasurement(HC_KEY key);
122 static void drawLineCallbackDummy (HIC_Rendition
const *rendition,
int count, HIC_DC_Point *p);
127 HPoint m_pnt_a1, m_pnt_b1;
128 HPoint m_pnt_a2, m_pnt_b2, m_position;
virtual void MoveText(HPoint const &pos, HCamera const *camera=0)
virtual HC_KEY InsertWithEncoding(const unsigned short *text, HPoint target, HPoint position, HC_KEY AnnotateThis, HBaseView *pView, HC_KEY layer_key=INVALID_KEY, int bg_type=BG_QUAD, bool useArrow=true, HC_KEY *key_path=(HC_KEY *) 0, int key_path_length=0)
virtual char const * GetType()
Definition: HUtilityAnnotationMeasure.h:38
The HPoint class is the data type of a three-dimensional point.
Definition: HGlobals.h:126
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:337
The HUtilityAnnotation class defines and manages annotations.
Definition: HUtilityAnnotation.h:43
The HUtilityAnnotationMeasure class defines and manages annotations.
Definition: HUtilityAnnotationMeasure.h:34
virtual void SetNote(HC_KEY noteskey, HC_KEY view_key)
virtual HC_KEY Insert(HPoint target, HPoint position, HC_KEY AnnotateThis, HBaseView *pView, HC_KEY layer_key=INVALID_KEY, int bg_type=BG_QUAD, bool useArrow=true, HC_KEY *key_path=(HC_KEY *) 0, int key_path_length=0)