From e7bd585b2850c250af4a4e2fecc30cbe940cd6790296aafbad18f067e500730f Mon Sep 17 00:00:00 2001 From: William Cardoso Simas Date: Wed, 18 Nov 2026 10:40:33 -0300 Subject: [PATCH] first commit --- .classpath | 6 + .project | 30 + README.md | 11 + bin/componentesVisuais/ClsTextPane.class | Bin 0 -> 4154 bytes bin/componentesVisuais/desktop.ini | 5 + bin/desktop.ini | 5 + bin/formularios/FrmSobre$1.class | Bin 0 -> 734 bytes bin/formularios/FrmSobre.class | Bin 0 -> 4208 bytes bin/formularios/desktop.ini | 5 + bin/formularios/frmPrincipal$1.class | Bin 0 -> 857 bytes bin/formularios/frmPrincipal$10.class | Bin 0 -> 884 bytes bin/formularios/frmPrincipal$11.class | Bin 0 -> 1896 bytes bin/formularios/frmPrincipal$12.class | Bin 0 -> 1309 bytes bin/formularios/frmPrincipal$13.class | Bin 0 -> 1369 bytes bin/formularios/frmPrincipal$14.class | Bin 0 -> 1161 bytes bin/formularios/frmPrincipal$15.class | Bin 0 -> 685 bytes bin/formularios/frmPrincipal$2.class | Bin 0 -> 756 bytes bin/formularios/frmPrincipal$3.class | Bin 0 -> 848 bytes bin/formularios/frmPrincipal$4.class | Bin 0 -> 890 bytes bin/formularios/frmPrincipal$5.class | Bin 0 -> 832 bytes bin/formularios/frmPrincipal$6.class | Bin 0 -> 1564 bytes bin/formularios/frmPrincipal$7.class | Bin 0 -> 1562 bytes bin/formularios/frmPrincipal$8.class | Bin 0 -> 923 bytes bin/formularios/frmPrincipal$9.class | Bin 0 -> 883 bytes bin/formularios/frmPrincipal.class | Bin 0 -> 13655 bytes bin/grafico/ClsEixos.class | Bin 0 -> 619 bytes bin/grafico/ClsOnda.class | Bin 0 -> 2748 bytes bin/grafico/PnlGrafico.class | Bin 0 -> 1845 bytes bin/grafico/desktop.ini | 5 + desktop.ini | 5 + src/componentesVisuais/ClsTextPane.java | 130 ++++ src/componentesVisuais/desktop.ini | 5 + src/desktop.ini | 5 + src/formularios/FrmSobre.java | 136 +++++ src/formularios/desktop.ini | 5 + src/formularios/frmPrincipal.java | 717 +++++++++++++++++++++++ src/grafico/ClsEixos.java | 19 + src/grafico/ClsOnda.java | 90 +++ src/grafico/PnlGrafico.java | 49 ++ src/grafico/desktop.ini | 5 + 40 files changed, 1233 insertions(+) create mode 100644 .classpath create mode 100644 .project create mode 100644 README.md create mode 100644 bin/componentesVisuais/ClsTextPane.class create mode 100644 bin/componentesVisuais/desktop.ini create mode 100644 bin/desktop.ini create mode 100644 bin/formularios/FrmSobre$1.class create mode 100644 bin/formularios/FrmSobre.class create mode 100644 bin/formularios/desktop.ini create mode 100644 bin/formularios/frmPrincipal$1.class create mode 100644 bin/formularios/frmPrincipal$10.class create mode 100644 bin/formularios/frmPrincipal$11.class create mode 100644 bin/formularios/frmPrincipal$12.class create mode 100644 bin/formularios/frmPrincipal$13.class create mode 100644 bin/formularios/frmPrincipal$14.class create mode 100644 bin/formularios/frmPrincipal$15.class create mode 100644 bin/formularios/frmPrincipal$2.class create mode 100644 bin/formularios/frmPrincipal$3.class create mode 100644 bin/formularios/frmPrincipal$4.class create mode 100644 bin/formularios/frmPrincipal$5.class create mode 100644 bin/formularios/frmPrincipal$6.class create mode 100644 bin/formularios/frmPrincipal$7.class create mode 100644 bin/formularios/frmPrincipal$8.class create mode 100644 bin/formularios/frmPrincipal$9.class create mode 100644 bin/formularios/frmPrincipal.class create mode 100644 bin/grafico/ClsEixos.class create mode 100644 bin/grafico/ClsOnda.class create mode 100644 bin/grafico/PnlGrafico.class create mode 100644 bin/grafico/desktop.ini create mode 100644 desktop.ini create mode 100644 src/componentesVisuais/ClsTextPane.java create mode 100644 src/componentesVisuais/desktop.ini create mode 100644 src/desktop.ini create mode 100644 src/formularios/FrmSobre.java create mode 100644 src/formularios/desktop.ini create mode 100644 src/formularios/frmPrincipal.java create mode 100644 src/grafico/ClsEixos.java create mode 100644 src/grafico/ClsOnda.java create mode 100644 src/grafico/PnlGrafico.java create mode 100644 src/grafico/desktop.ini diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..4260b4a --- /dev/null +++ b/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/.project b/.project new file mode 100644 index 0000000..183810e --- /dev/null +++ b/.project @@ -0,0 +1,30 @@ + + + sisPDS + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jem.workbench.JavaEMFNature + org.eclipse.jdt.core.javanature + org.eclipse.jem.beaninfo.BeanInfoNature + + + + 1680217338092 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..6f9d53d --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +## SSF - Simulador da Série de Fourier + +Projeto desenvolvido na disciplina de Processamento Digital de Sinais do 8º semestre do curso de Engenharia da Computação do Centro Universitário Católico Salesiano Auxilium no ano de 2015, sob supervisão do professor José Vital Ferraz Leão. Este software simula a construção de ondas quadradas e triangulares através da superposição de ondas senoidais. Implementado em Java. + +Também participaram deste projeto os alunos: + +Claudio Barbosa do Nascimento Neto, David Allan dos Reis Borelli, Guilherme da Silva Oliveira, Jessiclei Ferreira Rodrigues, William Cardoso Simas, Tamiris Ayumi Aoe + +Abaixo, o funcionamento do sistema. Clique na imagem para assistir o vídeo. + +[![Watch the video](https://img.youtube.com/vi/D0LzqdL9hyA/hqdefault.jpg)](https://www.youtube.com/watch?v=D0LzqdL9hyA) \ No newline at end of file diff --git a/bin/componentesVisuais/ClsTextPane.class b/bin/componentesVisuais/ClsTextPane.class new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..809ea569b5a73aa47594a8fdfaa92ddd1e1064fc5aeac6786454186009e84498 GIT binary patch literal 4154 zcmbVO>sAw27~R7y21W&JKr~*0TDcU{R&A?bH3YCI0t%v1t4@+3j810a%*1P3wfFw* zo3yJSZP)4p^ga3-UESx*WJn|t^iSr@oXg(d{`UF4{PW+Re*-v!pCf2cus>@TingU& z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J6 zx$VMXs1Erh4`Z$d;c;&$BI9C?VJ*w@D-()Kp-lKPGE%FKOpQM}Tcx-W`gDEV+v@Q_EvM-f$qd|(SI9jV08c+?Zg8Slk{VX>nl z9(T!?Jx`L3mBmn>$=2K^SrwkSIT4A~F8U1XLFb=__pSMzR@cP}!_u_VgJg87dx`K+ zL&d)C_^4xz!Aphd%2Z||o#35S&q#0me+&%sL#{;3Gfal%zYP55BI(|#9w(7FkoF1| zrpNi%8X#}`DvEU~)!HEthnIiIom2c>MkvJwic zj1sG4XpLVT6Ey0@U91ycfjAquM~DvY6J`z%(4^hL1|FeJk=1RL*k_Yg4jVrKR=CJO literal 0 HcmV?d00001 diff --git a/bin/formularios/frmPrincipal$10.class b/bin/formularios/frmPrincipal$10.class new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..8b78f920aecf52e29414edd9c50f83d719d4247b3e6c9092630cef9902b0c411 GIT binary patch literal 884 zcmaJ)6UZ*nk3Q2TLdMRzPCY5JlOShWd<~c$=rxL5aKZw~z)% zJn#efQHblV(g0B+IljI+_uO-?{p07i?*Lw4(}BgXbev|xQNlBs=D~3`JjkSqvd3^zSED7h%0>Y8kRvodb~>@gine^}~NU-ZAdGt$rB|EIPQu(3s}e!xEMm zDtQtg>UdwpoRr)i(|!!{3rPchdz8pnWL?8{*TX8-2rres#bUHnEvkf$bB%6Eh+4G#2=bUqY|NG}(0nB4hhQtuv z;dZNSYPP|h)Q;UM*@jg&_BAs$Gb1C&5Zlw9YG0?E1H)>jT&-s6sl}S(+FIS+6sJ6I z=qAIkquYjNR&?7jxV4pCW?<_KLm6&4u4cIv&1~y^i9@48aVAIRJ*R3Kc^k1aMx(8H_Rn z;)#lk3zR}{7z*BD7%Uab**|}KOTVImDCuX48wxHn3@qkLx$NfF@`{3Y=~!CX5K7BM z;paUSAq+B{%^8+nXt!#*?a@UMg33Yp4mEW*L&UYLg4WU* zM&sGUN$drzc8dy-WjNDCWO&v-DNa78C;K>Fsjhix33>QzMTEz?!gfcAmq1z~0 z4Nax*fvDNXz(yVdO|7Yq@$; zw^hvH27}`APGf`+!Ce*ius|L3RJ2rahv9ns7ze)N6KDzHHkL%uGlIBd5WndX6$L9q z5EW6V-dC{(qN-op-`A}M!_-Nb|C#Z#N(&PYMEp61^YIhH5wsUn6j7oCd2P>UHN2f` z+S-m$=c$b82qBr;z^05cbyLqP6PPQDM3RI#hPG`jfo2 z?{{#h%-eQdUo}kX%aP+Z$+SRI>?>B?kFp_+Yb4mFvBGo|nV!0X&kCm%^;Y;OefA~uI6~=!eO$k>$3*=2o zU_hG0HCo>%nMyXv5@NVUD>Wo;_+HY45?Wnf23{4j0hA`%7aHbDn49{OB@M$ z&yd7~Z)nmx6GVQ|W8>Db5TtGhlU?Mjk5njxk(Ze2#osxGSGxFF-0FB{Aq43QJPUtN zxby>U=<{u7@rWO%{Tw|@^fZ6L?P@gm_zgaKgZbB33@;yI^$_cY=g1TOIqnOMP9*v0 z>>(Z=saCqGS9_Em`Np<=jVZxnz$-_RiVP`@fHa4gbPw~=0v4ntWTXsMr4{T-t9T-< z;d|+UmuIq*OPA|s_`>6w^23+3lgRFO_zI6{)yRvAzP}KY5sCK2t`N3HG6{7wXbsW? R>)54T$mf{0FzAsm{SSKPq_F@1 literal 0 HcmV?d00001 diff --git a/bin/formularios/frmPrincipal$12.class b/bin/formularios/frmPrincipal$12.class new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..591cad550bc73cb7409bb5169a5fc10d67aa56d2a5b51694eeebb54ee650d097 GIT binary patch literal 1309 zcmZ`(+foxj5IwWGVO%bPK|xVb)UXJPhibBfALe)ed0*00 zPfPO*>>fjVQL8ZGDyneV6e)r?A3{$@>wY*i&d^^zh)024<2d@V zRMdctQ#j4g8;WR22mV{FA}(j8UssJ7FPSe5R}Nti=Q23UaQq-iZ4BW&Lz}K{JXAGK zm3BWb*8{%hd)h6^&^QVEB8D@_lW2c!*>EsIU7_lWnws97|AV~L0Uc%-wJ`>lnoo4+ zxc90a=%%VM^z5nP?v-ky4e86clEDN+hf(bJo{dRdWk{_om7Xk6U-zqIj?z|S8pm+- ze_GS_Ycq1D&vD}YvNL4;a9K!dfgoONl_Xi`;iC4MBuOIBTjVT}9Tg8mgJv4fMj zbn+dJInFjZw{a$yn%KdG9b9@(aGx+vmh*v5CScG`nJm^*bXXPiSS#qWp24wJF>1ZQ zr1dgpv9yQOVnLYny%sZ@!gbt;E1AMg6k-jgaEq*@;YNRG)1-&7?vRzn4B1IoqiK51 al5JrQ#n?B9dE6z-45_Kve3s~EVekj&i7;LO literal 0 HcmV?d00001 diff --git a/bin/formularios/frmPrincipal$13.class b/bin/formularios/frmPrincipal$13.class new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..e4d0ad91f3c59a16c8a4e739df7adfc992719191e8b4ffced0d3a680d59d7b4a GIT binary patch literal 1369 zcmZ`&T~8B16g{)8EYtH4IT@-Anqr7TLv)aAb0ldqQR` zUkXQf3^j7o@_Ppu+B4Ncq{wU3ax6K{&>5@l7GGruPP$o92ZnkBI%-1*pwU1b!VH0! za%jw0j#$WVuL*C3ui1j3Ipdn#UZvF3xnv9~S`@BoG|HQJoi$Z9Pjgu=38^QRsgm!s zN<9@{twRLuIxa9os%2}S0~Z+#xhE&KbG9Y(S%QvKAkVFcJvn0uJDUoj3*9=R3~i@l zmpu&h;1YwrA*8y+&>D*uz=~omOHy)!V0v*?#}$UAvXE&qZsQI$gLs|iHmOrVqu6z+_=^xmkkWCl0$|F`leh*(F-EEtGAWw=Ln)Ob zKBeP6Wl^rh^qwhl(sCWjg7oOB(Bo8R7nP<)6rSf2_^DF=gP_K#UzXf_HP3UUehV$T zdCwFxmg>l+(*xG8I8d>s9n*Gw(rRAFO*d;GjX5$aSt~lFy(I77sVjE^g*DO+P2Hr; zeP2)kYZrtsXI)>Sn?@!;>kL>ptR{zMU!zq=dQib=H%w<`2_^cDU?jev;h^BtMDH5% zf##r@_J-QitroP>mnwj^62cFP5Fp$0#32FDI>h;7be`by5#s86j2rtHn=k)r9yrF$ z&uCDV06Fa=qPAs+6Wsk&zI;#!-9ZyEPJtA$1QCHI(W>Rqq3xhc+eK7+gF)>rMznVr z)!t)C`+#TK#{&88BEb@QqKXHYAk--J)I&^C0j3BwjNnTh`?Lm literal 0 HcmV?d00001 diff --git a/bin/formularios/frmPrincipal$14.class b/bin/formularios/frmPrincipal$14.class new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..c0cbedab3aa5f6a3cd8c31928427f69cca0300d045af9b665c6df05386bf579e GIT binary patch literal 1161 zcmZ`(%Tg0T6g@qO3>gLzo+6P16eS5tK=B#G1&o;JD)Q!12TUesH`U zIG*K{xjQw#pd-qVIN~Qf?{e=Tzg0RCmekS3kXF%ZK78X)T$~6`=9hUOWYGzw@I=7S zB@dl&YK~#7*r`N;vKAfBkxLBYna*k1J%;GAZ;KchdQIr)HV{GFL<|XrNJb^Zi;gEY zE5{`f?DCQ;7zT>I#oaxkrp}FERJBFrI#wgz)K`zC*t{&;ToTe`rr3e+s-j-V?!_>Q zF&$SJMmw=Jk;GL7LssRsAh~UylG|{f?~1BibA)Rb45TojBh4_qR8b;%-|M7 zzg==0?XP=|<#3mQtr(OsYa*}45$CQH0S{hCd&{$VsAHaCu<4@JswK+O@jbdo+NRnh zXt7dVTAI8F0+MRDh24J$npE$O43_5Iu=MMj8m8s6vEd z`P>-+&^p8A3ylB3^>bv^`2x4UVQ@oj`E+M56Co1=d%6&qjPsuACb8$rRfQ}j-;t@TgWQ)i2 RsZl&=+VoVvC0ZIr{{peX8Oi_v literal 0 HcmV?d00001 diff --git a/bin/formularios/frmPrincipal$15.class b/bin/formularios/frmPrincipal$15.class new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..a55300a4a4e0de86e94c00685d966ee698076faee71bd38005b186ecda1ce22e GIT binary patch literal 685 zcmaKpT~8D-6o%gp!_G20h%?BFAmRs_MG`k$c!hYgY9txKxMUObsylR-lG&DYI{qau z_(;5gL=%1hKZkng=1%ueWHvyBAsMfJDV5^gTrgDLNG0uChKa^%hrw^@eGy^; zwFm*K3^S=zV!Ir4h1ngQNK&2gyhFFU{ASU&2eM#TO8tLtqvpD~ z2zA`2%0k$8qQ}eJwsKvFog-nmm0A&OV{5hJY9B;cz#>CPwH;Z=;miESSNEbRN7l-D zL3j(d;t^Ze)}_hB2kC5y|F!j%GmflyuQDQ#s{cvY1HB*NDV`CA~gWHz= zq`%<+qAjI_84?I$sBVkGe$<7WTPxJB;= zrfD9H3UCKAl+l;}J=`WSCpY^W@!kby)3wSu?ydRfm>)|e@JZ?zRqq7T-YF9AY$#hF m9lepQqK1c9B6%N=NYcYHQG>D=Pq0F>koFv@YtJb>#D4&Jo|B;f literal 0 HcmV?d00001 diff --git a/bin/formularios/frmPrincipal$2.class b/bin/formularios/frmPrincipal$2.class new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..1e38eef9af24d75d29a2b6cc0af94b20e5ed6261b63b0656a3622c94f2b448c6 GIT binary patch literal 756 zcmaJF2^-zypN0>-`Q6?yL_)iblAR`;6XbzO4OBSS$HdY6EHAYhxWY`J~GnS3u3CKX868C5}2m zu3qJAhxfh`_8)yg)c=O-p9;(p|Er7vwXw{3gbmgU-nFoW4rgAYpX$E{93`}V0m&(?$p8QV literal 0 HcmV?d00001 diff --git a/bin/formularios/frmPrincipal$3.class b/bin/formularios/frmPrincipal$3.class new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..9dfd1f20ba6158c13567ab1ac08effe0d7823eb19ad6fe0d3bf43da6756e9e9c GIT binary patch literal 848 zcmaKq-)<5?6vn>+WDBkZ+FEF(X;oC9#x<#T^=~Ug8~P`yC8>AAGSF$3nPz8beF+n9 z^({^2FOJYa}bjM{f2+?6iw6!*aFtPs0soe!bStpoB#a3k;=6 zc70q!nb^I^zSerMFO-&D9x774ol&? z3lv@A6PAAir%4Rha}-zuCDt5)=YJg@g9(EhxJl>~Dg;g77H-p;qQ2ZgogydPNpWM9 HW&)+3tZ>U> literal 0 HcmV?d00001 diff --git a/bin/formularios/frmPrincipal$4.class b/bin/formularios/frmPrincipal$4.class new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..c7f6ab82e562943d4372e15d13d0f9d05556f0275c427c6237afdf84b0c4a6a8 GIT binary patch literal 890 zcmaJa^`6g>k71)oAG7OarAN)@R3T(GMju}vE_&^E!4SamTx20HaIL*5%&|AdJf z7rO92n6w&Q_yhb=#yd|I#)y;5%$=Ki&pqef`SJ7HcL4WrD}@-t(m)5JiO&P6Lw692 z_5-OrIp%(~nL>ggcf^mm>vJ`9_j*UdGbtn)Dv_6;7*`w%W!#6Jky^E6XoM00L(&|| zuzH8!TeI*tDC(|M(%dJw+U&4;mm#sG`yvg73l374%OH-dgEVps@tO_DwxklflTl9u zPkGN54EdJ!xZfpR_C0kbEG>re%xcvp(aQ2j&AtdMchP59uC@Ltc-xBKsCUySVJU^n z45e9e9b7?~um`?5(0bGnO3Oa?8Q4zp!Pob8eaH~Zii1_FYk`k_>G9yNU{Y589~Wv- z$8hgen~$fOGaWq%Jh3BfSLXkm@NKJ!C~Ygx*P&FywlIgf@1Twb&15Ldrct(jo5+TH zs?WnIZQI0RtsW71?S?0m>pt0>7^4;S&v~rq6KwfB3 zTH_SXDT>a!k0@CC89m+jk6s_YkmMwT37Cesx;T*tW&rxA7P-QQpLW{q_riBO= lS8RijK+p|mwJW4MkRbSG$nHLR0m6G6e<=_sM^-V^+BFc6Cn^aYazk(!MEvlT87Nd;La5MTPC83 z5B>mul=04{iN;trnY}YN=bn4c-1+hI+jjuZ(W{`qur@YXI#oQA#zx~TJYw19SzS!;wmUJtmj#N=^}9x32=L)o25+kQgy@jU)r zLOqjOx)(&(nGfp@7)twQBx+!|5uk!<9Yr(()DSWhJ08%8r562ZIuzMEK2(BXDK-gL z1M=n1vt-H3Vrb3n*4`mm4W7F>7Ma&BMhu&s_@9Oky!qYkpoS*aD!9$ioM$({9khsh ztlWEJ(i5SL9C5|K4(n9C5n$8XS?1?TCOrEKLxx)alfY0vG1Dv&htiv0{Bw|xy>#k) zpc7@R)RVWuotjaA2YAS^F%fRhY2U9;Zn-+rBW`E%{AI0nx_Rf1k-eni=*`~LIiu;G zg4ddcy|1{nf`HY&uFQ_3;bVfAcJm2CxsPvJ4GobH0_l mYdGTrLehGV7)#h9{sOkqrdXnZ+(#$xOar3mzb>r;n!f-PK*dM^ literal 0 HcmV?d00001 diff --git a/bin/formularios/frmPrincipal$6.class b/bin/formularios/frmPrincipal$6.class new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..aa37de9165a782a7906a6fb12868ee8418e5aaa2df3cb062edadf9358cd4d712 GIT binary patch literal 1564 zcmZ`(ZC4Xl5PmM%5(w7@C{k)se4#c8YHUmCOVm~o1&q8#Z1MGG_X5jVb~(E@(DI-9 z!4^X62Y-Mc{Xsp>?1n@SBK*Ny;%(cwfnRnbqkSC; zbeat}8of^8%kAQq$m@pdyXF>!%e8mQuLxL^fup-2a7rSLt_)JhN_3-FAeCc>Y}xho zTy3kW!-}eUTA;ri*veZWUi{rqS`15IxNWx434)bXF`ES)GIs3vZRufdC5?^uNY$NYtO*x@*6eIpxB8NO3t$O~EUO=p} zZA{_{+fI?Kg*8K#YZ65+d{%izhbmk&4ik#l_Kn21Y?F>&qt=E^!??uvZ0KnimV>Pr z!VeNZ;wOR3w(s2!)tYMu0t4msWLsQlYD)~NByj^bDT?cxqqGEghHbw{{EFKGT|sp- zPD>;3q#0<^i&#nZ9Kxi;T}%LcY_IzH~hjq;p0@H9I!K0P6mo{Az(#q65Xk(mx6gY$I% zQ?x#T=HwEnWgVcvvW}~XxSojbSnOjW5kDv5R${wT z$GtkriEhD47jR)q$b+4S1qZ3+eoqyYjZuWs6g(pJ7xlFMA~GIugB z`B%&&VTKQU?sN*Y6#fp=-IHU(5PL>m-LACzJdalT>&=s=04~DKqD$b=aulyO0u}pF zQeKYNXJbEf{S6h2j%VQr^slLVsvM|rr94w#)2_*)Ti|f&RrgI<-_xNfUvZ5eg;hT> zI@Ga1w^{X*(KD33+9`j9R$cHz-&~?}h0e>0ivrF>lVGl9NDn*|-v0Wn~wuw+q2aGAU3T4Rp4$@Bn4!|jG*sYks<@^DB~UC(y^nQ|9QI7-B<5MPd|R|y zWK_U1)Fggn8L}h;i_C<7lK7bk557Y<-9qZoT^VVYdiy%t?xw?8h#Il0ulanh2Ht)n zPBTpcG8wu-lu-BH)@C*GB!0&qw%)vL_jY@YG{xDo-Kle?LV7?Z0+l41r0kj2iMbIa z2FK|3XJ~u?(cjOH0KH*dGE}*!>TKf#yE5A-vE9KbYtC5nHJdGbYt4CU zF4@@C9bDT%)%s=~YZq*6(ZOZ}f?07!uEMM7+QW@efXke=#Orq9XpoUGWMJ s#p{&SkVW2P1#IFMEDpd$Rni)9AwR|AFF&yZ`_I literal 0 HcmV?d00001 diff --git a/bin/formularios/frmPrincipal$8.class b/bin/formularios/frmPrincipal$8.class new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..e1cc9de1dd968e3e3adb29358f293b3f78730f8f75ad7997135cab324e33c243 GIT binary patch literal 923 zcmZ`%&2kb!5dIpF1+wy!XaX@Y7*T;}Hfj#3LcLJ2#KJ@i>&#`MEMp!)x!r{mhp$a1BC>*{GmETt% zg;&|LkRaqw#HnyR;U7DPy%X8j7LtUr$$oaCPm1&MRQlR!4!B0PRivdaLqbvyR8-kv zhW0#)23I{(zS1uU>(%*XwJssi3|yH8;kpeAsSM)C*+?T#h*wQPuC07|FdFt`_+Iop zNmy(Lec^T4nmJFB2_uWJHkYlk$Fl553oS1#xrEJXd!FHaW4=-ArcuPIg%Y7S&#sMI zSR*V%p8HO_hrTOV$juq#*Bwu}GHhgU8)XX{gr#ZX$+e9;*d(NmrS1xE#8$ZlEu)}f z;~wrahw}9m2emSMSG7?y?aB#H%TR<<_l&SHqhorcmktS;PB04l@})ApElfX^ZKIKa z_x-*XMEoS)NIeK#8#{PR$g<4NwB?m*ZHDZ>X>NPV=eN`JL=;KxP3k~K`c)8VlzH%R zj%%QN-prq0aEv333}+X3x65af$<(*bVb{MR`(<2H;BS&^KtHj_d)w^!uO-~zmHUt7 z3Brd7LaBbn032snxxo54?wZ2|9$W!tSq$hG3iKOA`ZESz9@Cd5z(5IgY%z2K51A;2 YN7&{y!Gmz{WGsQkQh1A}95EFC0cCjG!2kdN literal 0 HcmV?d00001 diff --git a/bin/formularios/frmPrincipal$9.class b/bin/formularios/frmPrincipal$9.class new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..138a8f47b29ef666ecba25e1b59f965c4cddd80663c3bcad246f0209a537110e GIT binary patch literal 883 zcmaJ|s8zQ`SxkH(RTCi?OO_9V>HBndfFavivoi(%mI-R& zgFnDu6aPs3Z*e5chbqmG3lZZOm*+4XP} z4TdS5#IH@fr(#Y*u8(Nn1^P@0{6hLRSh$CDwo!STDcKa9f0|2#0b2k9`2#7k+rH~sr0tlFEXEn6x|QcX&CggH)Q z509`)19BwHhEY30rFv{@-f#VBY-4Cls;ISISJ8ZICR}Sl{!6<;n^&neSfyLMNjB#Gj4n31HASpTzfylOw+$W7_e`cq1dxARn;&{JM|cIV}_7! zune>9b9m>Nzt|R?_#Y9wYA#Tt=77>R$I00XWixdpZng-yqQFrAKZK2x%b`szvrBL z&bjB!ufBQYaUxo*+MT4BMz@B-9o+#>*dOXDZVh+Th5f-6f2SwlBnQ)ocF#7?j^eKE z{$N{ib!FJo;bU@l`NDorV4W}A0)1-V*jOL7 z*ROM&)wv4F<>|+UENi)jB$y)Ha)1J6i$R%TZ?iP*P{$?yz}Loi1+9|j7zdynT`ge?;Fx4E4J}Z-fG9NP%!pX> z@24S+p5}mzFtBP|;&_bgNGJdfX7b#Pz8#TDzc1jm)X!21=ptT=KMY#r5BeiZn9}kK z)-gHCLtdYY(x}v+#k6EFF_jzSq9M{+ZjeDkrM1GKVP>n!py6ikN`u^HtJa`Qv$fiw z5tJowtT8CtY&94(ibe}NcpDW(aM&K{HLHXB#xjoaH+P%{E)#HE0gam2u}8G>_&>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ff --git a/bin/grafico/desktop.ini b/bin/grafico/desktop.ini new file mode 100644 index 0000000..4b94e9f --- /dev/null +++ b/bin/grafico/desktop.ini @@ -0,0 +1,5 @@ +[.ShellClassInfo] +InfoTip=Esta pasta está compartilhada on-line. +IconFile=C:\Program Files\Google\Drive\googledrivesync.exe +IconIndex=12 + \ No newline at end of file diff --git a/desktop.ini b/desktop.ini new file mode 100644 index 0000000..4b94e9f --- /dev/null +++ b/desktop.ini @@ -0,0 +1,5 @@ +[.ShellClassInfo] +InfoTip=Esta pasta está compartilhada on-line. +IconFile=C:\Program Files\Google\Drive\googledrivesync.exe +IconIndex=12 + \ No newline at end of file diff --git a/src/componentesVisuais/ClsTextPane.java b/src/componentesVisuais/ClsTextPane.java new file mode 100644 index 0000000..6c44c57 --- /dev/null +++ b/src/componentesVisuais/ClsTextPane.java @@ -0,0 +1,130 @@ +//http://docs.oracle.com/javase/7/docs/api/javax/swing/JTextPane.html +//http://www.java2s.com/Tutorials/Java/Swing_How_to/JTextPane/Pad_text_in_JTextPane.htm +//http://www.java2s.com/Tutorial/Java/0240__Swing/SimpleAttributeBoldItalic.htm +//https://docs.oracle.com/javase/tutorial/uiswing/components/editorpane.html + +package componentesVisuais; + +import java.awt.Color; + +import javax.swing.JTextPane; +import javax.swing.text.SimpleAttributeSet; +import javax.swing.text.Style; +import javax.swing.text.StyleConstants; +import javax.swing.text.StyledDocument; + +public class ClsTextPane +{ + private JTextPane tpnTextPane; + private Style stlEstilo; + private StyledDocument stdDocumento; + private SimpleAttributeSet sasAtributos; + /*------------------------------------------------------------------------------------------------------------------------*/ + public ClsTextPane(JTextPane pTextPane) + { + tpnTextPane = pTextPane; + stlEstilo = tpnTextPane.addStyle("stlEstilo", null); + stdDocumento = tpnTextPane.getStyledDocument(); + sasAtributos = new SimpleAttributeSet(); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void alinharTextoADireita(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto) + { + StyleConstants.setAlignment(sasAtributos, StyleConstants.ALIGN_RIGHT); + tpnTextPane.getStyledDocument().setParagraphAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, sasAtributos, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void alinharTextoAEsquerda(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto) + { + StyleConstants.setAlignment(sasAtributos, StyleConstants.ALIGN_LEFT); + tpnTextPane.getStyledDocument().setParagraphAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, sasAtributos, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void alinharTextoAoCentro(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto) + { + StyleConstants.setAlignment(sasAtributos, StyleConstants.ALIGN_CENTER); + tpnTextPane.getStyledDocument().setParagraphAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, sasAtributos, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void alinharTextoJustificar(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto) + { + StyleConstants.setAlignment(sasAtributos, StyleConstants.ALIGN_JUSTIFIED); + tpnTextPane.getStyledDocument().setParagraphAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, sasAtributos, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void aplicarNegrito(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto, boolean pblnAplicar) + { + StyleConstants.setBold(stlEstilo, pblnAplicar); + stdDocumento.setCharacterAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, stlEstilo, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void aplicarItalico(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto, boolean pblnAplicar) + { + StyleConstants.setItalic(stlEstilo, pblnAplicar); + stdDocumento.setCharacterAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, stlEstilo, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void aplicarSublinhado(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto, boolean pblnAplicar) + { + StyleConstants.setUnderline(stlEstilo, pblnAplicar); + stdDocumento.setCharacterAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, stlEstilo, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void aplicarTamanhoDaFonte(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto, int pintTamanho) + { + StyleConstants.setFontSize(stlEstilo, pintTamanho); + stdDocumento.setCharacterAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, stlEstilo, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void aplicarCorDaFonte(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto, Color pclrCor) + { + StyleConstants.setForeground(stlEstilo, pclrCor); + stdDocumento.setCharacterAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, stlEstilo, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void aplicarCorDaFonteEItalico(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto, Color pclrCor) + { + StyleConstants.setForeground(stlEstilo, pclrCor); + StyleConstants.setItalic(stlEstilo, true); + stdDocumento.setCharacterAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, stlEstilo, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void aplicarCorDaFonteENegrito(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto, Color pclrCor) + { + StyleConstants.setForeground(stlEstilo, pclrCor); + StyleConstants.setBold(stlEstilo, true); + stdDocumento.setCharacterAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, stlEstilo, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void formatarFonte(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto, Color pclrCor, boolean pblnNegrito, boolean pblnItalico, boolean pblnSublinhado, int pintTamanho, String strFonte) + { + StyleConstants.setForeground(stlEstilo, pclrCor); + StyleConstants.setBold(stlEstilo, pblnNegrito); + StyleConstants.setItalic(stlEstilo, pblnItalico); + StyleConstants.setUnderline(stlEstilo, pblnSublinhado); + StyleConstants.setFontSize(stlEstilo, pintTamanho); + StyleConstants.setFontFamily(stlEstilo, strFonte); + stdDocumento.setCharacterAttributes(0, tpnTextPane.getText().length(), stlEstilo, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void removerFormatacao(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto) + { + StyleConstants.setForeground(stlEstilo, Color.BLACK); + StyleConstants.setBold(stlEstilo, false); + StyleConstants.setItalic(stlEstilo, false); + StyleConstants.setUnderline(stlEstilo, false); + StyleConstants.setFontSize(stlEstilo, 12); + stdDocumento.setCharacterAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, stlEstilo, false); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void aplicarCorDeFundo(Color pclrCor) + { + tpnTextPane.setBackground(pclrCor); + } + /*------------------------------------------------------------------------------------------------------------------------*/ + public void aplicarCorDeFundo(int pintPosicaoInicialDoTexto, int pintPosicaoFinalDoTexto,Color pclrCor) + { + StyleConstants.setBackground(stlEstilo, pclrCor); + stdDocumento.setCharacterAttributes(pintPosicaoInicialDoTexto, pintPosicaoFinalDoTexto, stlEstilo, false); + } +} diff --git a/src/componentesVisuais/desktop.ini b/src/componentesVisuais/desktop.ini new file mode 100644 index 0000000..4b94e9f --- /dev/null +++ b/src/componentesVisuais/desktop.ini @@ -0,0 +1,5 @@ +[.ShellClassInfo] +InfoTip=Esta pasta está compartilhada on-line. +IconFile=C:\Program Files\Google\Drive\googledrivesync.exe +IconIndex=12 + \ No newline at end of file diff --git a/src/desktop.ini b/src/desktop.ini new file mode 100644 index 0000000..4b94e9f --- /dev/null +++ b/src/desktop.ini @@ -0,0 +1,5 @@ +[.ShellClassInfo] +InfoTip=Esta pasta está compartilhada on-line. +IconFile=C:\Program Files\Google\Drive\googledrivesync.exe +IconIndex=12 + \ No newline at end of file diff --git a/src/formularios/FrmSobre.java b/src/formularios/FrmSobre.java new file mode 100644 index 0000000..89a801d --- /dev/null +++ b/src/formularios/FrmSobre.java @@ -0,0 +1,136 @@ +package formularios; + +import java.awt.BorderLayout; +import java.awt.Color; +import javax.swing.JPanel; +import javax.swing.JFrame; +import javax.swing.JButton; +import java.awt.FlowLayout; +import javax.swing.JTextPane; +import componentesVisuais.ClsTextPane; + +public class FrmSobre extends JFrame +{ + + private static final long serialVersionUID = 1L; + private JPanel jContentPane = null; + private JPanel pnlBotoes = null; + private JButton btnFechar = null; + private JTextPane tpnSobre = null; + + public FrmSobre() + { + super(); + initialize(); + } + + private void initialize() + { + this.setSize(566, 466); + this.setContentPane(getJContentPane()); + this.setTitle("Sobre"); + this.setLocationRelativeTo(null); + this.setResizable(false); + } + + private JPanel getJContentPane() + { + if (jContentPane == null) + { + jContentPane = new JPanel(); + jContentPane.setLayout(new BorderLayout()); + jContentPane.add(getPnlBotoes(), BorderLayout.SOUTH); + jContentPane.add(getTpnSobre(), BorderLayout.CENTER); + } + return jContentPane; + } + + private JPanel getPnlBotoes() + { + if (pnlBotoes == null) + { + pnlBotoes = new JPanel(); + pnlBotoes.setLayout(new FlowLayout()); + pnlBotoes.add(getBtnFechar(), null); + } + return pnlBotoes; + } + + private JButton getBtnFechar() + { + if (btnFechar == null) + { + btnFechar = new JButton(); + btnFechar.setText("Fechar"); + btnFechar.addActionListener( + new java.awt.event.ActionListener() + { + public void actionPerformed(java.awt.event.ActionEvent e) + { + dispose(); + } + } + ); + } + return btnFechar; + } + + private JTextPane getTpnSobre() + { + if (tpnSobre == null) + { + tpnSobre = new JTextPane(); + int intPosicaoInicial = 0; + ClsTextPane objTextPane = new ClsTextPane(tpnSobre); + String strTextoFinal; + String strDescricao = "Software desenvolvido na disciplina de Processamento Digital de Sinais(PDS)\n\n"; + String strCabecalho = "SSF\n" + + "Simulador da s�rie de Fourier\n\n"; + + String strAutor = "Desenvolvido por:\n" + + "\t\t\t\t\t\t\t\t\t\tClaudio Barbosa do Nascimento Neto.\n"+ + "\t\t\t\t\t\t\t\t\t\tDavid Allan dos Reis Borelli.\n"+ + "\t\t\t\t\t\t\t\t\t\tGuilherme da Silva Oliveira.\n"+ + "\t\t\t\t\t\t\t\t\t\tJessiclei Ferreira Rodrigues.\n"+ + "\t\t\t\t\t\t\t\t\t\tWilliam Cardoso Simas.\n\n"+ + "\t\t\t\t\t\t\t\t\t\tEngenharia da Computa��o - 8� termo.\n" + + "\t\t\t\t\t\t\t\t\t\tCentro Universit�rio Cat�lico Salesiano Auxilium - Ara�atuba(SP).\n\n" + + "\t\t\t\t\t\t\t\t\t\tTamiris Ayumi Aoe.\n\n"+ + "\t\t\t\t\t\t\t\t\t\tEngenharia de Telecomunica��es\n" + + "\t\t\t\t\t\t\t\t\t\tCentro Universit�rio Cat�lico Salesiano Auxilium - Ara�atuba(SP).\n\n"; + String strOrientadores = "Orientado por:\n" + + "\t\t\t\t\t\t\t\t\t\tMsc. Jos� Vital Ferraz Le�o.\n"+ + "\t\t\t\t\t\t\t\t\t\tCentro Universit�rio Cat�lico Salesiano Auxilium - Ara�atuba(SP).\n\n"; + + strTextoFinal = strCabecalho + strDescricao + strAutor + strOrientadores; + + tpnSobre.setText(strTextoFinal); + + objTextPane.alinharTextoAoCentro(intPosicaoInicial, strCabecalho.length()); + objTextPane.aplicarNegrito(intPosicaoInicial, strCabecalho.length(), true); + objTextPane.aplicarTamanhoDaFonte(intPosicaoInicial, strCabecalho.length(), 16); + + objTextPane.aplicarCorDaFonte(intPosicaoInicial, strCabecalho.length(), Color.BLACK); + + intPosicaoInicial += strCabecalho.length(); + objTextPane.alinharTextoAoCentro(intPosicaoInicial, intPosicaoInicial + strAutor.length()); + objTextPane.aplicarTamanhoDaFonte(intPosicaoInicial, intPosicaoInicial + strAutor.length(), 12); + objTextPane.aplicarNegrito(intPosicaoInicial, intPosicaoInicial + strAutor.length(), false); + + intPosicaoInicial += strDescricao.length(); + objTextPane.alinharTextoJustificar(intPosicaoInicial, intPosicaoInicial + strAutor.length()); + objTextPane.aplicarTamanhoDaFonte(intPosicaoInicial, intPosicaoInicial + strAutor.length(), 12); + objTextPane.aplicarNegrito(intPosicaoInicial, intPosicaoInicial + 3, true); + objTextPane.aplicarNegrito(intPosicaoInicial + 18, intPosicaoInicial + strAutor.length(), false); + + intPosicaoInicial += strAutor.length(); + objTextPane.alinharTextoJustificar(intPosicaoInicial, intPosicaoInicial + strOrientadores.length()); + objTextPane.aplicarTamanhoDaFonte(intPosicaoInicial, intPosicaoInicial + strOrientadores.length(), 12); + objTextPane.aplicarNegrito(intPosicaoInicial, intPosicaoInicial + 14, true); + objTextPane.aplicarNegrito(intPosicaoInicial + 15, intPosicaoInicial + strOrientadores.length(), false); + + tpnSobre.setEditable(false); + } + return tpnSobre; + } +} // @jve:decl-index=0:visual-constraint="10,10" diff --git a/src/formularios/desktop.ini b/src/formularios/desktop.ini new file mode 100644 index 0000000..4b94e9f --- /dev/null +++ b/src/formularios/desktop.ini @@ -0,0 +1,5 @@ +[.ShellClassInfo] +InfoTip=Esta pasta está compartilhada on-line. +IconFile=C:\Program Files\Google\Drive\googledrivesync.exe +IconIndex=12 + \ No newline at end of file diff --git a/src/formularios/frmPrincipal.java b/src/formularios/frmPrincipal.java new file mode 100644 index 0000000..754c2b7 --- /dev/null +++ b/src/formularios/frmPrincipal.java @@ -0,0 +1,717 @@ +package formularios; + +import grafico.ClsOnda; +import grafico.PnlGrafico; +import javax.swing.BorderFactory; +import javax.swing.JPanel; +import javax.swing.SwingUtilities; +import java.awt.Color; +import java.awt.Component; + +import javax.swing.JFrame; +import java.awt.FlowLayout; +import javax.swing.JButton; +import java.awt.Rectangle; +import javax.swing.JLabel; +import java.awt.Font; +import javax.swing.SwingConstants; +import javax.swing.border.EtchedBorder; +import javax.swing.WindowConstants; +import java.text.DecimalFormat; +import javax.swing.JRadioButton; +import javax.swing.JSlider; +import javax.swing.JScrollPane; +import javax.swing.JTable; +import javax.swing.table.AbstractTableModel; +import javax.swing.table.DefaultTableCellRenderer; + +import java.lang.Object; +import javax.swing.JTextField; + +public class frmPrincipal extends JFrame +{ + private static final long serialVersionUID = 1L; + private JPanel jContentPane = null; + private PnlGrafico pnlGrafico = null; + private PnlGrafico pnlGraficoTotal = null; + private JPanel pnlGraficos = null; + private JPanel pnlControles = null; + private JPanel pnlRodape = null; + private JButton btnSobre = null; + private JButton btnSair = null; + private ClsOnda objOndas[]; + private JLabel lblFourier = null; + private JLabel lblOndasSenoidais = null; + private int intQtdOndas = 0; + ClsOnda objSoma[]; + private int intAmplitudeInicial = 0; + private double dblPeriodoInicial = 0; + private float fltZoomSenoidal = 1; + private float fltZoomSuperposicao = 1; + private boolean blnQuadrada = false; + private boolean blnTriangular = false; + private JPanel pnlZoomOndasSenoidais = null; + private JButton btnZoomMaisOndasSenoidais = null; + private JButton btnZoomMenosOndasSenoidais = null; + private JButton btnZoomNormalOndasSenoidais = null; + private JPanel pnlZoomSuperposicao = null; + private JPanel pnlCriacaoOndas = null; + private JRadioButton rdbOndaTriangular = null; + private JRadioButton rdbOndaQuadrada = null; + private JSlider sldQtdOndas = null; + private JLabel lblqtdOndas = null; + private JButton btnMenosOndas = null; + private JButton btnMaisOndas = null; + private JScrollPane scrOndas = null; + private JTable tblOndas = null; + private JLabel lblAmplitude = null; + private JTextField txtAmplitude = null; + private JLabel lblPeriodo = null; + private JTextField txtPeriodo = null; + public frmPrincipal() + { + super(); + initialize(); + } + + private Color defineCor(int x) + { + Color retorno = Color.WHITE; + if (x%15 ==1) + retorno = Color.RED; + if (x%15 ==2) + retorno = Color.BLUE; + if (x%15 ==3) + retorno = Color.BLACK; + //retorno = Color.YELLOW; + if (x%15 ==4) + retorno = Color.GREEN; + if (x%15 ==5) + retorno = Color.ORANGE; + if (x%15 ==6) + retorno = new Color(139,0,139); + if (x%15 ==7) + retorno = new Color(255,20,147); + if (x%15 ==8) + retorno = new Color(0,206,209); + if (x%15 ==9) + retorno = new Color(255,140,0); + if (x%15 ==10) + retorno = new Color(255,215,0); + if (x%15 ==11) + retorno = new Color(128,128,0); + if (x%15 ==12) + retorno = new Color(173,255,47); + if (x%15 ==13) + retorno = new Color(218,165,32); + if (x%15 ==14) + retorno = new Color(210,105,30); + if (x%15 ==0) + retorno = new Color(220,20,60); + return retorno; + } + + private void definirOndas() + { + objOndas = new ClsOnda[intQtdOndas]; + Color cor = Color.BLACK; + for(int x=1; x<=intQtdOndas; x++) + { + cor = defineCor(x); + int amplitude = 0; + double periodo = 0; + if(blnQuadrada) + { + amplitude = (int)(Math.round(1.57 * ((intAmplitudeInicial)/(Math.PI * x))*(1-Math.cos(x*Math.PI)))); + periodo = (dblPeriodoInicial*Math.PI)/x; + } + if(blnTriangular) + { + amplitude = (int)(Math.round(9.9 * (intAmplitudeInicial)/Math.pow(Math.PI, 2)) * ((Math.pow((-1),(x-1)/2))/Math.pow(x, 2))); + periodo = (dblPeriodoInicial*Math.PI)/x; + } + objOndas[x-1] = new ClsOnda(amplitude, periodo, 558, 558, 100, cor, fltZoomSenoidal); + } + } + private void definirSoma() + { + int X[] = new int[558]; + double Y[] = new double[558]; + for(int x=0; x 1) + fltZoomSenoidal -= 0.1; + aplicarZoomSenoidal(); + } + } + ); + } + return btnZoomMenosOndasSenoidais; + } + + private JButton getBtnZoomNormalOndasSenoidais() + { + if (btnZoomNormalOndasSenoidais == null) + { + btnZoomNormalOndasSenoidais = new JButton(); + btnZoomNormalOndasSenoidais.setBounds(new Rectangle(2, 66, 58, 66)); + btnZoomNormalOndasSenoidais.setFont(new Font("Dialog", Font.PLAIN, 12)); + btnZoomNormalOndasSenoidais.setText(Double.toString(fltZoomSenoidal)); + btnZoomNormalOndasSenoidais + .addActionListener(new java.awt.event.ActionListener() + { + public void actionPerformed(java.awt.event.ActionEvent e) + { + fltZoomSenoidal = 1; + aplicarZoomSenoidal(); + } + } + ); + } + return btnZoomNormalOndasSenoidais; + } + + private JPanel getPnlZoomSuperposicao() + { + if (pnlZoomSuperposicao == null) + { + pnlZoomSuperposicao = new JPanel(); + pnlZoomSuperposicao.setLayout(null); + pnlZoomSuperposicao.setBorder(BorderFactory.createLineBorder(Color.black, 2)); + pnlZoomSuperposicao.setBounds(new Rectangle(557, 255, 63, 200)); + pnlZoomSuperposicao.setBackground(Color.GRAY); + } + return pnlZoomSuperposicao; + } + + private JPanel getPnlCriacaoOndas() + { + if (pnlCriacaoOndas == null) + { + lblPeriodo = new JLabel(); + lblPeriodo.setBounds(new Rectangle(200, 43, 126, 16)); + lblPeriodo.setText("Período (T / s) (\u03c0 rad)"); + lblAmplitude = new JLabel(); + lblAmplitude.setBounds(new Rectangle(7, 43, 116, 16)); + lblAmplitude.setText("Amplitude Inicial (u)"); + lblqtdOndas = new JLabel(); + lblqtdOndas.setBounds(new Rectangle(7, 77, 90, 16)); + lblqtdOndas.setText("Qtd Ondas: 0"); + pnlCriacaoOndas = new JPanel(); + pnlCriacaoOndas.setLayout(null); + pnlCriacaoOndas.setBounds(new Rectangle(0, 0, 376, 109)); + pnlCriacaoOndas.setBorder(BorderFactory.createLineBorder(Color.black, 2)); + pnlCriacaoOndas.add(getRdbOndaTriangular(), null); + pnlCriacaoOndas.add(getRdbOndaQuadrada(), null); + pnlCriacaoOndas.add(getSldQtdOndas(), null); + pnlCriacaoOndas.add(lblqtdOndas, null); + pnlCriacaoOndas.add(getBtnMenosOndas(), null); + pnlCriacaoOndas.add(getBtnMaisOndas(), null); + pnlCriacaoOndas.add(lblAmplitude, null); + pnlCriacaoOndas.add(getTxtAmplitude(), null); + pnlCriacaoOndas.add(lblPeriodo, null); + pnlCriacaoOndas.add(getTxtPeriodo(), null); + } + return pnlCriacaoOndas; + } + + private JRadioButton getRdbOndaTriangular() + { + if (rdbOndaTriangular == null) + { + rdbOndaTriangular = new JRadioButton(); + rdbOndaTriangular.setBounds(new Rectangle(42, 5, 115, 21)); + rdbOndaTriangular.setText("Onda triangular"); + rdbOndaTriangular.addActionListener(new java.awt.event.ActionListener() + { + public void actionPerformed(java.awt.event.ActionEvent e) + { + rdbOndaTriangular.setSelected(true); + rdbOndaQuadrada.setSelected(false); + blnQuadrada = false; + blnTriangular = true; + alterarQtdOndas(); + definirOndas(); + definirSoma(); + pnlGrafico.atualizarTela(intQtdOndas, objOndas, getPnlGrafico().getGraphics()); + pnlGraficoTotal.atualizarTela(1, objSoma, getPnlGraficoTotal().getGraphics()); + } + } + ); + } + return rdbOndaTriangular; + } + + private JRadioButton getRdbOndaQuadrada() + { + if (rdbOndaQuadrada == null) + { + rdbOndaQuadrada = new JRadioButton(); + rdbOndaQuadrada.setBounds(new Rectangle(201, 5, 113, 24)); + rdbOndaQuadrada.setText("Onda quadrada"); + rdbOndaQuadrada.addActionListener(new java.awt.event.ActionListener() + { + public void actionPerformed(java.awt.event.ActionEvent e) + { + rdbOndaTriangular.setSelected(false); + rdbOndaQuadrada.setSelected(true); + blnQuadrada = true; + blnTriangular = false; + alterarQtdOndas(); + definirOndas(); + definirSoma(); + pnlGrafico.atualizarTela(intQtdOndas, objOndas, getPnlGrafico().getGraphics()); + pnlGraficoTotal.atualizarTela(1, objSoma, getPnlGraficoTotal().getGraphics()); + } + } + ); + } + return rdbOndaQuadrada; + } + + private JSlider getSldQtdOndas() + { + if (sldQtdOndas == null) + { + sldQtdOndas = new JSlider(); + sldQtdOndas.setValue(0); + sldQtdOndas.setMaximum(50); + sldQtdOndas.setBounds(new Rectangle(100, 77, 162, 16)); + sldQtdOndas.addChangeListener(new javax.swing.event.ChangeListener() + { + public void stateChanged(javax.swing.event.ChangeEvent e) + { + intQtdOndas = sldQtdOndas.getValue(); + alterarQtdOndas(); + } + } + ); + } + return sldQtdOndas; + } + + private JButton getBtnMenosOndas() + { + if (btnMenosOndas == null) + { + btnMenosOndas = new JButton(); + btnMenosOndas.setBounds(new Rectangle(277, 74, 45, 20)); + btnMenosOndas.setText("-"); + btnMenosOndas.addActionListener(new java.awt.event.ActionListener() + { + public void actionPerformed(java.awt.event.ActionEvent e) + { + sldQtdOndas.setValue(intQtdOndas -1); + } + } + ); + } + return btnMenosOndas; + } + + private JButton getBtnMaisOndas() + { + if (btnMaisOndas == null) + { + btnMaisOndas = new JButton(); + btnMaisOndas.setBounds(new Rectangle(322, 74, 45, 20)); + btnMaisOndas.setText("+"); + btnMaisOndas.addActionListener(new java.awt.event.ActionListener() + { + public void actionPerformed(java.awt.event.ActionEvent e) + { + sldQtdOndas.setValue(intQtdOndas + 1); + } + } + ); + } + return btnMaisOndas; + } + + private JScrollPane getScrOndas() + { + if (scrOndas == null) + { + scrOndas = new JScrollPane(); + scrOndas.setBounds(new Rectangle(0, 106, 376, 349)); + scrOndas.setBorder(BorderFactory.createLineBorder(Color.black, 2)); + scrOndas.setViewportView(getTblOndas()); + } + return scrOndas; + } + + private JTable getTblOndas() + { + if (tblOndas == null) + { + tblOndas = new JTable(); + tblOndas.setBounds(new Rectangle(0, 11, 375, 65)); + tblOndas.setModel(new AbstractTableModel() + { + private static final long serialVersionUID = 2L; + private String colunas[] = {"POSIÇÃO", "COR", "AMPLITUDE", "PERÍODO"}; + public String getColumnName(int num) + { + return colunas[num]; + } + public int getColumnCount() + { + return 4; + } + public int getRowCount() + { + return intQtdOndas; + } + public Object getValueAt(int row, int col) + { + String strRetorno = ""; + switch(col) + { + case 0: + strRetorno = Integer.toString(row + 1) + "ª"; + break; + case 1: + strRetorno = ""; + break; + case 2: + strRetorno = Integer.toString(objOndas[row].obterAmplitude()) + "u"; + break; + case 3: + strRetorno = objOndas[row].obterPeriodoFormatado() + "\u03c0 rad"; + break; + } + return strRetorno; + } + } + ); + tblOndas.setDefaultRenderer(Object.class, + new DefaultTableCellRenderer() + { + private static final long serialVersionUID = 2L; + public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int col) + { + super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, col); + setHorizontalAlignment(CENTER); + if (col == 1) + { + setBackground(objOndas[row].getCor()); + } + else + { + setBackground(Color.WHITE); + } + return this; + } + } + ); + } + + return tblOndas; + } + + private JTextField getTxtAmplitude() + { + if (txtAmplitude == null) + { + txtAmplitude = new JTextField(); + txtAmplitude.setBounds(new Rectangle(125, 42, 59, 20)); + txtAmplitude.addCaretListener(new javax.swing.event.CaretListener() + { + public void caretUpdate(javax.swing.event.CaretEvent e) + { + try + { + intAmplitudeInicial = Integer.parseInt(txtAmplitude.getText()); + alterarQtdOndas(); + } + catch(Exception erro) + { + if (txtAmplitude.getText().equals("")) + { + intAmplitudeInicial = 0; + } + else + { + intAmplitudeInicial = (int)(Double.parseDouble(txtAmplitude.getText())); + } + alterarQtdOndas(); + } + } + } + ); + } + return txtAmplitude; + } + + private JTextField getTxtPeriodo() + { + if (txtPeriodo == null) + { + txtPeriodo = new JTextField(); + txtPeriodo.setBounds(new Rectangle(329, 42, 39, 20)); + txtPeriodo.addCaretListener(new javax.swing.event.CaretListener() + { + public void caretUpdate(javax.swing.event.CaretEvent e) + { + try + { + dblPeriodoInicial = Double.parseDouble(txtPeriodo.getText()); + alterarQtdOndas(); + } + catch(Exception erro) + { + dblPeriodoInicial = 0; + alterarQtdOndas(); + } + } + } + ); + } + return txtPeriodo; + } + + public static void main(String[] args) + { + SwingUtilities.invokeLater(new Runnable() + { + public void run() + { + frmPrincipal thisClass = new frmPrincipal(); + thisClass.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); + thisClass.setVisible(true); + } + + } + ); + } + + private void initialize() + { + this.setContentPane(getJContentPane()); + this.setTitle("SSF - Simulador da série de Fourier"); + this.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); + this.setBounds(new Rectangle(0, 0, 1000, 524)); + this.setResizable(false); + this.setLocationRelativeTo(null); + this.setVisible(false); + this.setVisible(true); + } + + private JPanel getJContentPane() + { + if (jContentPane == null) + { + jContentPane = new JPanel(); + jContentPane.setLayout(null); + jContentPane.add(getPnlGraficos(), null); + jContentPane.add(getPnlControles(), null); + jContentPane.add(getPnlRodape(), null); + } + return jContentPane; + } + +} \ No newline at end of file diff --git a/src/grafico/ClsEixos.java b/src/grafico/ClsEixos.java new file mode 100644 index 0000000..8d12b67 --- /dev/null +++ b/src/grafico/ClsEixos.java @@ -0,0 +1,19 @@ +package grafico; +import java.awt.Color; +import java.awt.Graphics; + +public class ClsEixos +{ + public ClsEixos(int eixoXX[], int eixoXY[], int eixoYX[], int eixoYY[], Graphics g, Color cor) + { + //EIXO X + + g.setColor(cor); + g.drawPolyline(eixoXX, eixoXY, 2); + + //EIXO Y + + g.setColor(cor); + g.drawPolyline(eixoYX, eixoYY, 2); + } +} diff --git a/src/grafico/ClsOnda.java b/src/grafico/ClsOnda.java new file mode 100644 index 0000000..bccbbf5 --- /dev/null +++ b/src/grafico/ClsOnda.java @@ -0,0 +1,90 @@ +package grafico; +import java.awt.Color; +import java.text.DecimalFormat; + +public class ClsOnda +{ + private int xValues[]; + private int yValues[]; + private double orgY[]; + private Color cor; + private int largura; + private int amplitude; + private double periodo; + + public ClsOnda(int X[], double Y[], Color cor, int largura, int inicio, double zoom) + { + this.amplitude = 0; + this.periodo = 0; + this.largura = largura; + this.cor = cor; + xValues = X; + orgY = Y; + yValues = new int[Y.length]; + for (int x = 0; x < Y.length; x++) + { + xValues[x] /= zoom; + yValues[x] = Math.round(inicio + (int)((orgY[x]) * zoom)); + } + } + + public ClsOnda(int amplitude, double periodo, int largura, int altura, int inicio, Color cor, double zoom) + { + this.amplitude = amplitude; + this.periodo = periodo; + this.cor = cor; + this.largura = largura; + xValues = new int[largura]; + yValues = new int[largura]; + orgY = new double[largura]; + + for(int x = 0; x < largura/2; x++) + { + xValues[largura/2 - x] = (int) ((largura/2 - x)); + yValues[largura/2 - x] = (int) (amplitude * Math.sin(((x * Math.pow((2 *Math.PI),2))/((largura/2) * periodo * zoom)))*zoom + inicio); + orgY[largura/2 - x] = (int) (amplitude * Math.sin(((x * Math.pow((2 *Math.PI),2))/((largura/2) * periodo)))); + + xValues[x + largura/2] = (int) ((largura/2 + x)); + yValues[x + largura/2] = (int) (-amplitude * Math.sin(((x * Math.pow((2 *Math.PI),2))/((largura/2) * periodo * zoom)))*zoom + inicio); + orgY[x + largura/2] = (int) (-amplitude * Math.sin(((x * Math.pow((2 *Math.PI),2))/((largura/2) * periodo)))); + } + } + public Color getCor() + { + return cor; + } + + public int[] obterX() + { + return xValues; + } + + public int[] obterY() + { + return yValues; + } + + public double[] obterOrgY() + { + return orgY; + } + public int getLargura() + { + return largura; + } + + public int obterAmplitude() + { + return Math.abs(amplitude); + } + public double obterPeriodo() + { + return (periodo/Math.PI); + } + public String obterPeriodoFormatado() + { + DecimalFormat fmt = new DecimalFormat("0.0000"); + String part[] = fmt.format(periodo/Math.PI).split("[,]"); + return (part[0] + "." + part[1]); + } +} diff --git a/src/grafico/PnlGrafico.java b/src/grafico/PnlGrafico.java new file mode 100644 index 0000000..3f32b56 --- /dev/null +++ b/src/grafico/PnlGrafico.java @@ -0,0 +1,49 @@ +package grafico; +import java.awt.Color; +import java.awt.Graphics; + +import javax.swing.BorderFactory; +import javax.swing.JPanel; + +public class PnlGrafico extends JPanel +{ + private static final long serialVersionUID = 0L; + private int qtdOndas; + private ClsOnda ondas[]; + + public PnlGrafico(int qtdOndas, ClsOnda ondas[]) + { + this.qtdOndas = qtdOndas; + this.ondas = ondas; + } + + public void atualizarTela(int qtdOndas, ClsOnda ondas[], Graphics g) + { + this.qtdOndas = qtdOndas; + this.ondas = ondas; + paintAll(g); + } + + public void paintAll(Graphics g) + { + super.paintComponent(g); + super.setBorder(BorderFactory.createLineBorder(Color.black, 2)); + int eixoXX[] = {0, 558}; + int eixoXY[] = {100, 100}; + int eixoYX[] = {279, 279}; + int eixoYY[] = {0, 200}; + + ClsEixos eixos = new ClsEixos(eixoXX, eixoXY, eixoYX, eixoYY, g, Color.BLACK); + + for (int x = 0; x < qtdOndas; x++) + { + g.setColor(ondas[x].getCor()); + g.drawPolyline(ondas[x].obterX(), ondas[x].obterY(), ondas[x].getLargura()); + } + } + + public void paintComponent(Graphics g) + { + paintAll(g); + } +} diff --git a/src/grafico/desktop.ini b/src/grafico/desktop.ini new file mode 100644 index 0000000..4b94e9f --- /dev/null +++ b/src/grafico/desktop.ini @@ -0,0 +1,5 @@ +[.ShellClassInfo] +InfoTip=Esta pasta está compartilhada on-line. +IconFile=C:\Program Files\Google\Drive\googledrivesync.exe +IconIndex=12 + \ No newline at end of file