function [Mhandlers] = FillObject(MPointsC1,MPointsC2,MPointsT2,MPointsP,MPointsDec,c,a) 
%Função que preenche as faces com a cor 'c' e opacidade 'a' de acordo com o conteúdo das matrizes MPointsC1,
%MPointsC2,MPointsT2,MPointsP,MPointsDec 

Fdec=fill3(MPointsDec(1,:,1),MPointsDec(2,:,1),MPointsDec(3,:,1),c);alpha(Fdec,a);

Fc1=fill3(MPointsC1(1,:,1),MPointsC1(2,:,1),MPointsC1(3,:,1),c);alpha(Fc1,a);
Fc2=fill3(MPointsC1(1,:,2),MPointsC1(2,:,2),MPointsC1(3,:,2),c);alpha(Fc2,a);
Fc3=fill3(MPointsC1(1,:,3),MPointsC1(2,:,3),MPointsC1(3,:,3),c);alpha(Fc3,a);
Fc4=fill3(MPointsC1(1,:,4),MPointsC1(2,:,4),MPointsC1(3,:,4),c);alpha(Fc4,a);
Fc5=fill3(MPointsC1(1,:,5),MPointsC1(2,:,5),MPointsC1(3,:,5),c);alpha(Fc5,a);
Fc6=fill3(MPointsC1(1,:,6),MPointsC1(2,:,6),MPointsC1(3,:,6),c);alpha(Fc6,a);
Fc7=fill3(MPointsC1(1,:,7),MPointsC1(2,:,7),MPointsC1(3,:,7),c);alpha(Fc7,a);
Fc8=fill3(MPointsC1(1,:,8),MPointsC1(2,:,8),MPointsC1(3,:,8),c);alpha(Fc8,a);
Fc9=fill3(MPointsC1(1,:,9),MPointsC1(2,:,9),MPointsC1(3,:,9),c);alpha(Fc9,a);
Fc10=fill3(MPointsC1(1,:,10),MPointsC1(2,:,10),MPointsC1(3,:,10),c);alpha(Fc10,a);

Fc21=fill3(MPointsC2(1,:,1),MPointsC2(2,:,1),MPointsC2(3,:,1),c);alpha(Fc21,a);
Fc22=fill3(MPointsC2(1,:,2),MPointsC2(2,:,2),MPointsC2(3,:,2),c);alpha(Fc22,a);
Fc23=fill3(MPointsC2(1,:,3),MPointsC2(2,:,3),MPointsC2(3,:,3),c);alpha(Fc23,a);
Fc24=fill3(MPointsC2(1,:,4),MPointsC2(2,:,4),MPointsC2(3,:,4),c);alpha(Fc24,a);
Fc25=fill3(MPointsC2(1,:,5),MPointsC2(2,:,5),MPointsC2(3,:,5),c);alpha(Fc25,a);

Ft1=fill3(MPointsT2(1,:,1),MPointsT2(2,:,1),MPointsT2(3,:,1),c);alpha(Ft1,a);
Ft2=fill3(MPointsT2(1,:,2),MPointsT2(2,:,2),MPointsT2(3,:,2),c);alpha(Ft2,a);
Ft3=fill3(MPointsT2(1,:,3),MPointsT2(2,:,3),MPointsT2(3,:,3),c);alpha(Ft3,a);
Ft4=fill3(MPointsT2(1,:,4),MPointsT2(2,:,4),MPointsT2(3,:,4),c);alpha(Ft4,a);
Ft5=fill3(MPointsT2(1,:,5),MPointsT2(2,:,5),MPointsT2(3,:,5),c);alpha(Ft5,a);

Fp=fill3(MPointsP(1,:,1),MPointsP(2,:,1),MPointsP(3,:,1),c);alpha(Fp,a);

Mhandlers={Fc1;Fc2;Fc3;Fc4;Fc5;Fc6;Fc7;Fc8;Fc9;Fc10;Fc21;Fc22;Fc23;Fc24;Fc25;Ft1;Ft2;Ft3;Ft4;Ft5;Fp;Fdec};