Class Diagram Analisis Kebutuhan Fungsional
Gambar 3.18 Class Diagram
LoginAdmin
boundary +string username
+string password -CekLoginusername, password
MainMenu
boundary +string model
+string path +string akses
+int camIndex -onClickStartShowARmodel
-onClickStartShow3Dmodel -onClickLihatHelmpath, akses
-onClickLogin
MenuHelm
boundary +ListView listhelm
+string path +string akses
+AmbilHelmpath
Show3D
bondary +string model
+Model myModel +Matrix world
+Matrix view +Matrix projection
+Vector3 position +KeyboardState changecolor
-Draw ModelmyModel, world, view, projection, position ChangeColormodel, changecolor
ShowAR
boundary +string model
+Model myModel +Matrix world
+Matrix view +Matrix projection
+Vector3 position +float rotation
+string posisi +KeyboardState changecolor
-DrawModelmyModel, world, view, projection, position GetRotationposisi, rotation
ChangeColormodel, changecolor
XNAGame_Show3D
Initialize LoadContentmodel
UnloadContent UpdateGameTime gameTime
DrawGameTime gameTime
XNAGame_ShowAR
Initialize Load Contentmodel
UnloadContent UpdateGameTime gameTime
DrawGameTime gameTime
VerifikasiLogin
control +bool validasi
+CekLoginusername, password, validasi
MenuAdmin
boundary +string path
-pilihTambah -pilihHapus
-logout
TambahHelm
boundary +striing namahelm
+string deskripsi +string jenis
+string pathfoto +DataTambahnamahelm, deskripsi, jenis, pathfoto
VerifikasiCase
control +DataTambahnamahelm, deskripsi, jenis, pathfoto
+DataHapusplihid, pathfoto
HapusHelm
boundary +int idhelm
+string pathfoto +int pilihid
+DataHapuspilihid, pathfoto
DataAdmin
entity +string username
+string password
LoadHelm
control +AmbilHelmpath
DataHelm
entity +int idhelm
+string namahelm +string deskripsi
+string jenishelm +string pathfoto
Camera FaceDetection
control +Capture capture
+Image nextframe +Image gray
+HaarCascade face, eyes, nose +string posisi
+QueryFrame +ConvertnextFrame
+DetectHaarCascadegray, face, eyes, nose +Drawnextframe, face, eyes, nose, posisi
EmguCV
control +Capture
+Image +HaarCascade
+QueryFrame +Convert
+DetectHaarCascade +Draw