Public Member Functions | |
| Raster (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Raster () | |
| Raster (meshlib.RasterInfo info, meshlib.std_vector_unsigned_char data) | |
| Raster (meshlib.Raster _other) | |
| meshlib.Raster | assignFromAnother (meshlib.Raster _other) |
| meshlib.RasterInfo | info () |
| void | setInfo (meshlib.RasterInfo value) |
| meshlib.std_vector_unsigned_char | data () |
| void | setData (meshlib.std_vector_unsigned_char value) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
regular grid of values of any type: an image if it has one layer, otherwise a volume Generated from class MR::Raster.
Instances created here own their C++ objects, see CppObject.
| meshlib.Raster.Raster | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.Raster.Raster | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Raster_DefaultConstruct().
| meshlib.Raster.Raster | ( | meshlib.RasterInfo | info, |
| meshlib.std_vector_unsigned_char | data ) |
Constructs MR::Raster elementwise. The reference to the parameter info might be preserved in the constructed object. The reference to the parameter data might be preserved in the constructed object.
Calls MR_Raster_ConstructFrom().
| meshlib.Raster.Raster | ( | meshlib.Raster | _other | ) |
Generated from constructor MR::Raster::Raster. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Raster_ConstructFromAnother().
| meshlib.Raster meshlib.Raster.assignFromAnother | ( | meshlib.Raster | _other | ) |
Generated from method MR::Raster::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Raster_AssignFromAnother().
| meshlib.std_vector_unsigned_char meshlib.Raster.data | ( | ) |
values of type info.type: the channels of a pixel go together, x changes first, then y (the rows go from top to bottom, unlike in Image), then z Returns a pointer to a member variable of class MR::Raster named data. The reference to this object might be preserved as the return value.
Calls MR_Raster_Get_data().
| meshlib.RasterInfo meshlib.Raster.info | ( | ) |
Returns a pointer to a member variable of class MR::Raster named info. The reference to this object might be preserved as the return value.
Calls MR_Raster_Get_info().
| void meshlib.Raster.setData | ( | meshlib.std_vector_unsigned_char | value | ) |
values of type info.type: the channels of a pixel go together, x changes first, then y (the rows go from top to bottom, unlike in Image), then z Modifies a member variable of class MR::Raster named data. The reference to the parameter value might be preserved in this object in element data.
Calls MR_Raster_Set_data().
| void meshlib.Raster.setInfo | ( | meshlib.RasterInfo | value | ) |
Modifies a member variable of class MR::Raster named info. The reference to the parameter value might be preserved in this object in element info.
Calls MR_Raster_Set_info().