HOOPS???????? - PowerPoint PPT Presentation

1 / 83
About This Presentation
Title:

HOOPS????????

Description:

hoops 1 hoops 1 hoops 3dgs 1 hoops 3dgs api 1 hoops mvo 2 2 3 – PowerPoint PPT presentation

Number of Views:182
Avg rating:3.0/5.0
Slides: 84
Provided by: readPudnC
Category:
Tags: hoops | catia

less

Transcript and Presenter's Notes

Title: HOOPS????????


1
HOOPS????????
HOOPS?? 1
HOOPS 3dGS?? 1
HOOPS 3dGS API 1
HOOPS MVO 1
???????? 2
?????? 2
????? 3
????? 3
?? 3
HOOPS Stream 3
HOOPS/ACIS Bridge 3
2
??
  • ?????????????HOOPS?????,??????????????HOOPS,??????
    HOOPS???????
  • ?????????????,???????????????????

3
HOOPS??
  • Tech Soft America(TSA)??
  • SPATIAL??
  • HOOPS????
  • ???HSF?
  • HOOPS?????
  • HOOPS????
  • HOOPS 3dGS??
  • HOOPS MVO??
  • HOOPS Stream??
  • HOOPS GM Bridge??
  • ???????

4
Tech Soft America (TSA)??
  • 1985?,HOOPS????Cornell????
  • 1987?,Ithaca????
  • HOOPS?????
  • 1993??,Ithaca???AutoDesk???HOOPS,???Heidi(AutoCAD,
    3D Studio MAX?????)
  • 1996?,TSA?? ??????????,??175 OEM??
    CAD?CAM?CFD?FEA?Mining Engineering

5
Spatial??
  • 1986?,Spatial????CAM??/????????????Spatial
    Technology
  • 2000?11?,Dassault Systemes???Spatial
    Technology,??Spatial???Dassault Systemes??
  • 2001?2?,Spatial?Tech Soft America???????
  • 2003?5?,Spatial????HOOPS???Spatial??HOOPS ACIS
    Bridge

6
HOOPS?????
  • HOOPS 3dAF
  • HOOPS?????
  • HOOPS Stream?????
  • ???HOOPS Net Server??
  • HOOPS Stream???
  • ??HSF??(????),????,????
  • HOOPS Net Server
  • Client/Server??
  • ????
  • ?????Streaming??

7
???HSF?
  • HSF???HOOPS Stream Format
  • ??HOOPS???????
  • ??????
  • ????????
  • ?????????
  • ??????
  • ???????????
  • CATIA V5 R11, SolidWorks 2003?????????HSF????
  • OpenHSF??
  • ???????,?????,???Active X??

8
HOOPS????
  • ???????????
  • HOOPS/3dGS
  • HOOPS/MVO
  • HOOPS/MFC
  • HOOPS/Stream
  • HOOPS/GM Bridge
  • ???????
  • ???,?????????????
  • ????????
  • ?????
  • Strcmp?strcat?wcsstr
  • ??????????????HC_Set_Color(facered,linesblue)

9
HOOPS????
Application
HOOPS/MVO
HOOPS/GUI
HOOPS /Stream
HOOPS/GM Bridge
HOOPS 3dGS
10
HOOPS 3dGS??
  • ???API
  • ??HOOPS?????
  • ?C?????APIs???C,C,Fortran,Java???
  • ?????????????
  • ???????,??,?????
  • ??????
  • ?????????
  • UNIXs,Linux?Windows??????????????
  • ????????
  • ?????????
  • OpenGL,Direct3D,X11,Win GDI,PostScipt,HPGL2,CGM3?

11
HOOPS MVO??
  • ??????C??
  • HOOPS 3dGS??????
  • ???3D?????????
  • ?????????,?????
  • ??????????
  • ?????????
  • ????????
  • UNIX?Linux?Windows??????????????
  • ?????
  • HOOPS/Dev_Tools/hoops_mvo/source

12
HOOPS MFC??
  • ?GUI?????
  • MFC?ATL?Qt?Motif?Java/Swing
  • ?????????
  • ??????,??????????ID?
  • ????????????HOOPS/MVO
  • ??????,?????????
  • ?????
  • HOOPS/Dev_Tools/hoops_mfc/source

13
HOOPS Stream??
  • ??HSF?????
  • ????????,????????
  • ?????,????
  • ??2D?3D
  • ??3dGS???????
  • ??????????
  • HOOPS/Dev_Tools/hoops_stream/source
  • ??????,?????3dAF????

14
HOOPS GM Bridge??
  • ??HOOPS?????(?ACIS)
  • ????????HOOPS?????
  • ??????HOOPS??
  • ??SAT??
  • ??????????
  • ???????????,???????????
  • HOOPS ACIS Bridge?ACIS??????
  • ?????

15
??????
  • CAD/CAM/CAE????

16
??????
  • ???Viewer

17
??????
  • ???viewer

18
??????
  • AGM?????????

19
HOOPS??
  • HOOPS ?????
  • HOOPS ????
  • HOOPS 3dGS??
  • HOOPS 3dGS????
  • HOOPS ?????
  • HOOPS ????

20
HOOPS?????
  • Binnt_i386 ??????dll??
  • Datasets ??????
  • Demo ??GUI????????
  • Dev_Tools HOOPS ??????
  • Docs ????
  • Fonts ????

21
HOOPS????
  • (HOOPS)\index.html
  • http//developer.hoops3d.com/documentation/index.h
    tml

22
HOOPS 3dGS????
  • 3dGS??
  • IM??
  • ????
  • ????

23
HOOPS 3dGS????
  • lt????gt
  • ????
  • ????
  • ??
  • ??
  • ??
  • ??
  • ??

24
HOOPS ????
  • HOOPS/Dev_Tools/lt????gt/???
  • ??????????
  • ???????????,??????????????
  • ?????????????
  • HOOPS/demo/common/standard directly
  • ??HOOPS 3dGS?????
  • ??????????????
  • ??????????

25
HOOPS?????
  • HOOPS PartViewer
  • ??????HOOPS???
  • ?Tools?-?Test Performance?
  • ?Tools?-?Keyframe Editor?
  • ??????HOOPS????
  • ?Tools?-?Segment Browser?
  • ?/demo/mfc/hoopspartviewer???????
  • HOOPS ASCII Meta file
  • ?HOOPS??????????????

26
HOOPS 3dGS??
  • HOOPS 3dGS????
  • ???????
  • ?????
  • HC_Update_Display
  • ????

27
HOOPS 3dGS????
  • ???????
  • ?????
  • ????

28
???????
  • ???
  • ?????????
  • ????????
  • ????????????????????????
  • ????????
  • ?????,?????
  • ????????

29
?????
  • ?????????
  • ???????????????
  • ?????????????
  • ?????????

?????
????? ???
???? ??
30
HC_Update_Display
  • ???????
  • HC_Update_Display()
  • ???????
  • ???????????
  • ??HC_Update_Display()???????????????
  • ?????????????????
  • ????????????
  • ??????
  • ???????????????

31
????
  • ???????????????
  • ????????????????
  • ??????????????????
  • ???????
  • ??????????????????
  • HOOPS????(HDI)
  • Autodesk?Heidi?????HDI???

32
HOOPS 3dGS?????
  • ?
  • ????????
  • HC_Open_Segment
  • HC_Close_Segment
  • ?????
  • ???
  • ???????

33
?
  • ??????
  • ??
  • ????,???,??????
  • ???????
  • ????
  • ???????
  • ??????????????????????????
  • ???(????)
  • ??????????????
  • ?????????
  • ????????????????

34
????????
???(airplane) ???(fuselage)
???(landing gear) ???() ???()
???(wings) ???(jet engine1) ???()
???(jet engine2) ???() ???() ???()
35
HC_Open_Segment
  • ?????

Void HC_Open_Segment(const char segment)
  • ??????????
  • ?????????????????
  • ???????
  • ???????????
  • ????
  • ???(??????)

36
HC_Close_Segment
  • ?????

Void HC_Close_Segment()
  • ????????
  • ????????????
  • ????????????????????

37
?????
HC_Open_Segment(airplane) HC_Open_Segment
(fuselage) HC_Open_Segment (landing
gear) HC_Close_Segment () HC_Close_Segment
() HC_Open_Segment (wings)
HC_Open_Segment (jet engine1)
HC_Close_Segment () HC_Open_Segment (jet
engine2) HC_Close_Segment ()
HC_Close_Segment () HC_Close_Segment ()
38
???
  • ?
  • ???
  • ???
  • ????????????????
  • ???
  • ?????????
  • ???
  • ??????????????
  • ????????????
  • OpenGL opengl
  • direct3D direct3d
  • Windows GDI msw

/
style library
driver
driver
direct3d
msw
opengl
39
???????
  • ?????????????
  • ?????????????????????
  • ???????????????
  • ???????????????
  • /driver/opengl/window0
  • /driver/opengl/window1

40
HOOPS 3dGS ?????
  • ????
  • HC_Insert_Marker
  • HC_Insert_Line
  • ????
  • HC_Set_Color
  • HC_Set_Line_Weight
  • HC_Set_Line_Pattern
  • HC_Set_Visibility
  • ?????????
  • HOOPS???
  • ??1Win32???????

41
????
  • ??????
  • ??????????????
  • ???????
  • Marker
  • Line
  • Polyline
  • Mesh
  • Shell

42
????
  • ???????
  • ?????
  • ??API?????
  • ?????
  • ???????????API??
  • ??????????????

43
HC_Insert_Marker
  • ??????void HC_Insert_Marker(double x,double
    y,double z)
  • X,Y,Z??
  • ????????
  • ?????????
  • ??????????????????
  • ?????????????????
  • HC_Open_Segment(XXX)
  • HC_Insert_Marker(0,0,0)
  • HC_Close_Segment()

44
HC_Insert_Line
  • ?????
  • void HC_Insert_Line(double xa,double ya,double
    za,double xb,double yb,double zb)
  • xa,ya,za????
  • xb,yb,zb????
  • HC_Open_Segment(XXX)
  • HC_Insert_Line(0,0,0,1,1,1)
  • HC_Close_Segment()

45
????
  • ????????????
  • ?????????????????
  • ???????????
  • ??????????,???????????????
  • ??????????
  • ????
  • ??????????????
  • ?????????????
  • HOOPS/3dGS Reference Manual-System
    Setup-Default Attributes
  • ??????????????????????

46
????
  • ??????
  • ?????
  • ???????API??
  • ?????
  • ??????????????
  • ?????????????????????
  • marker
  • line
  • edge
  • face

47
HC_Set_Color
  • ????
  • Void HC_Set_Color(const char color_spec)
  • ??????????????????
  • edges-??polygons,shells?meshes
  • faces-??shells?meshes
  • markers-????
  • HC_Open_Segment(XXX)
  • HC_Set_Color(facesred,linewhite)
  • HC_Close_Segment()

48
HC_Set_Maker_Symbol
  • ???????
  • void HC_Set_Marker_Symbol(const char symbol)
  • ???????????
  • ()orO????(??)
  • ??
  • ??
  • .?
  • HC_Open_Segment(XXX)
  • HC_Set_Marker_Symbol()
  • HC_Close_Segment()

49
HC_Set_Marker_Size
  • ???????
  • void HC_Set_Marker_Size(double weight)
  • ??????????0.1
  • HC_Open_Segment(XXX)
  • HC_Set_Marker_Size(2)
  • HC_Close_Segment()

50
  • HC_Set_Line_Weight //????
  • ??????????0.1
  • HC_Set_Line_Pattern //????
  • ????????????,??,???,????
  • HC_Set_Visibility //????????????
  • List???????
  • edges?faces?markers
  • ?????????
  • ???????????
  • ??HOOPS
  • HC_Exit_Program()
  • ??????????????????
  • ??HOOPS?????
  • HC_Reset_System()
  • HC_Reset_System()?HC_Exit_Program()???

51
HOOPS???
  • HOOPS?????
  • ?????
  • ??
  • ??????Z-???
  • HOOPS??16?Z-???
  • ???????????16???

52
??1Win32???????
  • ???????????????
  • ??Win32?????????
  • ??????????
  • ??????

53
HOOPS 3dGS API
  • HOOPS 3dGS API ????
  • ????
  • ???????
  • ????
  • ??

54
HOOPS 3dGS API????
  • ????????????????
  • HC_???C/C????????
  • HC_lt??gt_lt??gt
  • HC_Set_Color
  • HC_Insert_Circle
  • HC_Define_Colormap
  • ???????
  • HC_KXXX()
  • ?????????????
  • HC_QXXX()
  • ????????????
  • HC_QKXXX()
  • ????????????
  • ????????

55
????
  • ???????????
  • ????????
  • ?????????????
  • ?????????????
  • ??????HOOPS???????

56
??????
  • ???????????
  • ????
  • /include library/model/airplane
  • ????
  • ../../fuselage/landing gear
  • ???
  • ??
  • .???
  • ..????
  • ????

57
????
  • ???????????(HC_KEY)???
  • HC_KEY???????????
  • ????????
  • ???32????64?
  • ???????????????
  • ?3dGS????????????
  • ???????
  • HC_KEY key
  • Key HC_KOpen_Segment()

58
??
  • ?????????
  • ???C????define
  • ??????
  • ?Picture
  • ?Style Library
  • ?Dirver
  • HC_Define_Alias(?Modal,/include
    library/model_1)

59
??????
  • HOOPS??????
  • ?HMF??
  • ?HMF??
  • ???
  • ??
  • HC_Include_Segment
  • HC_Style_Segment
  • ????
  • ??2??????????

60
HOOPS??????
  • HMFHOOPS Meta File
  • ????,??????
  • HSFHOOPS???
  • ????
  • ????
  • OpenHSF
  • ????
  • ????

61
HC_Read_Metafile
  • ?HMF??
  • void HC_Read_Metafile(const char file,
    const char segment, const char options)
  • HC_Open_Segment(/include library/model)
  • HC_Read_Metafile(data/airplane.hmf,.,)
  • HC_Close_Segment()

62
HC_Write_Metafile
  • ?HMF??
  • void HC_Write_Metafile(const char segment,
    const char file, const char options)
  • HC_Open_Segment(/include library/model0)
  • HC_Read_Metafile(.,data/airplane.hmf,)
  • HC_Close_Segment()

63
???
  • ???????????
  • ??????,???????
  • ??????????????
  • ???????????????

airplane
include library
engine
wheels
blades
fuselage
wrings
jet engine 1
jet engine 2
landing gear
64
HC_Include_Segment
  • ???
  • void HC_Include_Segment(const char include)
  • ????????????
  • ????????
  • ???????????
  • ???UNIX?softlink

65
HC_Style_Segment
  • ????
  • void HC_Style_Segment(const char style)
  • ????????????
  • ????????
  • ??????????
  • ?????????????

66
????-???
  • ???????44??
  • ????????
  • ?????????????
  • ??????????
  • ????
  • HC_Rotate_Object
  • HC_Scale_Object
  • HC_Transform_Object
  • ??????
  • HC_Append_Modelling_Metrix??-????
  • HC_Set_Modelling_Metrix???
  • ???????????
  • ?????????????
  • ????????

67
HC_Translate_Object
  • ????
  • void HC_Translate_Object(double x,double y,double
    z)
  • x,y,z??
  • ???????

68
??2????????
  • ???1??????????????
  • ??????include library
  • ??????include library
  • ?????????
  • ????????
  • ?????HMF??
  • ??HOOPS3DPartViewer?????????
  • HOOPS\bin\nt_i386\hoops3dpartviewer.exe
  • ??HMF???File-Open
  • ???????Tools-Segment Browser
  • ??
  • ???
  • ???

69
??2????????
/
  • ???????

IncludeLibrary
Driver
StyleLibrary
OpenGL
Model 0
Window 10
Style 0
airplane
Axis
WindowSpace
engine
blades
wheels
fuselage
wrings
Scene
jet engine 1
jet engine 2
landing gear
70
HOOPS MVO
  • 3D?????????????
  • ???HOOPS MVO
  • HOOPS MVO????
  • HDB
  • HBaseModel
  • HBaseView
  • HBaseOperator
  • ?MVO?MFC??
  • ??3HOOPS MVO????

71
3D????????????
  • ????????
  • ????????
  • ????????
  • ??
  • ??
  • ??
  • ??
  • ?????

72
???HOOPS MVO
  • ??-??-??
  • ????????????
  • ??????????
  • ??????????
  • ????3??
  • HBaseModel?????????
  • HBaseView????????????
  • HBaseOperator????????/????
  • ????
  • ??????
  • ??

73
HOOPS MVO???
/
Driver
IncludeLibrary
StyleLibrary
OpenGL
Window 00
Window 10
Window 11
Model 1
Model 0
Axis
WindowSpace
Axis
WindowSpace
Axis
WindowSpace
HBaseModel
HBaseModel
Scene
Scene
Scene
HBaseView
HBaseView
HBaseView
?
??
74
HDB
  • ?????????
  • ???????
  • ??CWinApp?????
  • ?????????????
  • ????????
  • ?????HOOPS

75
HBaseModel
  • ?3dGS????????
  • ?????????

/
Driver
IncludeLibrary
StyleLibrary
Type
Window 11
Model 0
Axis
WindowSpace
Scene
HBaseModel
HBaseView
76
HBaseView
  • ???HOOPS????
  • ???/driver/opengl???
  • ????MVO???
  • HSelectionSet
  • HBaseOperator
  • ????????
  • ?????

Instamce
Axis
WindowSpace
Scene
construction
CuttingPlaneGeometry
CuttingPlane
llights
Bbxgeometry
77
HBaseOperator
  • ???????????
  • HEventInfo
  • HBaseView?????HBaseOperator???
  • ???????????
  • ??????????
  • virtual int OnLButtonDown(HEventInfo event)
  • virtual int OnLButtonUp(HEventInfo event)
  • virtual int OnLButtonDblClk(HEventInfo event)
  • virtual int OnLButtonDownAndMove(HEventInfo
    event)
  • ???
  • HOpCameraPan
  • HOpCameraOrbit
  • HOpCameraZoom
  • HOpCameraZoomBox
  • HOpCameraWalk
  • HOpObjectTranslate
  • HOpSelect

78
??MVO?MFC
  • ??MVO??????
  • ??3dGS???
  • ???????????MVO?????
  • ?????????

79
MVO???????????
  • App?
  • ????HDB????
  • Doc?
  • ????HBaseModel????
  • View?
  • ????HBaseView????

CView
CWinApp
MFC
CDocument
CHoopsMvoView
CHoopsMvoApp
CHoopsMvoDoc
Application
HBaseView
HDB
HBaseModel
MVO
80
3dGS????????
  • ??3dGS?HBaseView????
  • ???ID???HBaseView?????

m_pHBaseView new HBaseView( GetDocument()-gt
m_pHBaseModel, 0, opengl, 0,
m_hWnd, NULL)
81
?????MVO?????
  • ?????????????????
  • ????????????HBaseOperator
  • ????????HEventInfo
  • ????????????

OnLButtonDown
OnLButtonDown
OnLButtonUp
OnLButtonUp
OnMouseMove
OnMouseMove

OnLButtonDblClk

CView
HBaseViewm_pOperator
82
?????????
  • ??MVO??????
  • ??MVO???????
  • ??
  • ?MFC??OnPrint???HIOUtilityGDIOutput
  • ??????
  • ?MFC??CopyToClipboard???HIOUtilityGDIOutput

83
??3 HOOPS MVO????
  • ???MVO?????????
  • ????HOOPS MVO??????
  • ??MFC?AppWizard?????????
  • ?MFC???HOOPS MVO
  • ?????????????????,??-Test-Draw
  • ?????????????????,??-Test-Orbit
Write a Comment
User Comments (0)
About PowerShow.com