From 3c5a47665f5a100dd9f430d2387f02667e09d36b Mon Sep 17 00:00:00 2001 From: David Borland Date: Fri, 24 Jan 2020 10:57:16 -0500 Subject: [PATCH] Use PNG for icons --- CMakeLists.txt | 3 +-- Segmentor.qrc | 22 +++++++++++----------- icons/icon_dilate.png | Bin 0 -> 1697 bytes icons/icon_erode.png | Bin 0 -> 1663 bytes icons/icon_filter_neighbors.png | Bin 0 -> 2803 bytes icons/icon_filter_plane.png | Bin 0 -> 3796 bytes icons/icon_filter_region.png | Bin 0 -> 643 bytes icons/icon_outline.png | Bin 0 -> 1918 bytes icons/icon_overlay.png | Bin 0 -> 1162 bytes icons/icon_plane.png | Bin 0 -> 397 bytes icons/icon_smooth_normals.png | Bin 0 -> 1810 bytes icons/icon_smooth_surface.png | Bin 0 -> 1829 bytes icons/icon_voxels.png | Bin 0 -> 2416 bytes qt/MainWindow.cxx | 22 +++++++++++----------- 14 files changed, 23 insertions(+), 24 deletions(-) create mode 100644 icons/icon_dilate.png create mode 100644 icons/icon_erode.png create mode 100644 icons/icon_filter_neighbors.png create mode 100644 icons/icon_filter_plane.png create mode 100644 icons/icon_filter_region.png create mode 100644 icons/icon_outline.png create mode 100644 icons/icon_overlay.png create mode 100644 icons/icon_plane.png create mode 100644 icons/icon_smooth_normals.png create mode 100644 icons/icon_smooth_surface.png create mode 100644 icons/icon_voxels.png diff --git a/CMakeLists.txt b/CMakeLists.txt index 13e8c4c..229e9b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,6 @@ if(${VTK_VERSION} VERSION_GREATER "6" AND VTK_QT_VERSION VERSION_GREATER "4") set(CMAKE_AUTOMOC ON) set(CMAKE_AUTORCC ON) find_package(Qt5Widgets REQUIRED QUIET) - find_package(Qt5Svg REQUIRED) else() find_package(Qt4 REQUIRED) include(${QT_USE_FILE}) @@ -60,7 +59,7 @@ if(${VTK_VERSION} VERSION_GREATER "6" AND VTK_QT_VERSION VERSION_GREATER "4") qt5_wrap_ui(UISrcs ${UI_FILES} ) # CMAKE_AUTOMOC in ON so the MOC headers will be automatically wrapped. add_executable(Segmentor MACOSX_BUNDLE ${CXX_FILES} ${UISrcs} ${QT_WRAP} ${UI_RESOURCES}) - qt5_use_modules(Segmentor Core Gui Svg) + qt5_use_modules(Segmentor Core Gui) target_link_libraries(Segmentor ${VTK_LIBRARIES}) else() QT4_WRAP_UI(UISrcs ${UI_FILES}) diff --git a/Segmentor.qrc b/Segmentor.qrc index 11fa0fc..02e16f6 100644 --- a/Segmentor.qrc +++ b/Segmentor.qrc @@ -1,15 +1,15 @@ - icons/icon_overlay.svg - icons/icon_voxels.svg - icons/icon_outline.svg - icons/icon_smooth_surface.svg - icons/icon_smooth_normals.svg - icons/icon_plane.svg - icons/icon_filter_plane.svg - icons/icon_filter_neighbors.svg - icons/icon_filter_region.svg - icons/icon_dilate.svg - icons/icon_erode.svg + icons/icon_overlay.png + icons/icon_voxels.png + icons/icon_outline.png + icons/icon_smooth_surface.png + icons/icon_smooth_normals.png + icons/icon_plane.png + icons/icon_filter_plane.png + icons/icon_filter_neighbors.png + icons/icon_filter_region.png + icons/icon_dilate.png + icons/icon_erode.png \ No newline at end of file diff --git a/icons/icon_dilate.png b/icons/icon_dilate.png new file mode 100644 index 0000000000000000000000000000000000000000..a7504b07b7d25cb1e231919920bcace21c9cf940 GIT binary patch literal 1697 zcmV;S244AzP)89BRnvm2>tW6W!#cXIr+mu!- z2nr$rnLennyQT#CP^93SSVP}bd=Ui+Y4%c5AFQo{Rq2DYl2VPLC2dN(g_6XWXiVEA zChlf8GoLR_NR!!_IcLU7VSkV3@;~2yF6R!EC{d!seFWW$MpRWT_xXHf0C4>H@hJd& zFWNQ2b;GKv`h&sXvjCnaq9>VoD}d0lBJ%)-0sI8uoZs(1)z#HC>2@5&aLsUgdwadE z>j#zZjrv_dQvYhmV3Wa^5-%=?ChhPvTm z=PDEQM*zy)3cv=@SS z?viQ*;)cHkpc&fCIyKHqZZAnV!vNWhIMJQBh%* z{eXy;(|xH`i*ZG9f2+%ECG@~8VP?~@ornyVtHqEuTv=K9uu*-p3BL@})6-V_T|zS* zX~PQ(3y&J5yZwf5+_+&?+8el=%{5`WhqKx~>8Jeac5{VQ&Vp$}g&tq(C z45Oo?7#SI{{9l*D%zZsQJ%%ebGo%bNbE8Qfu3Wi-YuB!!rltl}RaNl&{Yy){Y&MJ8 z*;&la&f@m%+jbArR-!A4@&+WXKgnKKsI@AfX&T1I$6a3^-{D9ik@!WXqHHhi?sQ53 zB07~!CXdM0moiL5?k{@n@g+0A0tYwwWZ&=~vJFbYMD)Sj+}z8_WYW>nNp@H|ttiT2 zCk@+$nMVP%CzHuDZs$Mg+d|G+uQ5zCN~`3e^OPoJQxff25?9^DT)FV2 zs%m*fMMayg>${2Q2>_1(SifAKnHPv?0>C(c>qIoD>-vD#>+L&w^yn=&;;_Sic0s(e rvs1}rGD~m$|GpSrqC|-j_a*-V@PP6I@Hu_j00000NkvXXu0mjf+`J`E literal 0 HcmV?d00001 diff --git a/icons/icon_erode.png b/icons/icon_erode.png new file mode 100644 index 0000000000000000000000000000000000000000..358dac32f6f7655043320a9233a4385eff1e8b92 GIT binary patch literal 1663 zcmV-_27vjAP)e7<3O~4sgN|V?G25gg3>ZLK8(%gF6 z+k8G)L(R_2&N(wy3j2FJ=bQie{&WA%IY5mXHEKLS(ES)Bo6Sbb<#HGR`uqDAiHPsV zxMp~6Sl9JnE|(hw@C*_40B8qLe@{prz!hdbM?@KBKA~yaHLvrq!ZX8X&YWoxLL4BX z*8ns~99jhMonaX74h|0fTMl*L7UFbP4%<-ZUl{ z3?d$nqqDOUp-`xrCx@Uc~tLI0}V=Bi&Fagx=m> zY}&M`S||f}Dw#~4b0lnn>`Uu6+iaMT&1Nw=I_lUg0Oa#|3=a=uVqyZ!wsi#oIP6&1 z1X;sB+jZ)?j_K)Xr9_w+Q&UrznwqK>nj9J$+MzTEBn=B8egIH5>noK?n4Fwc&104G z=g;Hv<;&IbcuQ4Z%JAJcWX7y-ets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U5jlxyD`F*C6V^S}+=Hz?9p(=P0L+|eK37*)Pibjsd6$T0^y(l<5>B5! z-92&QL}X@Wnm*sy$=`~_Uu`7b`Dx{n!9=P<_9co>&o6%S664PLlZMU7w6v! z02?=M%wp!h0GJWqfe>QYxpU`W7_r|@lBBQf^057eo12@z9}0!y#Q^|y0P+Al)fY4^ zEe}9*X=&+jAw;ezC!&_;pMQP^5#=y*J`p_&;Cq&MEX(pf08kXAl$raj@>WEnQM9(U zV*L2=h7jVWhaW3!zu{0Qw7}ZV&CTr|IdbG=kH@oyhzKnM{9V4bhiiRe=R z9}&?8^d}1dJ9q5Zajtjqd(o<3=2ZZe1L!N-U%h%2x~?B{yWKr@dDtRcU0po_mebPk z;lq)en>*~j`|g|9OYExEo``Y*!0Yw)0MKmavLC=p0HCVs&zX6eMfb(3RjX8w$FnUf zE9;mkGzi|HKr1*PnvAIPNQ88i#_yNJp#{rah zz25m=ueV24)z^sV?Krba^I`1Rv7@YtU@-V^I~+{dBD{9(+BPEUTdlggyTQyMA;i%W zCr&8k<>j9Nu-Pg>-7R)RaJit z;7#AoD1c2`fAx>PreEC>sXXm}Gt*z;uot;m|xxHmKeqTR{7_VNv z`UHSy0fYxJ)$h3DjyDsDy>jKs7G_=n%Vh&VdV70&`uX$c(b^h60PvB=ta zEqOeieL{#i08R{~Cn8LkFd=Qyq)8uYnpTux>|L3enJXk|(6mnKx?Y?}?7sYl;snHQ zF)b}Eg+$~|OG|sq;c(CbUORK8d{3?1L3gC#d(_z&)-N?OwqIf4KH002ovPDHLk FV1gy4K_mbG literal 0 HcmV?d00001 diff --git a/icons/icon_filter_plane.png b/icons/icon_filter_plane.png new file mode 100644 index 0000000000000000000000000000000000000000..ccb025f37ceac50dff69b54f696d0e94384c7685 GIT binary patch literal 3796 zcmWkxc{~&DAAh#F+|}2-pBJ~I9#+55t0`I0EnDFheUCs`TwT?A9pp| zV?=NRPo&j(X94a=6u6G(o(03sU5NxhviScKVldXRz`c}n9(me1;P#w5mLN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1Z_I3p`g24$w3zWbV6u z4JDv%T6j(+Y_4qoBi^f4VVsY;)Ly?koq^xw9RDlpMVhzWO~Z?Ef1u#}S*{6Ld8hmj DXy+r< literal 0 HcmV?d00001 diff --git a/icons/icon_filter_region.png b/icons/icon_filter_region.png new file mode 100644 index 0000000000000000000000000000000000000000..c27259f51d5c5017c52d84244abee0484405c596 GIT binary patch literal 643 zcmV-}0(||6P)8`r|p$}Pl3trlFd5MQwLg$%jJLbA?=m9_8$7S6AllY1uj zJegrK;GA>LIp>^n&N=7Y!6NhAtkdZ%B}vjK%kooE6yN5#_tabhXIXY)JRaW$t^qY* z0=!h!J2A$4^9*kuxZCY6*J`!Lz^T8qd=Zf}&+`rIS-?1OyWKvPB*`0KX`j}Kh+NO} z{DI{>@cZ^MlO)MHyTg{MdLMW-(^`))=4qOqwwwoy0|RHOg^09=!(lsw&;(Y1t;*Wr z7~@UjdCUX9pQ+DJ4?+l=lgZ>Nu=BuD)wO=Vf825)>%fnII4x9lwYpdo#kPptoz^0< z5M#VzIgn}K5W+j)dF7+CtyZg1?NQaIGxa&knXIocRBl=R{0Hw4k+0QSRd@X$|JytQ zH!H`VN2AfWQj4mt&-8z^9A?4t%hNPH5@TGP)*|wu*Xvyrk&~+06p=OHLgf^#*XyP) zAf|z1j3w{`XaK0{vWUC@5ZUvcCm#$3Z!KrCerWv!p8aF{6X1s7IDqjL1`v_1sy+lR z@3pR~uSMim2w@1Q`8?Je0AyKqs4UA%s=5LkRn_kzvJGs85VrO^-#O=;bIv*EoO8}O d=bSsJegVQzq>qeRx?BJN002ovPDHLkV1ftMD+B-l literal 0 HcmV?d00001 diff --git a/icons/icon_outline.png b/icons/icon_outline.png new file mode 100644 index 0000000000000000000000000000000000000000..2e72b460228b724e820f3cb0e466e403b559817a GIT binary patch literal 1918 zcmV-^2Z8vBP)&Gsbmqf+SgBOPLH8X;riLq(ikg|3xdOl@0P6v)1Mq

yZpaX9sSF_DSkiHV67xm@lW07?MPNg?qr$%m9u_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8@CAmD>48^fEUq8-!+iYP zQ>|95))ALgI`+pNz~3D-oY}f{>nSrcGru5touP`>T7Sz{FK1hkBh{KrrpyK?u#;$_130Nf5>v`0=abUK~eU9_zY!+Zu^ z>(XH_^7;HqrPS8}+=k>g{0>J^biL~fE-r>+7blX}_`bg#z>m_r)RNEVFH}lx1aKpO zaTqogC-nK2=Xuu#LGV}C{;V(1OQq6kt@X=2+Pnkcmn5GSk^NB={UeH^!^eW7qoZeQ zt=nb^?rpCzc0tLZ{NNHYuBzl1mJ5}p65yL0QhkfMYq)J^-SIc zOOGWIxHhN~t~nQ-AU} zk;Pkyv!WE8stGirvLx|07*qoM6N<$ Ef~@Y0(*OVf literal 0 HcmV?d00001 diff --git a/icons/icon_overlay.png b/icons/icon_overlay.png new file mode 100644 index 0000000000000000000000000000000000000000..a0c0adf10860f5a870394c57a482a4634e9423d0 GIT binary patch literal 1162 zcmV;51aR3DflMVp>Ha_h=L50IWrRyAFQc@rP2pUrGhsUgn*;()MFkrxC1g%GrD2hgk#o{Ian46pX833jYi{)bsuYCX1H3dj(hL- zG4oRZt`tZ!B6=6V3u&5uY}LRihxWA=L53@p z%1$DB1Hg4g{Q$tP%)GbL>C77DJcrtFk|Y)HeUpfWEF1aVZqF_lM3QEzJr-x*J!0M^Pc79Z~}Jrs?Mzq1NyfN?kBSbhzDaAJpnqhKcBR zZNWg^VdlpWFv+J~;UBaGl`s*#yt=x&yWMX85t2wXa+K%!5$D{2kiz}K%-;g2w%hGv z7Wq^w-0gNh0q~JU0~cTgz_Y`{!xNoO$HXk4TwwqpqCL!f4EAFXCjq>cWm!5qJ1aW+ z^+V7ILli|L<#PD|fW7$l#H<7lU=hF(=iFPZR_n8np8gM$nT;rlMn*?RC%yN(i0DoL z+W>4iKR+|~i0CH(-vc;FM2p`0FNcPPPE1cvpS9?tA1>OEO1)lpOG``VR{c^Bh7TAp cV8CU`U;0TS@FEORF8}}l07*qoM6N<$f(le3x&QzG literal 0 HcmV?d00001 diff --git a/icons/icon_plane.png b/icons/icon_plane.png new file mode 100644 index 0000000000000000000000000000000000000000..ade77985cb7f728a35716370d8ff579d967dc5d4 GIT binary patch literal 397 zcmeAS@N?(olHy`uVBq!ia0vp^HXzKw1|+Ti+$;i8EX7WqAsj$Z!;#Vf4nJ z2+aavMx(2{UjPLqOI#yLg7ec#$`gxH8OqDc^)mCai<1)zQuXqS(r3T3kz!zAsk2N3Hne5;4kV#32J!vbm=F)Tq{j_ft?Y94)z1z>Qujt(UrNu`dOu4jrW^DHJ zvLko@>OTLov*f|TlG|tQ70!uZ*l_!q>(&R$OTXu=-?mfY%nPBt7rxuhT6QzZ`-aVV zi8jR&b(uS*vbVPN#@#+*;`{KyW!p^F&A|rNL=w9{=+7&ZDgT=^6E=R z6UzVZygp&;6|?J2_6$E(b#HsR{cN}2cgGl)CjtK$KJ0bO=s%Nu1Q>J-p00i_>zopr E09h2JrT_o{ literal 0 HcmV?d00001 diff --git a/icons/icon_smooth_normals.png b/icons/icon_smooth_normals.png new file mode 100644 index 0000000000000000000000000000000000000000..201ba0ebf25ec75f0ebed58d0f31b5ede72fae22 GIT binary patch literal 1810 zcmV+t2krQYP)_`~$1Bw&KIFdddkqZ@Hv{WLWVNcU z1TGxc>V?8plo<-ci+iy1Ke{mX$XFdw{hQi=_bR zM!*GLg5YXkq?+-RZLiwe+A^xzBO)f#cRHvMk*}^=wd$hQ*46_D4<1zDdf*wLrL1i) z@OelL0Jj78LG+iYj9UpF6`Ko05?xM65$=$d24j-^%g4?uHS{X@V;U>KsK;Dj*p zAXVPoF&IzjY&P2hJPXvCa!qmO%o+CY->*#UX8?Q`c+keC%{u%5vmh3rP$?ab}7|ix#nA!v=%@r@ zx1K(I`l80hM(XS5?nWaF!>9WC`d*%H`?3+P|1hK<2WKB}Sy|gJ0KW#d0ADT^i&qp1 z1&$m!60^&(VRV8U6PyNj3k3Zjcg#SiW)c^hG)_a!3End9XS+izM zjZya!hKMwow0GeBmmt+jDKOT{)b~Cezzx7spnm=O_5W;cE)OQoE>zVhOguWJ|NRdL zegna0A@~rG0oex>CpLHg2K)(lW3*sSN7n|GmZdi#*a5}$5G)0`6X*us8NW37zVBgn zhcqJ)5u<(m`GR;76UKl^V{5@t6rE=on;nE4$sZ^@Vlw&10ilSM+aw&(Z9?s=*y{0@X!K!+t z4KG1Nj^k{>BK^rWPiv_q&l<&Ik>1{31_uXOwrtr`{r&wf*x0cZyvUMgjgu!&GB8kD za)*Y7z6AUdxR3LsIF!R`N{h&QHoQ2fu&et%u#1TYm=x4Z`MTMz!>?QNY@sVwtoSXZ zix zwa%s$kvmoO0LiC8ya@a*2!j01ojWTX{gl#=)vLh$;5d^fsNqnX6m8u`*jTs z4L<_zVPeLt2_oP)@TB87dvm$m(dkoDUEpl0Tqhf$_~@ikyFN~Y@B4KN7A$CuqUa_O z`6O^DrQFDK_EmL6L<+ze;6)KR9!1gL)9Li#?c2A%W$x9@0y(N{cn*S3mlw|134ZI= zt}_A3k-|mn{CLzW@LL07*qoM6N<$f&i>x AkpKVy literal 0 HcmV?d00001 diff --git a/icons/icon_smooth_surface.png b/icons/icon_smooth_surface.png new file mode 100644 index 0000000000000000000000000000000000000000..7bbe36f743542632d9f884fe77bb6b6051a7a584 GIT binary patch literal 1829 zcmV+=2io|FP))^Xs8i3xw(wr%?o5F3Rdf<89_~hi|{ey#p7pm22M?1J&3LiXpaI&wj@3SBX zNU2n6sH*SV+y?4-UL&pR3L}nVNGTzN_#zC$qx<&lqFQ`ZAf z>Z(SVyn6NOZvfuy1Te|+<&lw*y^iDT(Rx*w;3mA@2ua|o9F*&wT-{GDEG!%<92mg! z3RH(RKer2SgVyU^Q=d>u&tAH8X-lENgpgeT8h|=zt7EOwUV-Z>tJ*e(tStaOEEG77 zW5)zjW*$#+vmx|USIU}Wv-%y!abCT6@#3?E0XvTKhvirkxOpzi@i>kV$ML#-?YtwU z{2)urrey{G!FJpXOdYcXyv|jR%oszhRznzuV2nWs0V!pZ*RLth&d%=161Q%dfEi<7 z0}x42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@G(W`4=6t^qr1xDdGaDW%it#Nx$^li8J~ zX>08)DLaJ20AL&*?geJfoC&Yjn|!7#91b6=si}G6E^29EXG&iMP&RAUtaCyL6fQXI}(e8B0%)FYJf1L7BKnU?}I$0uW@OV65EGjB8mJQ#$d2{>Lty^EV5jOyP zg#QHKaUsN#^78V_RaI5pm6es_s{hQ~-PYFjhjhvn6%`YYlV=YcI518&5D3h0yWQW{ zH0=>%3QH-aq9|)OZ{B>!M$AcACM<+FD5ZQEfRIxDrnR;8TW8LkxvQQTG&MDqD2lQU zzzYD14YILVtZ!sw=$`Fs~cp-?-33L^T7l=8gS>-|+nM+c;|_HY0Z zp{S^+tfi&pMP~jsfG=SDR@p^FTk7iS4rl98V_PMj*4EY>Ddk}R$wIuQX&4z9K_n7^ zl=97zl9FFC^NkcWH!~Lx4-Y@1Y1%5M(}~>N+)Nk0zYx*RYuB#576=4PJ;rDjlX{xA zrKM#pGdDs%OiU6V5YbU7setExclusive(false); - QAction* actionFilterPlane = new QAction(QIcon(":/icons/icon_filter_plane.svg"), "Filter to plane", this); + QAction* actionFilterPlane = new QAction(QIcon(":/icons/icon_filter_plane.png"), "Filter to plane", this); actionFilterPlane->setShortcut(QKeySequence("p")); actionFilterPlane->setCheckable(true); actionFilterPlane->setChecked(visualizationContainer->GetFilterMode() == FilterPlane); - QAction* actionFilterNeighbors = new QAction(QIcon(":/icons/icon_filter_neighbors.svg"), "Filter neighbors", this); + QAction* actionFilterNeighbors = new QAction(QIcon(":/icons/icon_filter_neighbors.png"), "Filter neighbors", this); actionFilterNeighbors->setShortcut(QKeySequence("k")); actionFilterNeighbors->setCheckable(true); actionFilterNeighbors->setChecked(visualizationContainer->GetFilterMode() == FilterNeighbors); - QAction* actionFilterRegion = new QAction(QIcon(":/icons/icon_filter_region.svg"), "Filter region", this); + QAction* actionFilterRegion = new QAction(QIcon(":/icons/icon_filter_region.png"), "Filter region", this); actionFilterRegion->setShortcut(QKeySequence("l")); actionFilterRegion->setCheckable(true); actionFilterRegion->setChecked(visualizationContainer->GetFilterMode() == FilterRegion); @@ -456,14 +456,14 @@ void MainWindow::CreateToolBar() { toolBar->addAction(actionEdit); toolBar->addSeparator(); toolBar->addWidget(CreateLabel("2D")); - toolBar->addAction(CreateActionIcon(":/icons/icon_overlay.svg", "Show overlay", "q", visualizationContainer->GetSliceView()->GetShowLabelSlice(), &MainWindow::on_actionOverlay)); - toolBar->addAction(CreateActionIcon(":/icons/icon_voxels.svg", "Show voxels", "w", visualizationContainer->GetSliceView()->GetShowVoxelOutlines(), &MainWindow::on_actionVoxels)); - toolBar->addAction(CreateActionIcon(":/icons/icon_outline.svg", "Show outlines", "e", visualizationContainer->GetSliceView()->GetShowRegionOutlines(), &MainWindow::on_actionOutline)); + toolBar->addAction(CreateActionIcon(":/icons/icon_overlay.png", "Show overlay", "q", visualizationContainer->GetSliceView()->GetShowLabelSlice(), &MainWindow::on_actionOverlay)); + toolBar->addAction(CreateActionIcon(":/icons/icon_voxels.png", "Show voxels", "w", visualizationContainer->GetSliceView()->GetShowVoxelOutlines(), &MainWindow::on_actionVoxels)); + toolBar->addAction(CreateActionIcon(":/icons/icon_outline.png", "Show outlines", "e", visualizationContainer->GetSliceView()->GetShowRegionOutlines(), &MainWindow::on_actionOutline)); toolBar->addSeparator(); toolBar->addWidget(CreateLabel("3D")); - toolBar->addAction(CreateActionIcon(":/icons/icon_smooth_normals.svg", "Smooth normals", "n", visualizationContainer->GetVolumeView()->GetSmoothShading(), &MainWindow::on_actionSmoothNormals)); - toolBar->addAction(CreateActionIcon(":/icons/icon_smooth_surface.svg", "Smooth surfaces", "s", visualizationContainer->GetVolumeView()->GetSmoothSurfaces(), &MainWindow::on_actionSmoothSurfaces)); - toolBar->addAction(CreateActionIcon(":/icons/icon_plane.svg", "Show plane", "o", visualizationContainer->GetVolumeView()->GetShowPlane(), &MainWindow::on_actionShowPlane)); + toolBar->addAction(CreateActionIcon(":/icons/icon_smooth_normals.png", "Smooth normals", "n", visualizationContainer->GetVolumeView()->GetSmoothShading(), &MainWindow::on_actionSmoothNormals)); + toolBar->addAction(CreateActionIcon(":/icons/icon_smooth_surface.png", "Smooth surfaces", "s", visualizationContainer->GetVolumeView()->GetSmoothSurfaces(), &MainWindow::on_actionSmoothSurfaces)); + toolBar->addAction(CreateActionIcon(":/icons/icon_plane.png", "Show plane", "o", visualizationContainer->GetVolumeView()->GetShowPlane(), &MainWindow::on_actionShowPlane)); toolBar->addSeparator(); toolBar->addWidget(CreateLabel("Filter")); toolBar->addAction(actionFilterPlane); @@ -471,8 +471,8 @@ void MainWindow::CreateToolBar() { toolBar->addAction(actionFilterRegion); toolBar->addSeparator(); toolBar->addWidget(CreateLabel("Edit")); - toolBar->addAction(CreateActionIcon(":/icons/icon_dilate.svg", "Dilate region", "c", &MainWindow::on_actionDilateRegion)); - toolBar->addAction(CreateActionIcon(":/icons/icon_erode.svg", "Erode region", "v",&MainWindow::on_actionErodeRegion)); + toolBar->addAction(CreateActionIcon(":/icons/icon_dilate.png", "Dilate region", "c", &MainWindow::on_actionDilateRegion)); + toolBar->addAction(CreateActionIcon(":/icons/icon_erode.png", "Erode region", "v",&MainWindow::on_actionErodeRegion)); // Need extra logic for interaction mode QObject::connect(actionNavigation, &QAction::triggered, this, &MainWindow::on_actionNavigation);