MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.AnyVisualizeMaskEnum Class Reference
Inheritance diagram for meshlib.AnyVisualizeMaskEnum:

Public Member Functions

 AnyVisualizeMaskEnum (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 AnyVisualizeMaskEnum (meshlib.AnyVisualizeMaskEnum _other)
 AnyVisualizeMaskEnum (meshlib.VisualizeMaskType value)
 AnyVisualizeMaskEnum (meshlib.MeshVisualizePropertyType value)
 AnyVisualizeMaskEnum (meshlib.DimensionsVisualizePropertyType value)
meshlib.AnyVisualizeMaskEnum assignFromAnother (meshlib.AnyVisualizeMaskEnum _other)
meshlib.std_optional_MR_DimensionsVisualizePropertyType tryGet ()
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)

Detailed Description

Stores a VisualizeMaskType or any other enum that extends it (i.e. which specializes IsVisualizeMaskEnum). To extract the value, do this: if ( auto value = x.tryGet<MyEnum>() ) { switch ( *value ) { case MyEnum::foo: ... case MyEnum::bar: ... } } else // forward to the parent class Generated from class MR::AnyVisualizeMaskEnum.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ AnyVisualizeMaskEnum() [1/5]

meshlib.AnyVisualizeMaskEnum.AnyVisualizeMaskEnum ( 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.

◆ AnyVisualizeMaskEnum() [2/5]

meshlib.AnyVisualizeMaskEnum.AnyVisualizeMaskEnum ( meshlib.AnyVisualizeMaskEnum _other)

Generated from constructor MR::AnyVisualizeMaskEnum::AnyVisualizeMaskEnum. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_AnyVisualizeMaskEnum_ConstructFromAnother().

◆ AnyVisualizeMaskEnum() [3/5]

meshlib.AnyVisualizeMaskEnum.AnyVisualizeMaskEnum ( meshlib.VisualizeMaskType value)

Generated from constructor MR::AnyVisualizeMaskEnum::AnyVisualizeMaskEnum. The reference to the parameter value might be preserved in the constructed object.

Calls MR_AnyVisualizeMaskEnum_Construct_MR_VisualizeMaskType().

◆ AnyVisualizeMaskEnum() [4/5]

meshlib.AnyVisualizeMaskEnum.AnyVisualizeMaskEnum ( meshlib.MeshVisualizePropertyType value)

Generated from constructor MR::AnyVisualizeMaskEnum::AnyVisualizeMaskEnum. The reference to the parameter value might be preserved in the constructed object.

Calls MR_AnyVisualizeMaskEnum_Construct_MR_MeshVisualizePropertyType().

◆ AnyVisualizeMaskEnum() [5/5]

meshlib.AnyVisualizeMaskEnum.AnyVisualizeMaskEnum ( meshlib.DimensionsVisualizePropertyType value)

Generated from constructor MR::AnyVisualizeMaskEnum::AnyVisualizeMaskEnum. The reference to the parameter value might be preserved in the constructed object.

Calls MR_AnyVisualizeMaskEnum_Construct_MR_DimensionsVisualizePropertyType().

Member Function Documentation

◆ assignFromAnother()

meshlib.AnyVisualizeMaskEnum meshlib.AnyVisualizeMaskEnum.assignFromAnother ( meshlib.AnyVisualizeMaskEnum _other)

Generated from method MR::AnyVisualizeMaskEnum::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_AnyVisualizeMaskEnum_AssignFromAnother().

◆ tryGet()

meshlib.std_optional_MR_DimensionsVisualizePropertyType meshlib.AnyVisualizeMaskEnum.tryGet ( )

Generated from method MR::AnyVisualizeMaskEnum::tryGet<MR::DimensionsVisualizePropertyType>.

Calls MR_AnyVisualizeMaskEnum_tryGet().


The documentation for this class was generated from the following file: