12 #ifndef _HUtilityAnnotationMeasure_H
13 #define _HUtilityAnnotationMeasure_H
20 #include "hic_types.h"
23 #include "HUtilityAnnotation.h"
33 virtual char const*
GetType() {
return "HUtilityAnnotationMeasure";};
51 HC_KEY layer_key = INVALID_KEY,
52 int bg_type = BG_QUAD,
54 HC_KEY * key_path = (HC_KEY*)0,
55 int key_path_length = 0);
75 HC_KEY layer_key = INVALID_KEY,
76 int bg_type = BG_QUAD,
78 HC_KEY * key_path = (HC_KEY*)0,
79 int key_path_length = 0);
94 unsigned short const * text,
99 HC_KEY layer_key = INVALID_KEY,
100 int bg_type = BG_QUAD,
101 bool useArrow =
true,
102 HC_KEY * key_path = (HC_KEY*)0,
103 int key_path_length = 0);
112 static bool IsMeasurement(HC_KEY key);
117 static void drawLineCallbackDummy (HIC_Rendition
const *rendition,
int count, HIC_DC_Point p[]);
122 HPoint m_pnt_a1, m_pnt_b1;
123 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:33
The HPoint class is the data type of a three-dimensional point.
Definition: HGlobals.h:121
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:332
The HUtilityAnnotation class defines and manages annotations.
Definition: HUtilityAnnotation.h:40
The HUtilityAnnotationMeasure class defines and manages annotations.
Definition: HUtilityAnnotationMeasure.h:29
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)