66 references to _lightVectors
System.Web.DataVisualization (66)
Common\General\Matrix3D.cs (66)
835 _lightVectors[0] = new Point3D( 0F, 0F, 0F );
838 _lightVectors[1] = new Point3D( 0F, 0F, 1F );
841 _lightVectors[2] = new Point3D( 0F, 0F, -1F );
844 _lightVectors[3] = new Point3D( -1F, 0F, 0F );
847 _lightVectors[4] = new Point3D( 1F, 0F, 0F );
850 _lightVectors[5] = new Point3D( 0F, -1F, 0F );
853 _lightVectors[6] = new Point3D( 0F, 1F, 0F );
856 TransformPoints( _lightVectors, false );
864 _lightVectors[1].X -= _lightVectors[0].X;
865 _lightVectors[1].Y -= _lightVectors[0].Y;
866 _lightVectors[1].Z -= _lightVectors[0].Z;
869 _lightVectors[2].X -= _lightVectors[0].X;
870 _lightVectors[2].Y -= _lightVectors[0].Y;
871 _lightVectors[2].Z -= _lightVectors[0].Z;
874 _lightVectors[3].X -= _lightVectors[0].X;
875 _lightVectors[3].Y -= _lightVectors[0].Y;
876 _lightVectors[3].Z -= _lightVectors[0].Z;
879 _lightVectors[4].X -= _lightVectors[0].X;
880 _lightVectors[4].Y -= _lightVectors[0].Y;
881 _lightVectors[4].Z -= _lightVectors[0].Z;
884 _lightVectors[5].X -= _lightVectors[0].X;
885 _lightVectors[5].Y -= _lightVectors[0].Y;
886 _lightVectors[5].Z -= _lightVectors[0].Z;
889 _lightVectors[6].X -= _lightVectors[0].X;
890 _lightVectors[6].Y -= _lightVectors[0].Y;
891 _lightVectors[6].Z -= _lightVectors[0].Z;
955 front = ChartGraphics.GetGradientColor( surfaceColor, Color.Black, GetAngle(lightSource,_lightVectors[1])/Math.PI );
957 back = ChartGraphics.GetGradientColor( surfaceColor, Color.Black, GetAngle(lightSource,_lightVectors[2])/Math.PI );
969 left = ChartGraphics.GetGradientColor( surfaceColor, Color.Black, GetAngle(lightSource,_lightVectors[3])/Math.PI );
971 right = ChartGraphics.GetGradientColor( surfaceColor, Color.Black, GetAngle(lightSource,_lightVectors[4])/Math.PI );
974 top = ChartGraphics.GetGradientColor( surfaceColor, Color.Black, GetAngle(lightSource,_lightVectors[5])/Math.PI );
976 bottom = ChartGraphics.GetGradientColor( surfaceColor, Color.Black, GetAngle(lightSource,_lightVectors[6])/Math.PI );
987 front = GetBrightGradientColor( surfaceColor, GetAngle(lightSource,_lightVectors[1])/Math.PI );
989 back = GetBrightGradientColor( surfaceColor, GetAngle(lightSource,_lightVectors[2])/Math.PI );
991 left = GetBrightGradientColor( surfaceColor, GetAngle(lightSource,_lightVectors[3])/Math.PI );
993 right = GetBrightGradientColor( surfaceColor, GetAngle(lightSource,_lightVectors[4])/Math.PI );
995 top = GetBrightGradientColor( surfaceColor, GetAngle(lightSource,_lightVectors[5])/Math.PI );
997 bottom = GetBrightGradientColor( surfaceColor, GetAngle(lightSource,_lightVectors[6])/Math.PI );
1090 angleLeft = GetAngle( normalVector, _lightVectors[3] );
1091 angleRight = GetAngle( normalVector, _lightVectors[4] );
1095 angleLeft = GetAngle( normalVector, _lightVectors[4] );
1096 angleRight = GetAngle( normalVector, _lightVectors[3] );
1103 angleLeft = GetAngle( normalVector, _lightVectors[4] );
1104 angleRight = GetAngle( normalVector, _lightVectors[3] );
1108 angleLeft = GetAngle( normalVector, _lightVectors[3] );
1109 angleRight = GetAngle( normalVector, _lightVectors[4] );
1157 color = GetBrightGradientColor( surfaceColor, GetAngle(lightSource,_lightVectors[2])/Math.PI );
1162 color = GetBrightGradientColor( surfaceColor, GetAngle(lightSource,_lightVectors[1])/Math.PI );