|
| 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_Bool_From_Float? 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_Bool_From_Float? 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_Bool_From_Float? 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_Bool_From_Float? 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.Std.SharedPtr_MRMesh | updateIsoSurface (MR.Std._ByValue_SharedPtr_MRMesh 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_Bool_From_Float? 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_MRVector3f_From_ConstMRVector3fRef_ConstMRVector3fRef_Float_Float_Float 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_Bool_From_Float? 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.Std._ByValue_SharedPtr_MRObject 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.Std._ByValue_SharedPtr_MRObject newChild, MR.Std.Const_SharedPtr_MRObject 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.
|
| 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.Std.Const_SharedPtr_MRMesh | 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.Std.SharedPtr_MRMesh | recalculateIsoSurface (float iso, MR.Std._ByValue_Function_Bool_From_Float? cb=null) |
| | Calculates and return new mesh or error message Generated from method MR.ObjectVoxels.recalculateIsoSurface. Parameter cb defaults to {}.
|
| unsafe MR.Std.SharedPtr_MRMesh | recalculateIsoSurface (MR.Const_VdbVolume volume, float iso, MR.Std._ByValue_Function_Bool_From_Float? 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_Bool_From_Float? 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_Bool_From_Float? 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.Std.SharedPtr_MRObject | clone () |
| | Generated from method MR.ObjectVoxels.clone.
|
| unsafe MR.Std.SharedPtr_MRObject | 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.Std.Const_SharedPtr_ConstMRMesh | 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 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.Std.SharedPtr_MRObject | cloneTree () |
| | clones all tree of this object (except ancillary and unrecognized children) Generated from method MR.ObjectVoxels.cloneTree.
|
| unsafe MR.Std.SharedPtr_MRObject | 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.Std.SharedPtr_MRObject | getSharedPtr () |
| | Generated from method MR.ObjectVoxels.getSharedPtr.
|