Ejemplo n.º 1
0
        public IntPtr GetAttributeAddress(udVoxelID voxelID, UInt32 attributeOffset)
        {
            IntPtr  ret   = IntPtr.Zero;
            udError error = udPointCloud_GetAttributeAddress(pModel, ref voxelID, attributeOffset, ref ret);

            if (error != udError.udE_Success)
            {
                throw new UDException(error);
            }
            return(ret);
        }
Ejemplo n.º 2
0
        public UInt64 GetNodeColour64(udVoxelID voxelID)
        {
            UInt64  ret   = 0;
            udError error = udPointCloud_GetNodeColour64(pModel, ref voxelID, ref ret);

            if (error != udError.udE_Success)
            {
                throw new UDException(error);
            }
            return(ret);
        }
Ejemplo n.º 3
0
 private static extern udError udPointCloud_GetAttributeAddress(IntPtr pModel, ref udVoxelID pVoxelID, UInt32 attributeOffset, ref IntPtr ppAttributeAddress);
Ejemplo n.º 4
0
 private static extern udError udPointCloud_GetNodeColour64(IntPtr pModel, ref udVoxelID pVoxelID, ref UInt64 pColour);