Public Member Functions | |
| HexPalette (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| HexPalette () | |
| HexPalette (meshlib.HexPalette _other) | |
| meshlib.HexPalette | assignFromAnother (meshlib.HexPalette _other) |
| 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 () |
Static Public Member Functions | |
| static meshlib.Color | colorAtStep (int i) |
| static int | CORNER_COLORS () |
| static int | SIDE_COLORS () |
| static int | N () |
| static int | STEP () |
| static meshlib.std_array_MR_Color_30 | colors () |
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) | |
all colors here are on cube's boundary intersected by a skew plane, which makes a hexagon; gives visually distinct categorical colors for things like mesh segments or imported components Generated from class MR::HexPalette.
Instances created here own their C++ objects, see CppObject.
| meshlib.HexPalette.HexPalette | ( | 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.HexPalette.HexPalette | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_HexPalette_DefaultConstruct().
| meshlib.HexPalette.HexPalette | ( | meshlib.HexPalette | _other | ) |
Generated from constructor MR::HexPalette::HexPalette. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_HexPalette_ConstructFromAnother().
| meshlib.HexPalette meshlib.HexPalette.assignFromAnother | ( | meshlib.HexPalette | _other | ) |
Generated from method MR::HexPalette::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_HexPalette_AssignFromAnother().
|
static |
returns the i-th color in stride order, so successive i values give visually distinct colors Generated from method MR::HexPalette::colorAtStep.
Calls MR_HexPalette_colorAtStep().
|
static |
the palette colors, populated at compile time Returns a pointer to a member variable of class MR::HexPalette named colors.
Calls MR_HexPalette_Get_colors().
|
static |
Returns a pointer to a member variable of class MR::HexPalette named CORNER_COLORS.
Calls MR_HexPalette_Get_CORNER_COLORS().
|
static |
Returns a pointer to a member variable of class MR::HexPalette named N.
Calls MR_HexPalette_Get_N().
|
static |
num colors between two corner colors + 1 Returns a pointer to a member variable of class MR::HexPalette named SIDE_COLORS.
Calls MR_HexPalette_Get_SIDE_COLORS().
|
static |
recommended step from previous color to next color, to have big visual difference, and visit all colors in long run Returns a pointer to a member variable of class MR::HexPalette named STEP.
Calls MR_HexPalette_Get_STEP().