Class CLNImageView2DFixedU64
java.lang.Object
com.io7m.calino.imageview.internal.CLNImageView2DFixedU64
- All Implemented Interfaces:
CLNImageView2DType
An unsigned fixed-point 64-bit view.
-
Constructor Summary
ConstructorDescriptionCLNImageView2DFixedU64
(CLNImageInfo inImageInfo, int mipLevel, byte[] inData, int inComponentCount) An unsigned fixed-point 64-bit view. -
Method Summary
-
Constructor Details
-
CLNImageView2DFixedU64
public CLNImageView2DFixedU64(CLNImageInfo inImageInfo, int mipLevel, byte[] inData, int inComponentCount) An unsigned fixed-point 64-bit view.- Parameters:
inComponentCount
- The component countmipLevel
- The mip levelinData
- The image datainImageInfo
- The image info
-
-
Method Details
-
sizeX
public int sizeX()- Specified by:
sizeX
in interfaceCLNImageView2DType
- Returns:
- The size of the view on the X axis
-
sizeY
public int sizeY()- Specified by:
sizeY
in 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:CLNImageView2DType
Sample a pixel at the given location.- Specified by:
pixelAt
in interfaceCLNImageView2DType
- Parameters:
x
- The x locationy
- The y locationpixel
- The output pixel
-