Class CLNImageView2DFixedU32
java.lang.Object
com.io7m.calino.imageview.internal.CLNImageView2DFixedU32
- All Implemented Interfaces:
CLNImageView2DType
An unsigned fixed-point 32-bit view.
-
Constructor Summary
ConstructorsConstructorDescriptionCLNImageView2DFixedU32(CLNImageInfo inImageInfo, int mipLevel, byte[] inData, int inComponentCount) An unsigned fixed-point 32-bit view. -
Method Summary
-
Constructor Details
-
CLNImageView2DFixedU32
public CLNImageView2DFixedU32(CLNImageInfo inImageInfo, int mipLevel, byte[] inData, int inComponentCount) An unsigned fixed-point 32-bit view.- Parameters:
inComponentCount- The component countmipLevel- The mip levelinData- The image datainImageInfo- The image info
-
-
Method Details
-
sizeX
public int sizeX()- Specified by:
sizeXin interfaceCLNImageView2DType- Returns:
- The size of the view on the X axis
-
sizeY
public int sizeY()- Specified by:
sizeYin interfaceCLNImageView2DType- Returns:
- The size of the view on the Y axis
-
pixelAt
public void pixelAt(int x, int y, double[] pixel) Description copied from interface:CLNImageView2DTypeSample a pixel at the given location.- Specified by:
pixelAtin interfaceCLNImageView2DType- Parameters:
x- The x locationy- The y locationpixel- The output pixel
-