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

Public Member Functions

 ViewportProperty_unsigned_char (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 ViewportProperty_unsigned_char ()
 ViewportProperty_unsigned_char (meshlib.ViewportProperty_unsigned_char _other)
 ViewportProperty_unsigned_char (byte def)
meshlib.ViewportProperty_unsigned_char assignFromAnother (meshlib.ViewportProperty_unsigned_char _other)
boolean opEqual (meshlib.ViewportProperty_unsigned_char _1)
boolean opNotEqual (meshlib.ViewportProperty_unsigned_char _1)
void set (byte def)
byte get_0 ()
java.lang.foreign.MemorySegment get_mut ()
java.lang.foreign.MemorySegment index (meshlib.ViewportId id)
void set (byte v, meshlib.ViewportId id)
byte get (meshlib.ViewportId id, meshlib.bool_output isDef)
boolean reset (meshlib.ViewportId id)
boolean reset ()
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

storage of some viewport-dependent property, which has some default value for all viewports and special values for some specific viewports Generated from class MR::ViewportProperty<unsigned char>.

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

Constructor & Destructor Documentation

◆ ViewportProperty_unsigned_char() [1/4]

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

◆ ViewportProperty_unsigned_char() [2/4]

meshlib.ViewportProperty_unsigned_char.ViewportProperty_unsigned_char ( )

Constructs an empty (default-constructed) instance.

Calls MR_ViewportProperty_unsigned_char_DefaultConstruct().

◆ ViewportProperty_unsigned_char() [3/4]

meshlib.ViewportProperty_unsigned_char.ViewportProperty_unsigned_char ( meshlib.ViewportProperty_unsigned_char _other)

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

Calls MR_ViewportProperty_unsigned_char_ConstructFromAnother().

◆ ViewportProperty_unsigned_char() [4/4]

meshlib.ViewportProperty_unsigned_char.ViewportProperty_unsigned_char ( byte def)

Generated from constructor MR::ViewportProperty<unsigned char>::ViewportProperty. The reference to the parameter def might be preserved in the constructed object.

Calls MR_ViewportProperty_unsigned_char_Construct().

Member Function Documentation

◆ assignFromAnother()

meshlib.ViewportProperty_unsigned_char meshlib.ViewportProperty_unsigned_char.assignFromAnother ( meshlib.ViewportProperty_unsigned_char _other)

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

Calls MR_ViewportProperty_unsigned_char_AssignFromAnother().

◆ get()

byte meshlib.ViewportProperty_unsigned_char.get ( meshlib.ViewportId id,
meshlib.bool_output isDef )

gets property value for given viewport: specific if available otherwise default one;

Parameters
isDefreceives true if this viewport does not have specific value and default one is returned Generated from method MR::ViewportProperty<unsigned char>::get.

Calls MR_ViewportProperty_unsigned_char_get_2().

◆ get_0()

byte meshlib.ViewportProperty_unsigned_char.get_0 ( )

gets default property value Generated from method MR::ViewportProperty<unsigned char>::get.

Calls MR_ViewportProperty_unsigned_char_get_0().

◆ get_mut()

java.lang.foreign.MemorySegment meshlib.ViewportProperty_unsigned_char.get_mut ( )

Generated from method MR::ViewportProperty<unsigned char>::get.

Calls MR_ViewportProperty_unsigned_char_get_mut(). Some types are raw C types, see the C bindings for the details.

◆ index()

java.lang.foreign.MemorySegment meshlib.ViewportProperty_unsigned_char.index ( meshlib.ViewportId id)

returns direct access to value associated with given viewport (or default value if !id) Generated from method MR::ViewportProperty<unsigned char>::operator[].

Calls MR_ViewportProperty_unsigned_char_index(). Some types are raw C types, see the C bindings for the details.

◆ opEqual()

boolean meshlib.ViewportProperty_unsigned_char.opEqual ( meshlib.ViewportProperty_unsigned_char _1)

Generated from method MR::ViewportProperty<unsigned char>::operator==.

Calls MR_equal_MR_ViewportProperty_unsigned_char().

◆ opNotEqual()

boolean meshlib.ViewportProperty_unsigned_char.opNotEqual ( meshlib.ViewportProperty_unsigned_char _1)

Generated from method MR::ViewportProperty<unsigned char>::operator!=.

Calls MR_not_equal_MR_ViewportProperty_unsigned_char().

◆ reset() [1/2]

boolean meshlib.ViewportProperty_unsigned_char.reset ( )

forgets specific property value for all viewports; returns true if any specific value was removed Generated from method MR::ViewportProperty<unsigned char>::reset.

Calls MR_ViewportProperty_unsigned_char_reset_0().

◆ reset() [2/2]

boolean meshlib.ViewportProperty_unsigned_char.reset ( meshlib.ViewportId id)

forgets specific property value for given viewport (or all viewports if !id); returns true if any specific value was removed Generated from method MR::ViewportProperty<unsigned char>::reset.

Calls MR_ViewportProperty_unsigned_char_reset_1().

◆ set() [1/2]

void meshlib.ViewportProperty_unsigned_char.set ( byte def)

sets default property value Generated from method MR::ViewportProperty<unsigned char>::set.

Calls MR_ViewportProperty_unsigned_char_set_1().

◆ set() [2/2]

void meshlib.ViewportProperty_unsigned_char.set ( byte v,
meshlib.ViewportId id )

sets specific property value for given viewport (or default value if !id) Generated from method MR::ViewportProperty<unsigned char>::set.

Calls MR_ViewportProperty_unsigned_char_set_2().


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