MeshLib C# Docs
Loading...
Searching...
No Matches
MR.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 non-const half of the class. More...

+ Inheritance diagram for MR.ObjectVoxels:

Public Member Functions

unsafe ObjectVoxels ()
 Constructs an empty (default-constructed) instance.
 
unsafe ObjectVoxels (MR._ByValue_ObjectVoxels _other)
 Generated from constructor MR.ObjectVoxels.ObjectVoxels.
 
unsafe MR.ObjectVoxels assign (MR._ByValue_ObjectVoxels _other)
 Generated from method MR.ObjectVoxels.operator=.
 
unsafe void applyScale (float scaleFactor)
 Generated from method MR.ObjectVoxels.applyScale.
 
unsafe MR.VdbVolume varVdbVolume ()
 Generated from method MR.ObjectVoxels.varVdbVolume.
 
unsafe void construct (MR.Const_SimpleVolume simpleVolume, MR.Std.Const_Optional_MRVector2f? minmax=null, MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null, bool? normalPlusGrad=null)
 Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface)
 
unsafe void construct (MR.Const_SimpleVolumeMinMax simpleVolumeMinMax, MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null, bool? normalPlusGrad=null)
 Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface)
 
unsafe void construct (MR.Const_FloatGrid grid, in MR.Vector3f voxelSize, MR.Std.Const_Optional_MRVector2f? minmax=null)
 Clears all internal data and then remembers grid and calculates histogram (surface is not built, call updateHistogramAndSurface)
 
unsafe void construct (MR.Const_VdbVolume vdbVolume)
 Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface) Generated from method MR.ObjectVoxels.construct.
 
unsafe void updateHistogramAndSurface (MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null)
 Updates histogram, by stored grid (evals min and max values from grid) rebuild iso surface if it is present Generated from method MR.ObjectVoxels.updateHistogramAndSurface. Parameter cb defaults to {}.
 
unsafe bool setIsoValue (float iso, MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null, bool? updateSurface=null)
 Sets iso value and updates iso-surfaces if needed: Returns true if iso-value was updated, false - otherwise Generated from method MR.ObjectVoxels.setIsoValue. Parameter cb defaults to {}. Parameter updateSurface defaults to true.
 
unsafe MR.Mesh updateIsoSurface (MR._ByValueShared_Mesh mesh)
 Sets external surface mesh for this object and returns back previous mesh of this Generated from method MR.ObjectVoxels.updateIsoSurface.
 
unsafe MR.VdbVolume updateVdbVolume (MR._ByValue_VdbVolume vdbVolume)
 Sets external vdb volume for this object and returns back previous vdb volume of this Generated from method MR.ObjectVoxels.updateVdbVolume.
 
unsafe MR.Histogram updateHistogram (MR._ByValue_Histogram histogram)
 Sets external histogram for this object and returns back previous histogram of this Generated from method MR.ObjectVoxels.updateHistogram.
 
unsafe void setDualMarchingCubes (bool on, bool? updateSurface=null, MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null)
 sets whether to use Dual Marching Cubes algorithm for visualization (true) or Standard Marching Cubes (false);
 
unsafe void setVoxelPointPositioner (MR.Std._ByValue_Function_MRVector3fFuncFromConstMRVector3fRefConstMRVector3fRefFloatFloatFloat positioner)
 set voxel point positioner for Marching Cubes (only for Standard Marching Cubes) Generated from method MR.ObjectVoxels.setVoxelPointPositioner.
 
unsafe void setActiveBounds (in MR.Box3i activeBox, MR.Std._ByValue_Function_BoolFuncFromFloat? cb=null, bool? updateSurface=null)
 Sets active bounds for some simplifications (max excluded) active bounds is box in voxel coordinates, note that voxels under (0,0,0) and voxels over (dimensions) are empty NOTE: don't forget to call invalidateActiveBoundsCaches if you call this function from progress bar thread Generated from method MR.ObjectVoxels.setActiveBounds. Parameter cb defaults to {}. Parameter updateSurface defaults to true.
 
unsafe void invalidateActiveBoundsCaches ()
 Call this function in main thread post processing if you call setActiveBounds from progress bar thread Generated from method MR.ObjectVoxels.invalidateActiveBoundsCaches.
 
unsafe void selectVoxels (MR.Const_VoxelBitSet selectedVoxels)
 Generated from method MR.ObjectVoxels.selectVoxels.
 
unsafe void setVolumeRenderActiveVoxels (MR.Const_VoxelBitSet activeVoxels)
 set active (visible) voxels (using only in Volume Rendering mode) Generated from method MR.ObjectVoxels.setVolumeRenderActiveVoxels.
 
unsafe void enableVolumeRendering (bool on)
 Generated from method MR.ObjectVoxels.enableVolumeRendering.
 
unsafe void setVolumeRenderingParams (MR.ObjectVoxels.Const_VolumeRenderingParams params_)
 Generated from method MR.ObjectVoxels.setVolumeRenderingParams.
 
unsafe void setMaxSurfaceVertices (int maxVerts)
 sets top limit on the number of vertices in the iso-surface Generated from method MR.ObjectVoxels.setMaxSurfaceVertices.
 
unsafe void setDirtyFlags (uint mask, bool? invalidateCaches=null)
 Generated from method MR.ObjectVoxels.setDirtyFlags. Parameter invalidateCaches defaults to true.
 
unsafe void setSerializeFormat (byte? newFormat)
 overrides file extension used to serialize voxels inside this object: must start from '.', nullptr means serialize in defaultSerializeVoxelsFormat() Generated from method MR.ObjectVoxels.setSerializeFormat.
 
unsafe void resetFrontColor ()
 reset basic object colors to their default values from the current theme Generated from method MR.ObjectVoxels.resetFrontColor.
 
unsafe void setDirtyFlagsFast (uint mask)
 this is a faster version of setDirtyFlags(), which does not invalidate metrics cache (area, volume, ...); the user is responsible for calling invalidateMetricsCache( mask ) or setDirtyFlags( mask ) at the end of mesh editing; DANGER: all cached values returned until then can be outdated Generated from method MR.ObjectVoxels.setDirtyFlagsFast.
 
unsafe void invalidateMetricsCache (uint mask)
 invalidates same caches with mesh metrics (area, volume, ...) as by setDirtyFlags( mask ) Generated from method MR.ObjectVoxels.invalidateMetricsCache.
 
unsafe void selectFaces (MR._ByValue_FaceBitSet newSelection)
 Generated from method MR.ObjectVoxels.selectFaces.
 
unsafe void setSelectedFacesColor (in MR.Color color, MR._InOpt_ViewportId id=default)
 sets colors of selected triangles Generated from method MR.ObjectVoxels.setSelectedFacesColor. Parameter id defaults to {}.
 
unsafe void selectEdges (MR._ByValue_UndirectedEdgeBitSet newSelection)
 Generated from method MR.ObjectVoxels.selectEdges.
 
unsafe void setSelectedEdgesColor (in MR.Color color, MR._InOpt_ViewportId id=default)
 sets colors of selected edges Generated from method MR.ObjectVoxels.setSelectedEdgesColor. Parameter id defaults to {}.
 
unsafe void setSelectedEdgesColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val)
 Generated from method MR.ObjectVoxels.setSelectedEdgesColorsForAllViewports.
 
unsafe void setSelectedFacesColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val)
 Generated from method MR.ObjectVoxels.setSelectedFacesColorsForAllViewports.
 
unsafe void setEdgesColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val)
 Generated from method MR.ObjectVoxels.setEdgesColorsForAllViewports.
 
unsafe void setPointsColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val)
 Generated from method MR.ObjectVoxels.setPointsColorsForAllViewports.
 
unsafe void setBordersColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val)
 Generated from method MR.ObjectVoxels.setBordersColorsForAllViewports.
 
unsafe void copyAllSolidColors (MR.Const_ObjectMeshHolder other)
 set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR.ObjectVoxels.copyAllSolidColors.
 
unsafe void setCreases (MR._ByValue_UndirectedEdgeBitSet creases)
 Generated from method MR.ObjectVoxels.setCreases.
 
unsafe void setFlatShading (bool on)
 sets flat (true) or smooth (false) shading Generated from method MR.ObjectVoxels.setFlatShading.
 
unsafe void setData (MR.Misc._Moved< MR.ObjectMeshData > data)
 sets whole new ObjectMeshData Generated from method MR.ObjectVoxels.setData.
 
unsafe void updateData (MR.ObjectMeshData data)
 swaps whole ObjectMeshData with given argument Generated from method MR.ObjectVoxels.updateData.
 
unsafe void setVertsColorMap (MR._ByValue_VertColors vertsColorMap)
 sets per-vertex colors of the object Generated from method MR.ObjectVoxels.setVertsColorMap.
 
unsafe void updateVertsColorMap (MR.VertColors vertsColorMap)
 swaps per-vertex colors of the object with given argument Generated from method MR.ObjectVoxels.updateVertsColorMap.
 
unsafe void setFacesColorMap (MR._ByValue_FaceColors facesColorMap)
 Generated from method MR.ObjectVoxels.setFacesColorMap.
 
unsafe void updateFacesColorMap (MR.FaceColors updated)
 Generated from method MR.ObjectVoxels.updateFacesColorMap.
 
unsafe void setEdgeWidth (float edgeWidth)
 Generated from method MR.ObjectVoxels.setEdgeWidth.
 
unsafe void setPointSize (float size)
 Generated from method MR.ObjectVoxels.setPointSize.
 
unsafe void setEdgesColor (in MR.Color color, MR._InOpt_ViewportId id=default)
 Generated from method MR.ObjectVoxels.setEdgesColor. Parameter id defaults to {}.
 
unsafe void setPointsColor (in MR.Color color, MR._InOpt_ViewportId id=default)
 Generated from method MR.ObjectVoxels.setPointsColor. Parameter id defaults to {}.
 
unsafe void setBordersColor (in MR.Color color, MR._InOpt_ViewportId id=default)
 Generated from method MR.ObjectVoxels.setBordersColor. Parameter id defaults to {}.
 
unsafe void setTextures (MR._ByValue_Vector_MRMeshTexture_MRTextureId texture)
 Generated from method MR.ObjectVoxels.setTextures.
 
unsafe void updateTextures (MR.Vector_MRMeshTexture_MRTextureId updated)
 Generated from method MR.ObjectVoxels.updateTextures.
 
unsafe void setTexturePerFace (MR._ByValue_TexturePerFace texturePerFace)
 the texture ids for the faces if more than one texture is used to texture the object texture coordinates (data_.uvCoordinates) at a point can belong to different textures, depending on which face the point belongs to Generated from method MR.ObjectVoxels.setTexturePerFace.
 
unsafe void updateTexturePerFace (MR.TexturePerFace texturePerFace)
 Generated from method MR.ObjectVoxels.updateTexturePerFace.
 
unsafe void addTexture (MR._ByValue_MeshTexture texture)
 Generated from method MR.ObjectVoxels.addTexture.
 
unsafe void setUVCoords (MR._ByValue_VertCoords2 uvCoordinates)
 Generated from method MR.ObjectVoxels.setUVCoords.
 
unsafe void updateUVCoords (MR.VertCoords2 updated)
 Generated from method MR.ObjectVoxels.updateUVCoords.
 
unsafe void copyTextureAndColors (MR.Const_ObjectMeshHolder src, MR.Const_VertMap thisToSrc, MR.Const_FaceMap? thisToSrcFaces=null)
 copies texture, UV-coordinates and vertex colors from given source object
 
unsafe void copyColors (MR.Const_ObjectMeshHolder src, MR.Const_VertMap thisToSrc, MR.Const_FaceMap? thisToSrcFaces=null)
 copies vertex colors from given source object
 
unsafe void setAncillaryTexture (MR._ByValue_MeshTexture texture)
 Generated from method MR.ObjectVoxels.setAncillaryTexture.
 
unsafe void setAncillaryUVCoords (MR._ByValue_VertCoords2 uvCoordinates)
 Generated from method MR.ObjectVoxels.setAncillaryUVCoords.
 
unsafe void updateAncillaryUVCoords (MR.VertCoords2 updated)
 Generated from method MR.ObjectVoxels.updateAncillaryUVCoords.
 
unsafe void clearAncillaryTexture ()
 Generated from method MR.ObjectVoxels.clearAncillaryTexture.
 
unsafe void resetColors ()
 reset all object colors to their default values from the current theme Generated from method MR.ObjectVoxels.resetColors.
 
unsafe void setVisualizeProperty (bool value, MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask)
 set visual property in all viewports specified by the mask Generated from method MR.ObjectVoxels.setVisualizeProperty.
 
unsafe void setVisualizePropertyMask (MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask)
 set visual property mask Generated from method MR.ObjectVoxels.setVisualizePropertyMask.
 
unsafe void toggleVisualizeProperty (MR.Const_AnyVisualizeMaskEnum type, MR.Const_ViewportMask viewportMask)
 toggle visual property in all viewports specified by the mask Generated from method MR.ObjectVoxels.toggleVisualizeProperty.
 
unsafe void setAllVisualizeProperties (MR.Std.Const_Vector_MRViewportMask properties)
 set all visualize properties masks Generated from method MR.ObjectVoxels.setAllVisualizeProperties.
 
unsafe void setGlobalClippedByPlane (bool on, MR.Const_ViewportMask? viewportMask=null)
 if false deactivates clipped-by-plane for this object and all of its parents, otherwise sets clipped-by-plane for this this object only Generated from method MR.ObjectVoxels.setGlobalClippedByPlane. Parameter viewportMask defaults to ViewportMask.all().
 
unsafe void setFrontColor (in MR.Color color, bool selected, MR._InOpt_ViewportId viewportId=default)
 sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR.ObjectVoxels.setFrontColor. Parameter viewportId defaults to {}.
 
unsafe void setFrontColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val, bool? selected=null)
 sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR.ObjectVoxels.setFrontColorsForAllViewports. Parameter selected defaults to true.
 
unsafe void setBackColorsForAllViewports (MR._ByValue_ViewportProperty_MRColor val)
 sets backward color of object in all viewports Generated from method MR.ObjectVoxels.setBackColorsForAllViewports.
 
unsafe void setBackColor (in MR.Color color, MR._InOpt_ViewportId viewportId=default)
 sets backward color of object in given viewport Generated from method MR.ObjectVoxels.setBackColor. Parameter viewportId defaults to {}.
 
unsafe void setGlobalAlpha (byte alpha, MR._InOpt_ViewportId viewportId=default)
 sets global transparency alpha of object in given viewport Generated from method MR.ObjectVoxels.setGlobalAlpha. Parameter viewportId defaults to {}.
 
unsafe void setGlobalAlphaForAllViewports (MR._ByValue_ViewportProperty_UnsignedChar val)
 sets global transparency alpha of object in all viewports Generated from method MR.ObjectVoxels.setGlobalAlphaForAllViewports.
 
unsafe void setPickable (bool on, MR.Const_ViewportMask? viewportMask=null)
 sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR.ObjectVoxels.setPickable. Parameter viewportMask defaults to ViewportMask.all().
 
unsafe void setColoringType (MR.ColoringType coloringType)
 sets coloring mode of the object with given argument Generated from method MR.ObjectVoxels.setColoringType.
 
unsafe void setShininess (float shininess)
 sets shininess visual value of the object with given argument Generated from method MR.ObjectVoxels.setShininess.
 
unsafe void setSpecularStrength (float specularStrength)
 sets intensity of reflections Generated from method MR.ObjectVoxels.setSpecularStrength.
 
unsafe void setAmbientStrength (float ambientStrength)
 sets intensity of non-directional light Generated from method MR.ObjectVoxels.setAmbientStrength.
 
unsafe void setUseDefaultScenePropertiesOnDeserialization (bool useDefaultScenePropertiesOnDeserialization)
 set 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.setUseDefaultScenePropertiesOnDeserialization.
 
unsafe void setName (string name)
 Generated from method MR.ObjectVoxels.setName.
 
unsafe void setXf (in MR.AffineXf3f xf, MR._InOpt_ViewportId id=default)
 Generated from method MR.ObjectVoxels.setXf. Parameter id defaults to {}.
 
unsafe void resetXf (MR._InOpt_ViewportId id=default)
 forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR.ObjectVoxels.resetXf. Parameter id defaults to {}.
 
unsafe void setXfsForAllViewports (MR._ByValue_ViewportProperty_MRAffineXf3f xf)
 modifies xfs for all viewports at once Generated from method MR.ObjectVoxels.setXfsForAllViewports.
 
unsafe void setWorldXf (in MR.AffineXf3f xf, MR._InOpt_ViewportId id=default)
 Generated from method MR.ObjectVoxels.setWorldXf. Parameter id defaults to {}.
 
unsafe void setGlobalVisibility (bool on, MR.Const_ViewportMask? viewportMask=null)
 if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR.ObjectVoxels.setGlobalVisibility. Parameter viewportMask defaults to ViewportMask.any().
 
unsafe void setLocked (bool on)
 Generated from method MR.ObjectVoxels.setLocked.
 
unsafe void setParentLocked (bool lock_)
 Generated from method MR.ObjectVoxels.setParentLocked.
 
unsafe bool detachFromParent ()
 removes this from its parent children list returns false if it was already orphan Generated from method MR.ObjectVoxels.detachFromParent.
 
unsafe bool addChild (MR._ByValueShared_Object child, bool? recognizedChild=null)
 adds given object at the end of children (recognized or not); returns false if it was already child of this, of if given pointer is empty; child object will always report this as parent after the call;
 
unsafe bool addChildBefore (MR._ByValueShared_Object newChild, MR.Const_Object existingChild)
 adds given object in the recognized children before existingChild; if newChild was already among this children then moves it just before existingChild keeping the order of other children intact; returns false if newChild is nullptr, or existingChild is not a child of this Generated from method MR.ObjectVoxels.addChildBefore.
 
unsafe void removeAllChildren ()
 detaches all recognized children from this, keeping all unrecognized ones Generated from method MR.ObjectVoxels.removeAllChildren.
 
unsafe void sortChildren ()
 sort recognized children by name Generated from method MR.ObjectVoxels.sortChildren.
 
unsafe bool select (bool on)
 selects the object, returns true if value changed, otherwise returns false Generated from method MR.ObjectVoxels.select.
 
unsafe void setAncillary (bool ancillary)
 ancillary object is an object hidden (in scene menu) from a regular user such objects cannot be selected, and if it has been selected, it is unselected when turn ancillary Generated from method MR.ObjectVoxels.setAncillary.
 
unsafe void setVisible (bool on, MR.Const_ViewportMask? viewportMask=null)
 sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR.ObjectVoxels.setVisible. Parameter viewportMask defaults to ViewportMask.all().
 
unsafe void setVisibilityMask (MR.Const_ViewportMask viewportMask)
 specifies object visibility as bitmask of viewports Generated from method MR.ObjectVoxels.setVisibilityMask.
 
unsafe void swap (MR.Object other)
 swaps this object with other note: do not swap object signals, so listeners will get notifications from swapped object requires implementation of swapBase_ and swapSignals_ (if type has signals) Generated from method MR.ObjectVoxels.swap.
 
unsafe bool addTag (string tag)
 adds tag to the object's tag storage additionally calls ObjectTagManager.tagAddedSignal NOTE: tags starting with a dot are considered as service ones and might be hidden from UI Generated from method MR.ObjectVoxels.addTag.
 
unsafe bool removeTag (string tag)
 removes tag from the object's tag storage additionally calls ObjectTagManager.tagRemovedSignal Generated from method MR.ObjectVoxels.removeTag.
 

Static Public Member Functions

static unsafe implicit operator MR.ObjectChildrenHolder (ObjectVoxels self)
 
static unsafe implicit operator MR.Object (ObjectVoxels self)
 
static unsafe implicit operator MR.VisualObject (ObjectVoxels self)
 
static unsafe implicit operator MR.ObjectMeshHolder (ObjectVoxels self)
 
static unsafe operator ObjectVoxels? (MR.Object parent)
 
static unsafe operator ObjectVoxels? (MR.VisualObject parent)
 
static unsafe operator ObjectVoxels? (MR.ObjectMeshHolder parent)
 

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 non-const half of the class.

Constructor & Destructor Documentation

◆ ObjectVoxels() [1/2]

unsafe MR.ObjectVoxels.ObjectVoxels ( )
inline

Constructs an empty (default-constructed) instance.

◆ ObjectVoxels() [2/2]

unsafe MR.ObjectVoxels.ObjectVoxels ( MR._ByValue_ObjectVoxels _other)
inline

Generated from constructor MR.ObjectVoxels.ObjectVoxels.

Member Function Documentation

◆ addChild()

unsafe bool MR.ObjectVoxels.addChild ( MR._ByValueShared_Object child,
bool? recognizedChild = null )
inline

adds given object at the end of children (recognized or not); returns false if it was already child of this, of if given pointer is empty; child object will always report this as parent after the call;

Parameters
recognizedChildif set to false then child object will be excluded from children() and it will be stored by weak_ptr Generated from method MR.ObjectVoxels.addChild. Parameter recognizedChild defaults to true.

◆ addChildBefore()

unsafe bool MR.ObjectVoxels.addChildBefore ( MR._ByValueShared_Object newChild,
MR.Const_Object existingChild )
inline

adds given object in the recognized children before existingChild; if newChild was already among this children then moves it just before existingChild keeping the order of other children intact; returns false if newChild is nullptr, or existingChild is not a child of this Generated from method MR.ObjectVoxels.addChildBefore.

◆ addTag()

unsafe bool MR.ObjectVoxels.addTag ( string tag)
inline

adds tag to the object's tag storage additionally calls ObjectTagManager.tagAddedSignal NOTE: tags starting with a dot are considered as service ones and might be hidden from UI Generated from method MR.ObjectVoxels.addTag.

◆ addTexture()

unsafe void MR.ObjectVoxels.addTexture ( MR._ByValue_MeshTexture texture)
inline

Generated from method MR.ObjectVoxels.addTexture.

◆ applyScale()

unsafe void MR.ObjectVoxels.applyScale ( float scaleFactor)
inline

Generated from method MR.ObjectVoxels.applyScale.

◆ assign()

unsafe MR.ObjectVoxels MR.ObjectVoxels.assign ( MR._ByValue_ObjectVoxels _other)
inline

Generated from method MR.ObjectVoxels.operator=.

◆ clearAncillaryTexture()

unsafe void MR.ObjectVoxels.clearAncillaryTexture ( )
inline

Generated from method MR.ObjectVoxels.clearAncillaryTexture.

◆ construct() [1/4]

unsafe void MR.ObjectVoxels.construct ( MR.Const_FloatGrid grid,
in MR.Vector3f voxelSize,
MR.Std.Const_Optional_MRVector2f? minmax = null )
inline

Clears all internal data and then remembers grid and calculates histogram (surface is not built, call updateHistogramAndSurface)

Parameters
minmaxoptional data about known min and max values Generated from method MR.ObjectVoxels.construct. Parameter minmax defaults to {}.

◆ construct() [2/4]

unsafe void MR.ObjectVoxels.construct ( MR.Const_SimpleVolume simpleVolume,
MR.Std.Const_Optional_MRVector2f? minmax = null,
MR.Std._ByValue_Function_BoolFuncFromFloat? cb = null,
bool? normalPlusGrad = null )
inline

Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface)

Parameters
normalPlusGradtrue means that iso-surface normals will be along gradient, false means opposite direction
minmaxoptional data about known min and max values set a new background for the VdbVolume, if normalPlusGrad = true, use the maximum value, otherwise the minimum value Generated from method MR.ObjectVoxels.construct. Parameter minmax defaults to {}. Parameter cb defaults to {}. Parameter normalPlusGrad defaults to false.

◆ construct() [3/4]

unsafe void MR.ObjectVoxels.construct ( MR.Const_SimpleVolumeMinMax simpleVolumeMinMax,
MR.Std._ByValue_Function_BoolFuncFromFloat? cb = null,
bool? normalPlusGrad = null )
inline

Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface)

Parameters
normalPlusGradtrue means that iso-surface normals will be along gradient, false means opposite direction set a new background for the VdbVolume, if normalPlusGrad = true, use the maximum value, otherwise the minimum value Generated from method MR.ObjectVoxels.construct. Parameter cb defaults to {}. Parameter normalPlusGrad defaults to false.

◆ construct() [4/4]

unsafe void MR.ObjectVoxels.construct ( MR.Const_VdbVolume vdbVolume)
inline

Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface) Generated from method MR.ObjectVoxels.construct.

◆ copyAllSolidColors()

unsafe void MR.ObjectVoxels.copyAllSolidColors ( MR.Const_ObjectMeshHolder other)
inline

set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR.ObjectVoxels.copyAllSolidColors.

◆ copyColors()

unsafe void MR.ObjectVoxels.copyColors ( MR.Const_ObjectMeshHolder src,
MR.Const_VertMap thisToSrc,
MR.Const_FaceMap? thisToSrcFaces = null )
inline

copies vertex colors from given source object

Parameters
srcusing given map
thisToSrcGenerated from method MR.ObjectVoxels.copyColors. Parameter thisToSrcFaces defaults to {}.

◆ copyTextureAndColors()

unsafe void MR.ObjectVoxels.copyTextureAndColors ( MR.Const_ObjectMeshHolder src,
MR.Const_VertMap thisToSrc,
MR.Const_FaceMap? thisToSrcFaces = null )
inline

copies texture, UV-coordinates and vertex colors from given source object

Parameters
srcusing given map
thisToSrcGenerated from method MR.ObjectVoxels.copyTextureAndColors. Parameter thisToSrcFaces defaults to {}.

◆ detachFromParent()

unsafe bool MR.ObjectVoxels.detachFromParent ( )
inline

removes this from its parent children list returns false if it was already orphan Generated from method MR.ObjectVoxels.detachFromParent.

◆ enableVolumeRendering()

unsafe void MR.ObjectVoxels.enableVolumeRendering ( bool on)
inline

Generated from method MR.ObjectVoxels.enableVolumeRendering.

◆ invalidateActiveBoundsCaches()

unsafe void MR.ObjectVoxels.invalidateActiveBoundsCaches ( )
inline

Call this function in main thread post processing if you call setActiveBounds from progress bar thread Generated from method MR.ObjectVoxels.invalidateActiveBoundsCaches.

◆ invalidateMetricsCache()

unsafe void MR.ObjectVoxels.invalidateMetricsCache ( uint mask)
inline

invalidates same caches with mesh metrics (area, volume, ...) as by setDirtyFlags( mask ) Generated from method MR.ObjectVoxels.invalidateMetricsCache.

◆ operator MR.Object()

static unsafe implicit MR.ObjectVoxels.operator MR.Object ( ObjectVoxels self)
inlinestatic

◆ operator MR.ObjectChildrenHolder()

static unsafe implicit MR.ObjectVoxels.operator MR.ObjectChildrenHolder ( ObjectVoxels self)
inlinestatic

◆ operator MR.ObjectMeshHolder()

static unsafe implicit MR.ObjectVoxels.operator MR.ObjectMeshHolder ( ObjectVoxels self)
inlinestatic

◆ operator MR.VisualObject()

static unsafe implicit MR.ObjectVoxels.operator MR.VisualObject ( ObjectVoxels self)
inlinestatic

◆ operator ObjectVoxels?() [1/3]

static unsafe MR.ObjectVoxels.operator ObjectVoxels? ( MR.Object parent)
inlineexplicitstatic

◆ operator ObjectVoxels?() [2/3]

static unsafe MR.ObjectVoxels.operator ObjectVoxels? ( MR.ObjectMeshHolder parent)
inlineexplicitstatic

◆ operator ObjectVoxels?() [3/3]

static unsafe MR.ObjectVoxels.operator ObjectVoxels? ( MR.VisualObject parent)
inlineexplicitstatic

◆ removeAllChildren()

unsafe void MR.ObjectVoxels.removeAllChildren ( )
inline

detaches all recognized children from this, keeping all unrecognized ones Generated from method MR.ObjectVoxels.removeAllChildren.

◆ removeTag()

unsafe bool MR.ObjectVoxels.removeTag ( string tag)
inline

removes tag from the object's tag storage additionally calls ObjectTagManager.tagRemovedSignal Generated from method MR.ObjectVoxels.removeTag.

◆ resetColors()

unsafe void MR.ObjectVoxels.resetColors ( )
inline

reset all object colors to their default values from the current theme Generated from method MR.ObjectVoxels.resetColors.

◆ resetFrontColor()

unsafe void MR.ObjectVoxels.resetFrontColor ( )
inline

reset basic object colors to their default values from the current theme Generated from method MR.ObjectVoxels.resetFrontColor.

◆ resetXf()

unsafe void MR.ObjectVoxels.resetXf ( MR._InOpt_ViewportId id = default)
inline

forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR.ObjectVoxels.resetXf. Parameter id defaults to {}.

◆ select()

unsafe bool MR.ObjectVoxels.select ( bool on)
inline

selects the object, returns true if value changed, otherwise returns false Generated from method MR.ObjectVoxels.select.

◆ selectEdges()

unsafe void MR.ObjectVoxels.selectEdges ( MR._ByValue_UndirectedEdgeBitSet newSelection)
inline

Generated from method MR.ObjectVoxels.selectEdges.

◆ selectFaces()

unsafe void MR.ObjectVoxels.selectFaces ( MR._ByValue_FaceBitSet newSelection)
inline

Generated from method MR.ObjectVoxels.selectFaces.

◆ selectVoxels()

unsafe void MR.ObjectVoxels.selectVoxels ( MR.Const_VoxelBitSet selectedVoxels)
inline

Generated from method MR.ObjectVoxels.selectVoxels.

◆ setActiveBounds()

unsafe void MR.ObjectVoxels.setActiveBounds ( in MR.Box3i activeBox,
MR.Std._ByValue_Function_BoolFuncFromFloat? cb = null,
bool? updateSurface = null )
inline

Sets active bounds for some simplifications (max excluded) active bounds is box in voxel coordinates, note that voxels under (0,0,0) and voxels over (dimensions) are empty NOTE: don't forget to call invalidateActiveBoundsCaches if you call this function from progress bar thread Generated from method MR.ObjectVoxels.setActiveBounds. Parameter cb defaults to {}. Parameter updateSurface defaults to true.

◆ setAllVisualizeProperties()

unsafe void MR.ObjectVoxels.setAllVisualizeProperties ( MR.Std.Const_Vector_MRViewportMask properties)
inline

set all visualize properties masks Generated from method MR.ObjectVoxels.setAllVisualizeProperties.

◆ setAmbientStrength()

unsafe void MR.ObjectVoxels.setAmbientStrength ( float ambientStrength)
inline

sets intensity of non-directional light Generated from method MR.ObjectVoxels.setAmbientStrength.

◆ setAncillary()

unsafe void MR.ObjectVoxels.setAncillary ( bool ancillary)
inline

ancillary object is an object hidden (in scene menu) from a regular user such objects cannot be selected, and if it has been selected, it is unselected when turn ancillary Generated from method MR.ObjectVoxels.setAncillary.

◆ setAncillaryTexture()

unsafe void MR.ObjectVoxels.setAncillaryTexture ( MR._ByValue_MeshTexture texture)
inline

Generated from method MR.ObjectVoxels.setAncillaryTexture.

◆ setAncillaryUVCoords()

unsafe void MR.ObjectVoxels.setAncillaryUVCoords ( MR._ByValue_VertCoords2 uvCoordinates)
inline

Generated from method MR.ObjectVoxels.setAncillaryUVCoords.

◆ setBackColor()

unsafe void MR.ObjectVoxels.setBackColor ( in MR.Color color,
MR._InOpt_ViewportId viewportId = default )
inline

sets backward color of object in given viewport Generated from method MR.ObjectVoxels.setBackColor. Parameter viewportId defaults to {}.

◆ setBackColorsForAllViewports()

unsafe void MR.ObjectVoxels.setBackColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val)
inline

sets backward color of object in all viewports Generated from method MR.ObjectVoxels.setBackColorsForAllViewports.

◆ setBordersColor()

unsafe void MR.ObjectVoxels.setBordersColor ( in MR.Color color,
MR._InOpt_ViewportId id = default )
inline

Generated from method MR.ObjectVoxels.setBordersColor. Parameter id defaults to {}.

◆ setBordersColorsForAllViewports()

unsafe void MR.ObjectVoxels.setBordersColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val)
inline

◆ setColoringType()

unsafe void MR.ObjectVoxels.setColoringType ( MR.ColoringType coloringType)
inline

sets coloring mode of the object with given argument Generated from method MR.ObjectVoxels.setColoringType.

◆ setCreases()

unsafe void MR.ObjectVoxels.setCreases ( MR._ByValue_UndirectedEdgeBitSet creases)
inline

Generated from method MR.ObjectVoxels.setCreases.

◆ setData()

unsafe void MR.ObjectVoxels.setData ( MR.Misc._Moved< MR.ObjectMeshData > data)
inline

sets whole new ObjectMeshData Generated from method MR.ObjectVoxels.setData.

◆ setDirtyFlags()

unsafe void MR.ObjectVoxels.setDirtyFlags ( uint mask,
bool? invalidateCaches = null )
inline

Generated from method MR.ObjectVoxels.setDirtyFlags. Parameter invalidateCaches defaults to true.

◆ setDirtyFlagsFast()

unsafe void MR.ObjectVoxels.setDirtyFlagsFast ( uint mask)
inline

this is a faster version of setDirtyFlags(), which does not invalidate metrics cache (area, volume, ...); the user is responsible for calling invalidateMetricsCache( mask ) or setDirtyFlags( mask ) at the end of mesh editing; DANGER: all cached values returned until then can be outdated Generated from method MR.ObjectVoxels.setDirtyFlagsFast.

◆ setDualMarchingCubes()

unsafe void MR.ObjectVoxels.setDualMarchingCubes ( bool on,
bool? updateSurface = null,
MR.Std._ByValue_Function_BoolFuncFromFloat? cb = null )
inline

sets whether to use Dual Marching Cubes algorithm for visualization (true) or Standard Marching Cubes (false);

Parameters
updateSurfaceforces immediate update Generated from method MR.ObjectVoxels.setDualMarchingCubes. Parameter updateSurface defaults to true. Parameter cb defaults to {}.

◆ setEdgesColor()

unsafe void MR.ObjectVoxels.setEdgesColor ( in MR.Color color,
MR._InOpt_ViewportId id = default )
inline

Generated from method MR.ObjectVoxels.setEdgesColor. Parameter id defaults to {}.

◆ setEdgesColorsForAllViewports()

unsafe void MR.ObjectVoxels.setEdgesColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val)
inline

◆ setEdgeWidth()

unsafe void MR.ObjectVoxels.setEdgeWidth ( float edgeWidth)
inline

Generated from method MR.ObjectVoxels.setEdgeWidth.

◆ setFacesColorMap()

unsafe void MR.ObjectVoxels.setFacesColorMap ( MR._ByValue_FaceColors facesColorMap)
inline

Generated from method MR.ObjectVoxels.setFacesColorMap.

◆ setFlatShading()

unsafe void MR.ObjectVoxels.setFlatShading ( bool on)
inline

sets flat (true) or smooth (false) shading Generated from method MR.ObjectVoxels.setFlatShading.

◆ setFrontColor()

unsafe void MR.ObjectVoxels.setFrontColor ( in MR.Color color,
bool selected,
MR._InOpt_ViewportId viewportId = default )
inline

sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR.ObjectVoxels.setFrontColor. Parameter viewportId defaults to {}.

◆ setFrontColorsForAllViewports()

unsafe void MR.ObjectVoxels.setFrontColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val,
bool? selected = null )
inline

sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR.ObjectVoxels.setFrontColorsForAllViewports. Parameter selected defaults to true.

◆ setGlobalAlpha()

unsafe void MR.ObjectVoxels.setGlobalAlpha ( byte alpha,
MR._InOpt_ViewportId viewportId = default )
inline

sets global transparency alpha of object in given viewport Generated from method MR.ObjectVoxels.setGlobalAlpha. Parameter viewportId defaults to {}.

◆ setGlobalAlphaForAllViewports()

unsafe void MR.ObjectVoxels.setGlobalAlphaForAllViewports ( MR._ByValue_ViewportProperty_UnsignedChar val)
inline

sets global transparency alpha of object in all viewports Generated from method MR.ObjectVoxels.setGlobalAlphaForAllViewports.

◆ setGlobalClippedByPlane()

unsafe void MR.ObjectVoxels.setGlobalClippedByPlane ( bool on,
MR.Const_ViewportMask? viewportMask = null )
inline

if false deactivates clipped-by-plane for this object and all of its parents, otherwise sets clipped-by-plane for this this object only Generated from method MR.ObjectVoxels.setGlobalClippedByPlane. Parameter viewportMask defaults to ViewportMask.all().

◆ setGlobalVisibility()

unsafe void MR.ObjectVoxels.setGlobalVisibility ( bool on,
MR.Const_ViewportMask? viewportMask = null )
inline

if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR.ObjectVoxels.setGlobalVisibility. Parameter viewportMask defaults to ViewportMask.any().

◆ setIsoValue()

unsafe bool MR.ObjectVoxels.setIsoValue ( float iso,
MR.Std._ByValue_Function_BoolFuncFromFloat? cb = null,
bool? updateSurface = null )
inline

Sets iso value and updates iso-surfaces if needed: Returns true if iso-value was updated, false - otherwise Generated from method MR.ObjectVoxels.setIsoValue. Parameter cb defaults to {}. Parameter updateSurface defaults to true.

◆ setLocked()

unsafe void MR.ObjectVoxels.setLocked ( bool on)
inline

Generated from method MR.ObjectVoxels.setLocked.

◆ setMaxSurfaceVertices()

unsafe void MR.ObjectVoxels.setMaxSurfaceVertices ( int maxVerts)
inline

sets top limit on the number of vertices in the iso-surface Generated from method MR.ObjectVoxels.setMaxSurfaceVertices.

◆ setName()

unsafe void MR.ObjectVoxels.setName ( string name)
inline

Generated from method MR.ObjectVoxels.setName.

◆ setParentLocked()

unsafe void MR.ObjectVoxels.setParentLocked ( bool lock_)
inline

Generated from method MR.ObjectVoxels.setParentLocked.

◆ setPickable()

unsafe void MR.ObjectVoxels.setPickable ( bool on,
MR.Const_ViewportMask? viewportMask = null )
inline

sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR.ObjectVoxels.setPickable. Parameter viewportMask defaults to ViewportMask.all().

◆ setPointsColor()

unsafe void MR.ObjectVoxels.setPointsColor ( in MR.Color color,
MR._InOpt_ViewportId id = default )
inline

Generated from method MR.ObjectVoxels.setPointsColor. Parameter id defaults to {}.

◆ setPointsColorsForAllViewports()

unsafe void MR.ObjectVoxels.setPointsColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val)
inline

◆ setPointSize()

unsafe void MR.ObjectVoxels.setPointSize ( float size)
inline

Generated from method MR.ObjectVoxels.setPointSize.

◆ setSelectedEdgesColor()

unsafe void MR.ObjectVoxels.setSelectedEdgesColor ( in MR.Color color,
MR._InOpt_ViewportId id = default )
inline

sets colors of selected edges Generated from method MR.ObjectVoxels.setSelectedEdgesColor. Parameter id defaults to {}.

◆ setSelectedEdgesColorsForAllViewports()

unsafe void MR.ObjectVoxels.setSelectedEdgesColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val)
inline

◆ setSelectedFacesColor()

unsafe void MR.ObjectVoxels.setSelectedFacesColor ( in MR.Color color,
MR._InOpt_ViewportId id = default )
inline

sets colors of selected triangles Generated from method MR.ObjectVoxels.setSelectedFacesColor. Parameter id defaults to {}.

◆ setSelectedFacesColorsForAllViewports()

unsafe void MR.ObjectVoxels.setSelectedFacesColorsForAllViewports ( MR._ByValue_ViewportProperty_MRColor val)
inline

◆ setSerializeFormat()

unsafe void MR.ObjectVoxels.setSerializeFormat ( byte? newFormat)
inline

overrides file extension used to serialize voxels inside this object: must start from '.', nullptr means serialize in defaultSerializeVoxelsFormat() Generated from method MR.ObjectVoxels.setSerializeFormat.

◆ setShininess()

unsafe void MR.ObjectVoxels.setShininess ( float shininess)
inline

sets shininess visual value of the object with given argument Generated from method MR.ObjectVoxels.setShininess.

◆ setSpecularStrength()

unsafe void MR.ObjectVoxels.setSpecularStrength ( float specularStrength)
inline

sets intensity of reflections Generated from method MR.ObjectVoxels.setSpecularStrength.

◆ setTexturePerFace()

unsafe void MR.ObjectVoxels.setTexturePerFace ( MR._ByValue_TexturePerFace texturePerFace)
inline

the texture ids for the faces if more than one texture is used to texture the object texture coordinates (data_.uvCoordinates) at a point can belong to different textures, depending on which face the point belongs to Generated from method MR.ObjectVoxels.setTexturePerFace.

◆ setTextures()

unsafe void MR.ObjectVoxels.setTextures ( MR._ByValue_Vector_MRMeshTexture_MRTextureId texture)
inline

Generated from method MR.ObjectVoxels.setTextures.

◆ setUseDefaultScenePropertiesOnDeserialization()

unsafe void MR.ObjectVoxels.setUseDefaultScenePropertiesOnDeserialization ( bool useDefaultScenePropertiesOnDeserialization)
inline

set 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.setUseDefaultScenePropertiesOnDeserialization.

◆ setUVCoords()

unsafe void MR.ObjectVoxels.setUVCoords ( MR._ByValue_VertCoords2 uvCoordinates)
inline

Generated from method MR.ObjectVoxels.setUVCoords.

◆ setVertsColorMap()

unsafe void MR.ObjectVoxels.setVertsColorMap ( MR._ByValue_VertColors vertsColorMap)
inline

sets per-vertex colors of the object Generated from method MR.ObjectVoxels.setVertsColorMap.

◆ setVisibilityMask()

unsafe void MR.ObjectVoxels.setVisibilityMask ( MR.Const_ViewportMask viewportMask)
inline

specifies object visibility as bitmask of viewports Generated from method MR.ObjectVoxels.setVisibilityMask.

◆ setVisible()

unsafe void MR.ObjectVoxels.setVisible ( bool on,
MR.Const_ViewportMask? viewportMask = null )
inline

sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR.ObjectVoxels.setVisible. Parameter viewportMask defaults to ViewportMask.all().

◆ setVisualizeProperty()

unsafe void MR.ObjectVoxels.setVisualizeProperty ( bool value,
MR.Const_AnyVisualizeMaskEnum type,
MR.Const_ViewportMask viewportMask )
inline

set visual property in all viewports specified by the mask Generated from method MR.ObjectVoxels.setVisualizeProperty.

◆ setVisualizePropertyMask()

unsafe void MR.ObjectVoxels.setVisualizePropertyMask ( MR.Const_AnyVisualizeMaskEnum type,
MR.Const_ViewportMask viewportMask )
inline

set visual property mask Generated from method MR.ObjectVoxels.setVisualizePropertyMask.

◆ setVolumeRenderActiveVoxels()

unsafe void MR.ObjectVoxels.setVolumeRenderActiveVoxels ( MR.Const_VoxelBitSet activeVoxels)
inline

set active (visible) voxels (using only in Volume Rendering mode) Generated from method MR.ObjectVoxels.setVolumeRenderActiveVoxels.

◆ setVolumeRenderingParams()

unsafe void MR.ObjectVoxels.setVolumeRenderingParams ( MR.ObjectVoxels.Const_VolumeRenderingParams params_)
inline

◆ setVoxelPointPositioner()

unsafe void MR.ObjectVoxels.setVoxelPointPositioner ( MR.Std._ByValue_Function_MRVector3fFuncFromConstMRVector3fRefConstMRVector3fRefFloatFloatFloat positioner)
inline

set voxel point positioner for Marching Cubes (only for Standard Marching Cubes) Generated from method MR.ObjectVoxels.setVoxelPointPositioner.

◆ setWorldXf()

unsafe void MR.ObjectVoxels.setWorldXf ( in MR.AffineXf3f xf,
MR._InOpt_ViewportId id = default )
inline

Generated from method MR.ObjectVoxels.setWorldXf. Parameter id defaults to {}.

◆ setXf()

unsafe void MR.ObjectVoxels.setXf ( in MR.AffineXf3f xf,
MR._InOpt_ViewportId id = default )
inline

Generated from method MR.ObjectVoxels.setXf. Parameter id defaults to {}.

◆ setXfsForAllViewports()

unsafe void MR.ObjectVoxels.setXfsForAllViewports ( MR._ByValue_ViewportProperty_MRAffineXf3f xf)
inline

modifies xfs for all viewports at once Generated from method MR.ObjectVoxels.setXfsForAllViewports.

◆ sortChildren()

unsafe void MR.ObjectVoxels.sortChildren ( )
inline

sort recognized children by name Generated from method MR.ObjectVoxels.sortChildren.

◆ swap()

unsafe void MR.ObjectVoxels.swap ( MR.Object other)
inline

swaps this object with other note: do not swap object signals, so listeners will get notifications from swapped object requires implementation of swapBase_ and swapSignals_ (if type has signals) Generated from method MR.ObjectVoxels.swap.

◆ toggleVisualizeProperty()

unsafe void MR.ObjectVoxels.toggleVisualizeProperty ( MR.Const_AnyVisualizeMaskEnum type,
MR.Const_ViewportMask viewportMask )
inline

toggle visual property in all viewports specified by the mask Generated from method MR.ObjectVoxels.toggleVisualizeProperty.

◆ updateAncillaryUVCoords()

unsafe void MR.ObjectVoxels.updateAncillaryUVCoords ( MR.VertCoords2 updated)
inline

◆ updateData()

unsafe void MR.ObjectVoxels.updateData ( MR.ObjectMeshData data)
inline

swaps whole ObjectMeshData with given argument Generated from method MR.ObjectVoxels.updateData.

◆ updateFacesColorMap()

unsafe void MR.ObjectVoxels.updateFacesColorMap ( MR.FaceColors updated)
inline

Generated from method MR.ObjectVoxels.updateFacesColorMap.

◆ updateHistogram()

unsafe MR.Histogram MR.ObjectVoxels.updateHistogram ( MR._ByValue_Histogram histogram)
inline

Sets external histogram for this object and returns back previous histogram of this Generated from method MR.ObjectVoxels.updateHistogram.

◆ updateHistogramAndSurface()

unsafe void MR.ObjectVoxels.updateHistogramAndSurface ( MR.Std._ByValue_Function_BoolFuncFromFloat? cb = null)
inline

Updates histogram, by stored grid (evals min and max values from grid) rebuild iso surface if it is present Generated from method MR.ObjectVoxels.updateHistogramAndSurface. Parameter cb defaults to {}.

◆ updateIsoSurface()

unsafe MR.Mesh MR.ObjectVoxels.updateIsoSurface ( MR._ByValueShared_Mesh mesh)
inline

Sets external surface mesh for this object and returns back previous mesh of this Generated from method MR.ObjectVoxels.updateIsoSurface.

◆ updateTexturePerFace()

unsafe void MR.ObjectVoxels.updateTexturePerFace ( MR.TexturePerFace texturePerFace)
inline

Generated from method MR.ObjectVoxels.updateTexturePerFace.

◆ updateTextures()

unsafe void MR.ObjectVoxels.updateTextures ( MR.Vector_MRMeshTexture_MRTextureId updated)
inline

Generated from method MR.ObjectVoxels.updateTextures.

◆ updateUVCoords()

unsafe void MR.ObjectVoxels.updateUVCoords ( MR.VertCoords2 updated)
inline

Generated from method MR.ObjectVoxels.updateUVCoords.

◆ updateVdbVolume()

unsafe MR.VdbVolume MR.ObjectVoxels.updateVdbVolume ( MR._ByValue_VdbVolume vdbVolume)
inline

Sets external vdb volume for this object and returns back previous vdb volume of this Generated from method MR.ObjectVoxels.updateVdbVolume.

◆ updateVertsColorMap()

unsafe void MR.ObjectVoxels.updateVertsColorMap ( MR.VertColors vertsColorMap)
inline

swaps per-vertex colors of the object with given argument Generated from method MR.ObjectVoxels.updateVertsColorMap.

◆ varVdbVolume()

unsafe MR.VdbVolume MR.ObjectVoxels.varVdbVolume ( )
inline

Generated from method MR.ObjectVoxels.varVdbVolume.


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