Click here to view beta documentation
API Search
||
Global Search
Dev_Tools
hoops_hio
hio_dwg
source
MrDwgWorldDraw.h
1
// Copyright (c) Tech Soft 3D, Inc.
2
//
3
// The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
4
// and considered a trade secret as defined under civil and criminal statutes.
5
// Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
6
// unauthorized use or misappropriation of its trade secrets. Use of this information
7
// by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
8
// a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
9
10
#pragma once
11
12
#include "MrDwgContext.h"
13
#include "MrDwgSubEntityTraits.h"
14
#include "MrDwgWorldGeometry.h"
15
#include "MrDwgReader.h"
16
#include "hc.h"
17
18
#include <acgi.h>
19
20
class
MrDwgWorldDraw
:
public
AcGiWorldDraw
21
{
22
public
:
23
MrDwgWorldDraw
(std::vector<HC_KEY> * keys, AcDbEntity * pEnt,
MrDwgReader
* reader);
24
~
MrDwgWorldDraw
();
25
26
void
setRegenType(AcGiRegenType r);
27
AcGiRegenType regenType()
const
;
28
Adesk::Boolean regenAbort()
const
;
29
AcGiSubEntityTraits & subEntityTraits()
const
;
30
AcGiWorldGeometry & geometry()
const
;
31
AcGiGeometry *rawGeometry()
const
;
32
Adesk::Boolean isDragging()
const
;
33
double
deviation(
const
AcGiDeviationType,
const
AcGePoint3d &)
const
;
34
Adesk::UInt32 numberOfIsolines()
const
;
35
36
AcGiContext *context();
37
void
regenerate(AcDbEntity * pEntity);
38
void
regenerate(AcDbBlockTableRecord * pBTR);
39
40
MrDwgContext
* mpContext;
41
MrDwgSubEntityTraits
* mpTraits;
42
MrDwgWorldGeometry
* mpGeom;
43
AcGiRegenType m_regenType;
44
};
MrDwgWorldDraw
Definition:
MrDwgWorldDraw.h:20
MrDwgReader
Definition:
MrDwgReader.h:37
MrDwgWorldGeometry
Definition:
MrDwgWorldGeometry.h:27
MrDwgContext
Definition:
MrDwgContext.h:14
MrDwgSubEntityTraits
Definition:
MrDwgSubEntityTraits.h:17