3D mesh object consisting of polygons. More...
Inherits INativeHandle.
Public Member Functions | |
void | Dispose () |
IDisposable implementation. | |
IEnumerable< PointType > | TryGetPointsAs< PointType > () |
Tries to get the points of this mesh. | |
IEnumerable< int[]> | GetPolygonIndices () |
Gets the point indices of the polygons in this mesh. | |
IEnumerable< Polygon3D< T > > | GetPolygons () |
Gets the polygons of this mesh. | |
unsafe void | RasterToDensePointCloud (Matrix3D cameraRotation, Point3Dd cameraTranslation, DensePointCloud denseCloud) |
Rasters this mesh into a zbuffer and stores the result into the given denseCloud . | |
unsafe DensePointCloud | RasterToDensePointCloud (Matrix3D cameraRotation, Point3Dd cameraTranslation, double xResIncrement, double yResIncrement) |
Rasters this mesh into a zbuffer and stores the result in a newly created DensePointCloud. | |
void | Dispose () |
Does nothing. | |
Static Public Member Functions | |
static Mesh< T > | FromFile (string file) |
Loads a mesh from file. | |
static Mesh< T > | FromHandle (IntPtr handle) |
Creates a mesh from the given handle . | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
IDisposable helper function. | |
Events | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. | |
![]() | |
NativeHandleEventDelegate | ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method. | |
3D mesh object consisting of polygons.
T | : | struct |
|
protectedvirtual |
IDisposable helper function.
disposing |
|
static |
Loads a mesh from file.
file | File to load. |
|
static |
Creates a mesh from the given handle .
handle |
IEnumerable< int[]> GetPolygonIndices | ( | ) |
Gets the point indices of the polygons in this mesh.
IEnumerable< Polygon3D< T > > GetPolygons | ( | ) |
Gets the polygons of this mesh.
unsafe void RasterToDensePointCloud | ( | Matrix3D | cameraRotation, |
Point3Dd | cameraTranslation, | ||
DensePointCloud | denseCloud ) |
Rasters this mesh into a zbuffer and stores the result into the given denseCloud .
cameraRotation | Rotation matrix for the camera. |
cameraTranslation | Translation vector for the camera. |
denseCloud | Dense point cloud to store the rastered mesh in. |
unsafe DensePointCloud RasterToDensePointCloud | ( | Matrix3D | cameraRotation, |
Point3Dd | cameraTranslation, | ||
double | xResIncrement, | ||
double | yResIncrement ) |
Rasters this mesh into a zbuffer and stores the result in a newly created DensePointCloud.
cameraRotation | Rotation matrix for the camera. |
cameraTranslation | Translation vector for the camera. |
xResIncrement | The pixel size in x-direction. |
yResIncrement | The pixel size in y-direction. |
IEnumerable< PointType > TryGetPointsAs< PointType > | ( | ) |
Tries to get the points of this mesh.
PointType | Type of the points to get. |
PointType | : | struct |
NativeHandleEventDelegate ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method.
This event is raised right before this object is disposed. The dispose itself cannot be canceled.
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.