public void ImageDiffWithTolerance_OCCT29847() { var imageNew = new Image_PixMap(); imageNew.InitTrash(Image_Format.Image_Format_RGB, 1, 1); imageNew.SetPixelColor(0, 0, new Quantity_Color(0.5, 0.5, 0.5, Quantity_TypeOfColor.Quantity_TOC_RGB)); var imageRef = new Image_PixMap(); imageRef.InitTrash(Image_Format.Image_Format_RGB, 1, 1); imageRef.SetPixelColor(0, 0, new Quantity_Color(0.6, 0.6, 0.6, Quantity_TypeOfColor.Quantity_TOC_RGB)); var imageDiff = new Image_Diff(); imageDiff.Init(imageRef, imageNew); Assert.AreEqual(1, imageDiff.Compare()); imageDiff.SetColorTolerance(0.2); Assert.AreEqual(0, imageDiff.Compare()); }
public Graphic3d_CubeMap(Image_PixMap thePixmap, bool theToGenerateMipmaps) : base() { throw new NotImplementedException("Native class is abstract"); }
public bool BufferDump(Image_PixMap theImage, ref Graphic3d_BufferType theBufferType) { throw new NotImplementedException(); }
public bool ToPixMap(Image_PixMap theImage, int theWidth, int theHeight) { throw new NotImplementedException(); }
public bool ToPixMap(Image_PixMap theImage, int theWidth, int theHeight, ref Graphic3d_BufferType theBufferType) { throw new NotImplementedException(); }
public Graphic3d_CubeMapPacked(Image_PixMap theImage) : base() { throw new NotImplementedException(); }
public Graphic3d_TextureEnv(Image_PixMap thePixMap) : base() { throw new NotImplementedException(); }
public void GenerateEnvLUT(Image_PixMap theLUT) { throw new NotImplementedException(); }
public Graphic3d_AspectMarker3d(Image_PixMap theTextureImage) : base() { throw new NotImplementedException(); }
public void convertToCompatible(Image_SupportedFormats theSupported, Image_PixMap theImage) { throw new NotImplementedException(); }
public void GenerateEnvLUT(Image_PixMap theLUT, uint theNbIntegralSamples) { throw new NotImplementedException(); }
public Graphic3d_MarkerImage(Image_PixMap theImage) : base() { throw new NotImplementedException(); }
public Graphic3d_HatchStyle(Image_PixMap thePattern) : base() { throw new NotImplementedException(); }
public bool checkImage(Image_PixMap theImage, ref uint theTileNumberX) { throw new NotImplementedException(); }
public Graphic3d_CubeMap(Image_PixMap thePixmap) : base() { throw new NotImplementedException("Native class is abstract"); }
public void SetTexturePixMap(Image_PixMap theTexturePixMap) { throw new NotImplementedException(); }
public void SetImage(Image_PixMap thePixMap) { throw new NotImplementedException(); }
public bool ToPixMap(Image_PixMap theImage, V3d_ImageDumpOptions theParams) { throw new NotImplementedException(); }
public bool ToPixMap(Image_PixMap theImage, V3d_View theView, StdSelect_TypeOfSelectionImage theType) { throw new NotImplementedException(); }
public bool ToPixMap(Image_PixMap theImage, int theWidth, int theHeight, ref Graphic3d_BufferType theBufferType, bool theToAdjustAspect, V3d_StereoDumpOptions theStereoOptions) { throw new NotImplementedException(); }
public Graphic3d_TextureMap(Image_PixMap thePixMap, Graphic3d_TypeOfTexture theType) : base() { throw new NotImplementedException(); }
public Graphic3d_CubeMapPacked(Image_PixMap theImage, Graphic3d_ValidatedCubeMapOrder theOrder) : base() { throw new NotImplementedException(); }