MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_ObjectVoxels Class Reference

This class stores information about voxels object Generated from class MR.ObjectVoxels. Base classes: Direct: (non-virtual) MR.ObjectMeshHolder Indirect: (non-virtual) MR.ObjectChildrenHolder MR.Object MR.VisualObject This is the const half of the class. More...

+ Inheritance diagram for MR.Const_ObjectVoxels:

Classes

class  _InOptConst_VolumeRenderingParams
 This is used for optional parameters of class VolumeRenderingParams with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_VolumeRenderingParams. Usage: More...
 
class  _InOptMut_VolumeRenderingParams
 This is used for optional parameters of class VolumeRenderingParams with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_VolumeRenderingParams. Usage: More...
 
struct  _Underlying
 
struct  _UnderlyingShared
 
class  Const_VolumeRenderingParams
 Generated from class MR.ObjectVoxels.VolumeRenderingParams. This is the const half of the class. More...
 
class  VolumeRenderingParams
 Generated from class MR.ObjectVoxels.VolumeRenderingParams. This is the non-const half of the class. More...
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_ObjectVoxels ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_ObjectVoxels (MR._ByValue_ObjectVoxels _other)
 Generated from constructor MR.ObjectVoxels.ObjectVoxels.
 
unsafe? byte typeName ()
 Generated from method MR.ObjectVoxels.typeName.
 
unsafe MR.Std.String className ()
 Generated from method MR.ObjectVoxels.className.
 
unsafe MR.Std.String classNameInPlural ()
 Generated from method MR.ObjectVoxels.classNameInPlural.
 
unsafe MR.Const_Mesh surface ()
 Returns iso surface, empty if iso value is not set Generated from method MR.ObjectVoxels.surface.
 
unsafe MR.Const_VdbVolume vdbVolume ()
 Return VdbVolume Generated from method MR.ObjectVoxels.vdbVolume.
 
unsafe MR.Const_FloatGrid grid ()
 Returns Float grid which contains voxels data, see more on openvdb.FloatGrid Generated from method MR.ObjectVoxels.grid.
 
unsafe bool hasModel ()
 Generated from method MR.ObjectVoxels.hasModel.
 
unsafe ref readonly MR.Vector3i dimensions ()
 Returns dimensions of voxel objects Generated from method MR.ObjectVoxels.dimensions.
 
unsafe float getIsoValue ()
 Returns current iso value Generated from method MR.ObjectVoxels.getIsoValue.
 
unsafe MR.Const_Histogram histogram ()
 Returns histogram Generated from method MR.ObjectVoxels.histogram.
 
unsafe ref readonly MR.Vector3f voxelSize ()
 Generated from method MR.ObjectVoxels.voxelSize.
 
unsafe MR.Std.Vector_StdString getInfoLines ()
 Generated from method MR.ObjectVoxels.getInfoLines.
 
unsafe MR.Mesh recalculateIsoSurface (float iso, MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null)
 Calculates and return new mesh or error message Generated from method MR.ObjectVoxels.recalculateIsoSurface. Parameter cb defaults to {}.
 
unsafe MR.Mesh recalculateIsoSurface (MR.Const_VdbVolume volume, float iso, MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null)
 Same as above, but takes external volume Generated from method MR.ObjectVoxels.recalculateIsoSurface. Parameter cb defaults to {}.
 
unsafe MR.Histogram recalculateHistogram (MR._InOpt_Vector2f minmax, MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null)
 Calculates and returns new histogram Generated from method MR.ObjectVoxels.recalculateHistogram. Parameter cb defaults to {}.
 
unsafe bool getDualMarchingCubes ()
 returns true if the iso-surface is built using Dual Marching Cubes algorithm or false if using Standard Marching Cubes Generated from method MR.ObjectVoxels.getDualMarchingCubes.
 
unsafe ref readonly MR.Box3i getActiveBounds ()
 Returns active bounds (max excluded) active bounds is box in voxel coordinates, note that voxels under (0,0,0) and voxels over (dimensions) are empty Generated from method MR.ObjectVoxels.getActiveBounds.
 
unsafe MR.Const_VoxelBitSet getSelectedVoxels ()
 Generated from method MR.ObjectVoxels.getSelectedVoxels.
 
unsafe MR.Const_VoxelBitSet getVolumeRenderActiveVoxels ()
 get active (visible) voxels Generated from method MR.ObjectVoxels.getVolumeRenderActiveVoxels.
 
unsafe MR.VoxelId getVoxelIdByCoordinate (in MR.Vector3i coord)
 VoxelId is numerical representation of voxel Coordinate is {x,y,z} indices of voxels in box (base dimensions space, NOT active dimensions) Point is local space coordinate of point in scene Generated from method MR.ObjectVoxels.getVoxelIdByCoordinate.
 
unsafe MR.VoxelId getVoxelIdByPoint (in MR.Vector3f point)
 Generated from method MR.ObjectVoxels.getVoxelIdByPoint.
 
unsafe MR.Vector3i getCoordinateByVoxelId (MR.VoxelId id)
 Generated from method MR.ObjectVoxels.getCoordinateByVoxelId.
 
unsafe MR.Const_VolumeIndexer getVolumeIndexer ()
 Returns indexer with more options Generated from method MR.ObjectVoxels.getVolumeIndexer.
 
unsafe bool prepareDataForVolumeRendering (MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null)
 Generated from method MR.ObjectVoxels.prepareDataForVolumeRendering. Parameter cb defaults to {}.
 
unsafe bool isVolumeRenderingEnabled ()
 Generated from method MR.ObjectVoxels.isVolumeRenderingEnabled.
 
unsafe void * getVolumeRenderingData ()
 Generated from method MR.ObjectVoxels.getVolumeRenderingData.
 
unsafe MR.ObjectVoxels.Const_VolumeRenderingParams getVolumeRenderingParams ()
 Generated from method MR.ObjectVoxels.getVolumeRenderingParams.
 
unsafe bool hasVisualRepresentation ()
 Generated from method MR.ObjectVoxels.hasVisualRepresentation.
 
unsafe int getMaxSurfaceVertices ()
 gets top limit on the number of vertices in the iso-surface Generated from method MR.ObjectVoxels.getMaxSurfaceVertices.
 
unsafe MR.Object clone ()
 Generated from method MR.ObjectVoxels.clone.
 
unsafe MR.Object shallowClone ()
 Generated from method MR.ObjectVoxels.shallowClone.
 
unsafe ulong activeVoxels ()
 returns cached information about the number of active voxels Generated from method MR.ObjectVoxels.activeVoxels.
 
unsafe ulong heapBytes ()
 returns the amount of memory this object occupies on heap Generated from method MR.ObjectVoxels.heapBytes.
 
unsafe? byte serializeFormat ()
 returns overriden file extension used to serialize voxels inside this object, nullptr means defaultSerializeVoxelsFormat() Generated from method MR.ObjectVoxels.serializeFormat.
 
unsafe MR.Const_Mesh mesh ()
 Generated from method MR.ObjectVoxels.mesh.
 
unsafe MR.MeshPart meshPart ()
 
unsafe MR.Const_FaceBitSet getSelectedFaces ()
 Generated from method MR.ObjectVoxels.getSelectedFaces.
 
unsafe ref readonly MR.Color getSelectedFacesColor (MR._InOpt_ViewportId id=default)
 returns colors of selected triangles Generated from method MR.ObjectVoxels.getSelectedFacesColor. Parameter id defaults to {}.
 
unsafe MR.Const_UndirectedEdgeBitSet getSelectedEdges ()
 Generated from method MR.ObjectVoxels.getSelectedEdges.
 
unsafe ref readonly MR.Color getSelectedEdgesColor (MR._InOpt_ViewportId id=default)
 returns colors of selected edges Generated from method MR.ObjectVoxels.getSelectedEdgesColor. Parameter id defaults to {}.
 
unsafe MR.Const_ViewportProperty_MRColor getSelectedEdgesColorsForAllViewports ()
 Generated from method MR.ObjectVoxels.getSelectedEdgesColorsForAllViewports.
 
unsafe MR.Const_ViewportProperty_MRColor getSelectedFacesColorsForAllViewports ()
 Generated from method MR.ObjectVoxels.getSelectedFacesColorsForAllViewports.
 
unsafe MR.Const_ViewportProperty_MRColor getEdgesColorsForAllViewports ()
 Generated from method MR.ObjectVoxels.getEdgesColorsForAllViewports.
 
unsafe MR.Const_ViewportProperty_MRColor getPointsColorsForAllViewports ()
 Generated from method MR.ObjectVoxels.getPointsColorsForAllViewports.
 
unsafe MR.Const_ViewportProperty_MRColor getBordersColorsForAllViewports ()
 Generated from method MR.ObjectVoxels.getBordersColorsForAllViewports.
 
unsafe MR.Const_UndirectedEdgeBitSet creases ()
 Edges on mesh, that will have sharp visualization even with smooth shading Generated from method MR.ObjectVoxels.creases.
 
unsafe bool flatShading ()
 Generated from method MR.ObjectVoxels.flatShading.
 
unsafe bool supportsVisualizeProperty (MR.Const_AnyVisualizeMaskEnum type)
 Generated from method MR.ObjectVoxels.supportsVisualizeProperty.
 
unsafe MR.Std.Vector_MRViewportMask getAllVisualizeProperties ()
 get all visualize properties masks Generated from method MR.ObjectVoxels.getAllVisualizeProperties.
 
unsafe MR.Const_ViewportMask getVisualizePropertyMask (MR.Const_AnyVisualizeMaskEnum type)
 returns mask of viewports where given property is set Generated from method MR.ObjectVoxels.getVisualizePropertyMask.
 
unsafe MR.Const_ObjectMeshData data ()
 provides read-only access to whole ObjectMeshData Generated from method MR.ObjectVoxels.data.
 
unsafe MR.Const_VertColors getVertsColorMap ()
 returns per-vertex colors of the object Generated from method MR.ObjectVoxels.getVertsColorMap.
 
unsafe MR.Const_FaceColors getFacesColorMap ()
 Generated from method MR.ObjectVoxels.getFacesColorMap.
 
unsafe float getEdgeWidth ()
 Generated from method MR.ObjectVoxels.getEdgeWidth.
 
unsafe float getPointSize ()
 Generated from method MR.ObjectVoxels.getPointSize.
 
unsafe ref readonly MR.Color getEdgesColor (MR._InOpt_ViewportId id=default)
 Generated from method MR.ObjectVoxels.getEdgesColor. Parameter id defaults to {}.
 
unsafe ref readonly MR.Color getPointsColor (MR._InOpt_ViewportId id=default)
 Generated from method MR.ObjectVoxels.getPointsColor. Parameter id defaults to {}.
 
unsafe ref readonly MR.Color getBordersColor (MR._InOpt_ViewportId id=default)
 Generated from method MR.ObjectVoxels.getBordersColor. Parameter id defaults to {}.
 
unsafe MR.Const_MeshTexture getTexture ()
 returns first texture in the vector. If there is no textures, returns empty texture Generated from method MR.ObjectVoxels.getTexture.
 
unsafe MR.Const_Vector_MRMeshTexture_MRTextureId getTextures ()
 Generated from method MR.ObjectVoxels.getTextures.
 
unsafe MR.Const_TexturePerFace getTexturePerFace ()
 Generated from method MR.ObjectVoxels.getTexturePerFace.
 
unsafe MR.Const_VertCoords2 getUVCoords ()
 Generated from method MR.ObjectVoxels.getUVCoords.
 
unsafe MR.Const_MeshTexture getAncillaryTexture ()
 Generated from method MR.ObjectVoxels.getAncillaryTexture.
 
unsafe MR.Const_VertCoords2 getAncillaryUVCoords ()
 Generated from method MR.ObjectVoxels.getAncillaryUVCoords.
 
unsafe bool hasAncillaryTexture ()
 Generated from method MR.ObjectVoxels.hasAncillaryTexture.
 
unsafe uint getNeededNormalsRenderDirtyValue (MR.Const_ViewportMask viewportMask)
 returns dirty flag of currently using normal type if they are dirty in render representation Generated from method MR.ObjectVoxels.getNeededNormalsRenderDirtyValue.
 
unsafe bool getRedrawFlag (MR.Const_ViewportMask viewportMask)
 Generated from method MR.ObjectVoxels.getRedrawFlag.
 
unsafe bool isMeshClosed ()
 returns cached information whether the mesh is closed Generated from method MR.ObjectVoxels.isMeshClosed.
 
unsafe MR.Box3f getWorldBox (MR._InOpt_ViewportId _1=default)
 returns cached bounding box of this mesh object in world coordinates; if you need bounding box in local coordinates please call getBoundingBox() Generated from method MR.ObjectVoxels.getWorldBox. Parameter _1 defaults to {}.
 
unsafe ulong numSelectedFaces ()
 returns cached information about the number of selected faces in the mesh Generated from method MR.ObjectVoxels.numSelectedFaces.
 
unsafe ulong numSelectedEdges ()
 returns cached information about the number of selected undirected edges in the mesh Generated from method MR.ObjectVoxels.numSelectedEdges.
 
unsafe ulong numCreaseEdges ()
 returns cached information about the number of crease undirected edges in the mesh Generated from method MR.ObjectVoxels.numCreaseEdges.
 
unsafe double totalArea ()
 returns cached summed area of mesh triangles Generated from method MR.ObjectVoxels.totalArea.
 
unsafe double selectedArea ()
 returns cached area of selected triangles Generated from method MR.ObjectVoxels.selectedArea.
 
unsafe double volume ()
 returns cached volume of space surrounded by the mesh, which is valid only if mesh is closed Generated from method MR.ObjectVoxels.volume.
 
unsafe float avgEdgeLen ()
 returns cached average edge length Generated from method MR.ObjectVoxels.avgEdgeLen.
 
unsafe ulong numUndirectedEdges ()
 returns cached information about the number of undirected edges in the mesh Generated from method MR.ObjectVoxels.numUndirectedEdges.
 
unsafe ulong numHoles ()
 returns cached information about the number of holes in the mesh Generated from method MR.ObjectVoxels.numHoles.
 
unsafe ulong numComponents ()
 returns cached information about the number of components in the mesh Generated from method MR.ObjectVoxels.numComponents.
 
unsafe ulong numHandles ()
 returns cached information about the number of handles in the mesh Generated from method MR.ObjectVoxels.numHandles.
 
unsafe? byte actualSerializeFormat ()
 returns overriden file extension used to serialize mesh inside this object if set, or defaultSerializeMeshFormat().c_str() otherwise; never returns nullptr Generated from method MR.ObjectVoxels.actualSerializeFormat.
 
unsafe ulong getModelHash ()
 Generated from method MR.ObjectVoxels.getModelHash.
 
unsafe bool sameModels (MR.Const_Object other)
 Generated from method MR.ObjectVoxels.sameModels.
 
unsafe bool getVisualizeProperty (MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask)
 returns true if the property is set at least in one viewport specified by the mask Generated from method MR.ObjectVoxels.getVisualizeProperty.
 
unsafe MR.ViewportMask globalClippedByPlaneMask ()
 returns all viewports where this object or any of its parents is clipped by plane Generated from method MR.ObjectVoxels.globalClippedByPlaneMask.
 
unsafe bool globalClippedByPlane (MR.Const_ViewportMask? viewportMask=null)
 returns true if this object or any of its parents is clipped by plane in any of given viewports Generated from method MR.ObjectVoxels.globalClippedByPlane. Parameter viewportMask defaults to ViewportMask.any().
 
unsafe ref readonly MR.Color getFrontColor (bool? selected=null, MR._InOpt_ViewportId viewportId=default)
 returns color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR.ObjectVoxels.getFrontColor. Parameter selected defaults to true. Parameter viewportId defaults to {}.
 
unsafe MR.Const_ViewportProperty_MRColor getFrontColorsForAllViewports (bool? selected=null)
 returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR.ObjectVoxels.getFrontColorsForAllViewports. Parameter selected defaults to true.
 
unsafe MR.Const_ViewportProperty_MRColor getBackColorsForAllViewports ()
 returns backward color of object in all viewports Generated from method MR.ObjectVoxels.getBackColorsForAllViewports.
 
unsafe ref readonly MR.Color getBackColor (MR._InOpt_ViewportId viewportId=default)
 returns backward color of object in given viewport Generated from method MR.ObjectVoxels.getBackColor. Parameter viewportId defaults to {}.
 
unsafe byte getGlobalAlpha (MR._InOpt_ViewportId viewportId=default)
 returns global transparency alpha of object in given viewport Generated from method MR.ObjectVoxels.getGlobalAlpha. Parameter viewportId defaults to {}.
 
unsafe MR.Const_ViewportProperty_UnsignedChar getGlobalAlphaForAllViewports ()
 returns global transparency alpha of object in all viewports Generated from method MR.ObjectVoxels.getGlobalAlphaForAllViewports.
 
unsafe uint getDirtyFlags ()
 returns current dirty flags for the object Generated from method MR.ObjectVoxels.getDirtyFlags.
 
unsafe void resetDirty ()
 resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR.ObjectVoxels.resetDirty.
 
unsafe void resetDirtyExceptMask (uint mask)
 reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR.ObjectVoxels.resetDirtyExceptMask.
 
unsafe MR.Box3f getBoundingBox ()
 returns cached bounding box of this object in local coordinates Generated from method MR.ObjectVoxels.getBoundingBox.
 
unsafe bool isPickable (MR.Const_ViewportMask? viewportMask=null)
 whether the object can be picked (by mouse) in any of given viewports Generated from method MR.ObjectVoxels.isPickable. Parameter viewportMask defaults to ViewportMask.any().
 
unsafe MR.ColoringType getColoringType ()
 returns the current coloring mode of the object Generated from method MR.ObjectVoxels.getColoringType.
 
unsafe float getShininess ()
 returns the current shininess visual value Generated from method MR.ObjectVoxels.getShininess.
 
unsafe float getSpecularStrength ()
 returns intensity of reflections Generated from method MR.ObjectVoxels.getSpecularStrength.
 
unsafe float getAmbientStrength ()
 returns intensity of non-directional light Generated from method MR.ObjectVoxels.getAmbientStrength.
 
unsafe bool render (MR.Const_ModelRenderParams _1)
 draws this object for visualization Returns true if something was drawn. Generated from method MR.ObjectVoxels.render.
 
unsafe void renderForPicker (MR.Const_ModelBaseRenderParams _1, uint _2)
 draws this object for picking Generated from method MR.ObjectVoxels.renderForPicker.
 
unsafe void renderUi (MR.Const_UiRenderParams params_)
 draws this object for 2d UI Generated from method MR.ObjectVoxels.renderUi.
 
unsafe bool useDefaultScenePropertiesOnDeserialization ()
 whether the scene-related properties should get their values from SceneColors and SceneSettings instances rather than from the input data on deserialization Generated from method MR.ObjectVoxels.useDefaultScenePropertiesOnDeserialization.
 
unsafe MR.Std.Const_String name ()
 Generated from method MR.ObjectVoxels.name.
 
unsafe ref readonly MR.AffineXf3f xf (MR._InOpt_ViewportId id=default, MR.Misc.InOut< bool >? isDef=null)
 this space to parent space transformation (to world space if no parent) for default or given viewport
 
unsafe MR.Const_ViewportProperty_MRAffineXf3f xfsForAllViewports ()
 returns xfs for all viewports, combined into a single object Generated from method MR.ObjectVoxels.xfsForAllViewports.
 
unsafe MR.AffineXf3f worldXf (MR._InOpt_ViewportId id=default, MR.Misc.InOut< bool >? isDef=null)
 this space to world space transformation for default or specific viewport
 
unsafe MR.ViewportMask globalVisibilityMask ()
 returns all viewports where this object is visible together with all its parents Generated from method MR.ObjectVoxels.globalVisibilityMask.
 
unsafe bool globalVisibility (MR.Const_ViewportMask? viewportMask=null)
 returns true if this object is visible together with all its parents in any of given viewports Generated from method MR.ObjectVoxels.globalVisibility. Parameter viewportMask defaults to ViewportMask.any().
 
unsafe bool isLocked ()
 object properties lock for UI Generated from method MR.ObjectVoxels.isLocked.
 
unsafe bool isParentLocked ()
 If true, the scene tree GUI doesn't allow you to drag'n'drop this object into a different parent. Defaults to false. Generated from method MR.ObjectVoxels.isParentLocked.
 
unsafe bool isAncestor (MR.Const_Object? ancestor)
 return true if given object is ancestor of this one, false otherwise Generated from method MR.ObjectVoxels.isAncestor.
 
unsafe bool isSelected ()
 Generated from method MR.ObjectVoxels.isSelected.
 
unsafe bool isAncillary ()
 Generated from method MR.ObjectVoxels.isAncillary.
 
unsafe bool isGlobalAncillary ()
 returns true if the object or any of its ancestors are ancillary Generated from method MR.ObjectVoxels.isGlobalAncillary.
 
unsafe bool isVisible (MR.Const_ViewportMask? viewportMask=null)
 checks whether the object is visible in any of the viewports specified by the mask (by default in any viewport) Generated from method MR.ObjectVoxels.isVisible. Parameter viewportMask defaults to ViewportMask.any().
 
unsafe MR.ViewportMask visibilityMask ()
 gets object visibility as bitmask of viewports Generated from method MR.ObjectVoxels.visibilityMask.
 
unsafe void resetRedrawFlag ()
 Generated from method MR.ObjectVoxels.resetRedrawFlag.
 
unsafe MR.Object cloneTree ()
 clones all tree of this object (except ancillary and unrecognized children) Generated from method MR.ObjectVoxels.cloneTree.
 
unsafe MR.Object shallowCloneTree ()
 clones all tree of this object (except ancillary and unrecognied children) clones only pointers to mesh, points or voxels Generated from method MR.ObjectVoxels.shallowCloneTree.
 
unsafe MR.Box3f getWorldTreeBox (MR._InOpt_ViewportId _1=default)
 empty box returns bounding box of this object and all children visible in given (or default) viewport in world coordinates Generated from method MR.ObjectVoxels.getWorldTreeBox. Parameter _1 defaults to {}.
 
unsafe MR.Std.Const_Set_StdString tags ()
 provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR.ObjectVoxels.tags.
 
unsafe MR.Object getSharedPtr ()
 Generated from method MR.ObjectVoxels.getSharedPtr.
 

Static Public Member Functions

static unsafe implicit operator MR.Const_ObjectChildrenHolder (Const_ObjectVoxels self)
 
static unsafe implicit operator MR.Const_Object (Const_ObjectVoxels self)
 
static unsafe implicit operator MR.Const_VisualObject (Const_ObjectVoxels self)
 
static unsafe implicit operator MR.Const_ObjectMeshHolder (Const_ObjectVoxels self)
 
static unsafe operator Const_ObjectVoxels? (MR.Const_Object parent)
 
static unsafe operator Const_ObjectVoxels? (MR.Const_VisualObject parent)
 
static unsafe operator Const_ObjectVoxels? (MR.Const_ObjectMeshHolder parent)
 
static unsafe? byte staticTypeName ()
 Generated from method MR.ObjectVoxels.StaticTypeName.
 
static unsafe? byte staticClassName ()
 Generated from method MR.ObjectVoxels.StaticClassName.
 
static unsafe? byte staticClassNameInPlural ()
 Generated from method MR.ObjectVoxels.StaticClassNameInPlural.
 

Protected Member Functions

unsafe void _LateMakeShared (_Underlying *ptr)
 
virtual unsafe void Dispose (bool disposing)
 

Properties

override unsafe bool _IsOwning [get]
 Check if the underlying shared pointer is owning or not.
 
- Properties inherited from MR.Misc.SharedObject< Const_ObjectVoxels >
override bool _IsOwning [get]
 This checks if the shared_ptr itself is owning or not, rather than whether we own our shared_ptr, which isn't a given. The derived classes have to implement this, since it depends on the specific shared_ptr type.
 
bool _IsOwningSharedPtr [get]
 This checks if we own the underlying shared_ptr instance, regardless of whether it owns the underlying object, which is orthogonal. We repurpose _IsOwningVal for this.
 

Detailed Description

This class stores information about voxels object Generated from class MR.ObjectVoxels. Base classes: Direct: (non-virtual) MR.ObjectMeshHolder Indirect: (non-virtual) MR.ObjectChildrenHolder MR.Object MR.VisualObject This is the const half of the class.

Member Function Documentation

◆ meshPart()

unsafe MR.MeshPart MR.Const_ObjectVoxels.meshPart ( )
inline
Returns
the pair ( mesh, selected triangles ) if any triangle is selected or whole mesh otherwise Generated from method MR.ObjectVoxels.meshPart.

◆ worldXf()

unsafe MR.AffineXf3f MR.Const_ObjectVoxels.worldXf ( MR._InOpt_ViewportId id = default,
MR.Misc.InOut< bool >? isDef = null )
inline

this space to world space transformation for default or specific viewport

Parameters
isDefreceives true if the object has default transformation in this viewport (same as worldXf() returns) Generated from method MR.ObjectVoxels.worldXf. Parameter id defaults to {}.

◆ xf()

unsafe ref readonly MR.AffineXf3f MR.Const_ObjectVoxels.xf ( MR._InOpt_ViewportId id = default,
MR.Misc.InOut< bool >? isDef = null )
inline

this space to parent space transformation (to world space if no parent) for default or given viewport

Parameters
isDefreceives true if the object has default transformation in this viewport (same as xf() returns) Generated from method MR.ObjectVoxels.xf. Parameter id defaults to {}.

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