Static Public Member Functions | |
| static java.lang.Byte | StaticTypeName () |
| static java.lang.Byte | StaticClassName () |
| static java.lang.Byte | StaticClassNameInPlural () |
| static meshlib.ObjectVoxels | staticDowncastFromObjectChildrenHolder (meshlib.ObjectChildrenHolder object) |
| static meshlib.ObjectVoxels | staticDowncastFromObject (meshlib.Object object) |
| static meshlib.ObjectVoxels | dynamicDowncastFromObject (meshlib.Object object) |
| static meshlib.ObjectVoxels | staticDowncastFromVisualObject (meshlib.VisualObject object) |
| static meshlib.ObjectVoxels | dynamicDowncastFromVisualObject (meshlib.VisualObject object) |
| static meshlib.ObjectVoxels | staticDowncastFromObjectMeshHolder (meshlib.ObjectMeshHolder object) |
| static meshlib.ObjectVoxels | dynamicDowncastFromObjectMeshHolder (meshlib.ObjectMeshHolder object) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
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
Instances created here own their C++ objects, see CppObject.
| meshlib.ObjectVoxels.ObjectVoxels | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.ObjectVoxels.ObjectVoxels | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_ObjectVoxels_DefaultConstruct().
| meshlib.ObjectVoxels.ObjectVoxels | ( | meshlib.ObjectVoxels | _other | ) |
Generated from constructor MR::ObjectVoxels::ObjectVoxels. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_ObjectVoxels_ConstructFromAnother().
| long meshlib.ObjectVoxels.activeVoxels | ( | ) |
returns cached information about the number of active voxels Generated from method MR::ObjectVoxels::activeVoxels.
Calls MR_ObjectVoxels_activeVoxels().
| java.lang.Byte meshlib.ObjectVoxels.actualSerializeFormat | ( | ) |
returns overriden file extension used to serialize mesh inside this object if set, or SceneSettings::get( SceneSettings::StringType::MeshSerializeFormat ) otherwise; never returns nullptr Generated from method MR::ObjectVoxels::actualSerializeFormat.
Calls MR_ObjectVoxels_actualSerializeFormat().
| boolean meshlib.ObjectVoxels.addChild | ( | meshlib.std_shared_ptr_MR_Object | child, |
| java.lang.Boolean | recognizedChild ) |
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;
| recognizedChild | if 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. |
Calls MR_ObjectVoxels_addChild().
| boolean meshlib.ObjectVoxels.addChildBefore | ( | meshlib.std_shared_ptr_MR_Object | newChild, |
| meshlib.std_shared_ptr_MR_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.
Calls MR_ObjectVoxels_addChildBefore().
| boolean meshlib.ObjectVoxels.addTag | ( | java.lang.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.
Calls MR_ObjectVoxels_addTag().
| void meshlib.ObjectVoxels.addTexture | ( | meshlib.MeshTexture | texture | ) |
Generated from method MR::ObjectVoxels::addTexture.
Calls MR_ObjectVoxels_addTexture().
| void meshlib.ObjectVoxels.applyScale | ( | float | scaleFactor | ) |
Generated from method MR::ObjectVoxels::applyScale.
Calls MR_ObjectVoxels_applyScale().
| meshlib.ObjectVoxels meshlib.ObjectVoxels.assignFromAnother | ( | meshlib.ObjectVoxels | _other | ) |
Generated from method MR::ObjectVoxels::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The reference to this object might be preserved in the return value.
Calls MR_ObjectVoxels_AssignFromAnother().
| float meshlib.ObjectVoxels.avgEdgeLen | ( | ) |
returns cached average edge length Generated from method MR::ObjectVoxels::avgEdgeLen.
Calls MR_ObjectVoxels_avgEdgeLen().
| meshlib.std_string meshlib.ObjectVoxels.className | ( | ) |
Generated from method MR::ObjectVoxels::className.
Calls MR_ObjectVoxels_className().
| meshlib.std_string meshlib.ObjectVoxels.classNameInPlural | ( | ) |
Generated from method MR::ObjectVoxels::classNameInPlural.
Calls MR_ObjectVoxels_classNameInPlural().
| void meshlib.ObjectVoxels.clearAncillaryTexture | ( | ) |
Generated from method MR::ObjectVoxels::clearAncillaryTexture.
Calls MR_ObjectVoxels_clearAncillaryTexture().
| meshlib.std_shared_ptr_MR_Object meshlib.ObjectVoxels.clone_2 | ( | ) |
Generated from method MR::ObjectVoxels::clone.
Calls MR_ObjectVoxels_clone().
| meshlib.std_shared_ptr_MR_Object meshlib.ObjectVoxels.cloneTree | ( | ) |
clones all tree of this object (except ancillary and unrecognized children) Generated from method MR::ObjectVoxels::cloneTree.
Calls MR_ObjectVoxels_cloneTree().
| meshlib.ConstChildren meshlib.ObjectVoxels.constChildren | ( | ) |
the same sub-objects without the ability to modify them; the returned view is invalidated by anything that changes the children of this object Generated from method MR::ObjectVoxels::constChildren.
Calls MR_ObjectVoxels_constChildren().
| void meshlib.ObjectVoxels.construct | ( | meshlib.FloatGrid | grid, |
| meshlib.Vector3f | voxelSize, | ||
| meshlib.std_optional_MR_Vector2f | minmax ) |
Clears all internal data and then remembers grid and calculates histogram (surface is not built, call updateHistogramAndSurface)
| minmax | optional data about known min and max values Generated from method MR::ObjectVoxels::construct. |
Calls MR_ObjectVoxels_construct_3_MR_FloatGrid().
| void meshlib.ObjectVoxels.construct | ( | meshlib.SimpleVolume | simpleVolume, |
| meshlib.std_optional_MR_Vector2f | minmax, | ||
| meshlib.std_function_bool_from_float | cb, | ||
| java.lang.Boolean | normalPlusGrad ) |
Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface)
| normalPlusGrad | true means that iso-surface normals will be along gradient, false means opposite direction |
| minmax | optional 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. |
Calls MR_ObjectVoxels_construct_4().
| void meshlib.ObjectVoxels.construct | ( | meshlib.SimpleVolumeMinMax | simpleVolumeMinMax, |
| meshlib.std_function_bool_from_float | cb, | ||
| java.lang.Boolean | normalPlusGrad ) |
Clears all internal data and then creates grid and calculates histogram (surface is not built, call updateHistogramAndSurface)
| normalPlusGrad | true 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. |
Calls MR_ObjectVoxels_construct_3_MR_SimpleVolumeMinMax().
| void meshlib.ObjectVoxels.construct | ( | meshlib.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.
Calls MR_ObjectVoxels_construct_1().
| void meshlib.ObjectVoxels.copyAllSolidColors | ( | meshlib.ObjectMeshHolder | other | ) |
set all object solid colors (front/back/etc.) from other object for all viewports Generated from method MR::ObjectVoxels::copyAllSolidColors.
Calls MR_ObjectVoxels_copyAllSolidColors().
| void meshlib.ObjectVoxels.copyColors | ( | meshlib.ObjectMeshHolder | src, |
| meshlib.VertMap | thisToSrc, | ||
| meshlib.FaceMap | thisToSrcFaces ) |
copies vertex colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectVoxels::copyColors. |
Calls MR_ObjectVoxels_copyColors().
| void meshlib.ObjectVoxels.copyTextureAndColors | ( | meshlib.ObjectMeshHolder | src, |
| meshlib.VertMap | thisToSrc, | ||
| meshlib.FaceMap | thisToSrcFaces ) |
copies texture, UV-coordinates and vertex colors from given source object
| src | using given map |
| thisToSrc | Generated from method MR::ObjectVoxels::copyTextureAndColors. |
Calls MR_ObjectVoxels_copyTextureAndColors().
| meshlib.UndirectedEdgeBitSet meshlib.ObjectVoxels.creases | ( | ) |
Edges on mesh, that will have sharp visualization even with smooth shading Generated from method MR::ObjectVoxels::creases.
Calls MR_ObjectVoxels_creases().
| meshlib.ObjectMeshData meshlib.ObjectVoxels.data | ( | ) |
provides read-only access to whole ObjectMeshData Generated from method MR::ObjectVoxels::data.
Calls MR_ObjectVoxels_data().
| boolean meshlib.ObjectVoxels.detachFromParent | ( | ) |
removes this from its parent children list returns false if it was already orphan Generated from method MR::ObjectVoxels::detachFromParent.
Calls MR_ObjectVoxels_detachFromParent().
| meshlib.Vector3i meshlib.ObjectVoxels.dimensions | ( | ) |
Returns dimensions of voxel objects Generated from method MR::ObjectVoxels::dimensions.
Calls MR_ObjectVoxels_dimensions().
|
static |
Dynamic downcast from the base class MR::Object. Returns null if the object isn't actually a ObjectVoxels. The result refers to object.
Calls MR_ObjectVoxels_MutableDynamicDowncastFrom_MR_Object().
|
static |
Dynamic downcast from the base class MR::ObjectMeshHolder. Returns null if the object isn't actually a ObjectVoxels. The result refers to object.
Calls MR_ObjectVoxels_MutableDynamicDowncastFrom_MR_ObjectMeshHolder().
|
static |
Dynamic downcast from the base class MR::VisualObject. Returns null if the object isn't actually a ObjectVoxels. The result refers to object.
Calls MR_ObjectVoxels_MutableDynamicDowncastFrom_MR_VisualObject().
| void meshlib.ObjectVoxels.enableVolumeRendering | ( | boolean | on | ) |
this function should only be called from GUI thread because it changes rendering object, it can take some time to prepare data, so you can prepare data with progress callback by calling prepareDataForVolumeRendering(cb) function before calling this one Generated from method MR::ObjectVoxels::enableVolumeRendering.
Calls MR_ObjectVoxels_enableVolumeRendering().
| boolean meshlib.ObjectVoxels.flatShading | ( | ) |
Generated from method MR::ObjectVoxels::flatShading.
Calls MR_ObjectVoxels_flatShading().
| meshlib.Box3i meshlib.ObjectVoxels.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.
Calls MR_ObjectVoxels_getActiveBounds().
| meshlib.std_vector_MR_ViewportMask meshlib.ObjectVoxels.getAllVisualizeProperties | ( | ) |
get all visualize properties masks Generated from method MR::ObjectVoxels::getAllVisualizeProperties.
Calls MR_ObjectVoxels_getAllVisualizeProperties().
| float meshlib.ObjectVoxels.getAmbientStrength | ( | ) |
returns intensity of non-directional light Generated from method MR::ObjectVoxels::getAmbientStrength.
Calls MR_ObjectVoxels_getAmbientStrength().
| meshlib.MeshTexture meshlib.ObjectVoxels.getAncillaryTexture | ( | ) |
ancillary texture can be used to have custom features visualization without affecting real one Generated from method MR::ObjectVoxels::getAncillaryTexture.
Calls MR_ObjectVoxels_getAncillaryTexture().
| meshlib.VertCoords2 meshlib.ObjectVoxels.getAncillaryUVCoords | ( | ) |
Generated from method MR::ObjectVoxels::getAncillaryUVCoords.
Calls MR_ObjectVoxels_getAncillaryUVCoords().
| meshlib.Color meshlib.ObjectVoxels.getBackColor | ( | meshlib.ViewportId | viewportId | ) |
returns backward color of object in given viewport Generated from method MR::ObjectVoxels::getBackColor.
Calls MR_ObjectVoxels_getBackColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getBackColorsForAllViewports | ( | ) |
returns backward color of object in all viewports Generated from method MR::ObjectVoxels::getBackColorsForAllViewports.
Calls MR_ObjectVoxels_getBackColorsForAllViewports().
| meshlib.Color meshlib.ObjectVoxels.getBordersColor | ( | meshlib.ViewportId | id | ) |
Generated from method MR::ObjectVoxels::getBordersColor.
Calls MR_ObjectVoxels_getBordersColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getBordersColorsForAllViewports | ( | ) |
Generated from method MR::ObjectVoxels::getBordersColorsForAllViewports.
Calls MR_ObjectVoxels_getBordersColorsForAllViewports().
| meshlib.Box3f meshlib.ObjectVoxels.getBoundingBox | ( | ) |
returns cached bounding box of this object in local coordinates Generated from method MR::ObjectVoxels::getBoundingBox.
Calls MR_ObjectVoxels_getBoundingBox().
| meshlib.ColoringType meshlib.ObjectVoxels.getColoringType | ( | ) |
returns the current coloring mode of the object Generated from method MR::ObjectVoxels::getColoringType.
Calls MR_ObjectVoxels_getColoringType().
| meshlib.Vector3i meshlib.ObjectVoxels.getCoordinateByVoxelId | ( | meshlib.VoxelId | id | ) |
Generated from method MR::ObjectVoxels::getCoordinateByVoxelId.
Calls MR_ObjectVoxels_getCoordinateByVoxelId().
| int meshlib.ObjectVoxels.getDirtyFlags | ( | ) |
returns current dirty flags for the object Generated from method MR::ObjectVoxels::getDirtyFlags.
Calls MR_ObjectVoxels_getDirtyFlags().
| boolean meshlib.ObjectVoxels.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.
Calls MR_ObjectVoxels_getDualMarchingCubes().
| meshlib.Color meshlib.ObjectVoxels.getEdgesColor | ( | meshlib.ViewportId | id | ) |
Generated from method MR::ObjectVoxels::getEdgesColor.
Calls MR_ObjectVoxels_getEdgesColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getEdgesColorsForAllViewports | ( | ) |
Generated from method MR::ObjectVoxels::getEdgesColorsForAllViewports.
Calls MR_ObjectVoxels_getEdgesColorsForAllViewports().
| float meshlib.ObjectVoxels.getEdgeWidth | ( | ) |
Generated from method MR::ObjectVoxels::getEdgeWidth.
Calls MR_ObjectVoxels_getEdgeWidth().
| meshlib.FaceColors meshlib.ObjectVoxels.getFacesColorMap | ( | ) |
Generated from method MR::ObjectVoxels::getFacesColorMap.
Calls MR_ObjectVoxels_getFacesColorMap().
| meshlib.Color meshlib.ObjectVoxels.getFrontColor | ( | java.lang.Boolean | selected, |
| meshlib.ViewportId | viewportId ) |
returns color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::ObjectVoxels::getFrontColor.
Calls MR_ObjectVoxels_getFrontColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getFrontColorsForAllViewports | ( | java.lang.Boolean | selected | ) |
returns color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectVoxels::getFrontColorsForAllViewports.
Calls MR_ObjectVoxels_getFrontColorsForAllViewports().
| byte meshlib.ObjectVoxels.getGlobalAlpha | ( | meshlib.ViewportId | viewportId | ) |
returns global transparency alpha of object in given viewport Generated from method MR::ObjectVoxels::getGlobalAlpha.
Calls MR_ObjectVoxels_getGlobalAlpha().
| meshlib.ViewportProperty_unsigned_char meshlib.ObjectVoxels.getGlobalAlphaForAllViewports | ( | ) |
returns global transparency alpha of object in all viewports Generated from method MR::ObjectVoxels::getGlobalAlphaForAllViewports.
Calls MR_ObjectVoxels_getGlobalAlphaForAllViewports().
| meshlib.std_vector_std_string meshlib.ObjectVoxels.getInfoLines | ( | ) |
Generated from method MR::ObjectVoxels::getInfoLines.
Calls MR_ObjectVoxels_getInfoLines().
| float meshlib.ObjectVoxels.getIsoValue | ( | ) |
Returns current iso value Generated from method MR::ObjectVoxels::getIsoValue.
Calls MR_ObjectVoxels_getIsoValue().
| int meshlib.ObjectVoxels.getMaxSurfaceVertices | ( | ) |
gets top limit on the number of vertices in the iso-surface Generated from method MR::ObjectVoxels::getMaxSurfaceVertices.
Calls MR_ObjectVoxels_getMaxSurfaceVertices().
| long meshlib.ObjectVoxels.getModelHash | ( | ) |
Generated from method MR::ObjectVoxels::getModelHash.
Calls MR_ObjectVoxels_getModelHash().
| meshlib.Color meshlib.ObjectVoxels.getPointsColor | ( | meshlib.ViewportId | id | ) |
Generated from method MR::ObjectVoxels::getPointsColor.
Calls MR_ObjectVoxels_getPointsColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getPointsColorsForAllViewports | ( | ) |
Generated from method MR::ObjectVoxels::getPointsColorsForAllViewports.
Calls MR_ObjectVoxels_getPointsColorsForAllViewports().
| float meshlib.ObjectVoxels.getPointSize | ( | ) |
Generated from method MR::ObjectVoxels::getPointSize.
Calls MR_ObjectVoxels_getPointSize().
| boolean meshlib.ObjectVoxels.getRedrawFlag | ( | meshlib.ViewportMask | viewportMask | ) |
Generated from method MR::ObjectVoxels::getRedrawFlag.
Calls MR_ObjectVoxels_getRedrawFlag().
| meshlib.UndirectedEdgeBitSet meshlib.ObjectVoxels.getSelectedEdges | ( | ) |
Generated from method MR::ObjectVoxels::getSelectedEdges.
Calls MR_ObjectVoxels_getSelectedEdges().
| meshlib.Color meshlib.ObjectVoxels.getSelectedEdgesColor | ( | meshlib.ViewportId | id | ) |
returns colors of selected edges Generated from method MR::ObjectVoxels::getSelectedEdgesColor.
Calls MR_ObjectVoxels_getSelectedEdgesColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getSelectedEdgesColorsForAllViewports | ( | ) |
Generated from method MR::ObjectVoxels::getSelectedEdgesColorsForAllViewports.
Calls MR_ObjectVoxels_getSelectedEdgesColorsForAllViewports().
| meshlib.FaceBitSet meshlib.ObjectVoxels.getSelectedFaces | ( | ) |
Generated from method MR::ObjectVoxels::getSelectedFaces.
Calls MR_ObjectVoxels_getSelectedFaces().
| meshlib.Color meshlib.ObjectVoxels.getSelectedFacesColor | ( | meshlib.ViewportId | id | ) |
returns colors of selected triangles Generated from method MR::ObjectVoxels::getSelectedFacesColor.
Calls MR_ObjectVoxels_getSelectedFacesColor().
| meshlib.ViewportProperty_MR_Color meshlib.ObjectVoxels.getSelectedFacesColorsForAllViewports | ( | ) |
Generated from method MR::ObjectVoxels::getSelectedFacesColorsForAllViewports.
Calls MR_ObjectVoxels_getSelectedFacesColorsForAllViewports().
| meshlib.VoxelBitSet meshlib.ObjectVoxels.getSelectedVoxels | ( | ) |
Generated from method MR::ObjectVoxels::getSelectedVoxels.
Calls MR_ObjectVoxels_getSelectedVoxels().
| meshlib.std_shared_ptr_MR_Object meshlib.ObjectVoxels.getSharedPtr | ( | ) |
returns this Object as shared_ptr finds it among its parent's recognized children Generated from method MR::ObjectVoxels::getSharedPtr.
Calls MR_ObjectVoxels_getSharedPtr().
| float meshlib.ObjectVoxels.getShininess | ( | ) |
returns the current shininess visual value Generated from method MR::ObjectVoxels::getShininess.
Calls MR_ObjectVoxels_getShininess().
| float meshlib.ObjectVoxels.getSpecularStrength | ( | ) |
returns intensity of reflections Generated from method MR::ObjectVoxels::getSpecularStrength.
Calls MR_ObjectVoxels_getSpecularStrength().
| meshlib.MeshTexture meshlib.ObjectVoxels.getTexture | ( | ) |
returns first texture in the vector. If there is no textures, returns empty texture Generated from method MR::ObjectVoxels::getTexture.
Calls MR_ObjectVoxels_getTexture().
| meshlib.TexturePerFace meshlib.ObjectVoxels.getTexturePerFace | ( | ) |
Generated from method MR::ObjectVoxels::getTexturePerFace.
Calls MR_ObjectVoxels_getTexturePerFace().
| meshlib.Vector_MR_MeshTexture_MR_TextureId meshlib.ObjectVoxels.getTextures | ( | ) |
Generated from method MR::ObjectVoxels::getTextures.
Calls MR_ObjectVoxels_getTextures().
| meshlib.VertCoords2 meshlib.ObjectVoxels.getUVCoords | ( | ) |
Generated from method MR::ObjectVoxels::getUVCoords.
Calls MR_ObjectVoxels_getUVCoords().
| meshlib.VertColors meshlib.ObjectVoxels.getVertsColorMap | ( | ) |
returns per-vertex colors of the object Generated from method MR::ObjectVoxels::getVertsColorMap.
Calls MR_ObjectVoxels_getVertsColorMap().
| boolean meshlib.ObjectVoxels.getVisualizeProperty | ( | meshlib.AnyVisualizeMaskEnum | type, |
| meshlib.ViewportMask | viewportMask ) |
returns true if the property is set at least in one viewport specified by the mask Generated from method MR::ObjectVoxels::getVisualizeProperty.
Calls MR_ObjectVoxels_getVisualizeProperty().
| meshlib.ViewportMask meshlib.ObjectVoxels.getVisualizePropertyMask | ( | meshlib.AnyVisualizeMaskEnum | type | ) |
returns mask of viewports where given property is set Generated from method MR::ObjectVoxels::getVisualizePropertyMask.
Calls MR_ObjectVoxels_getVisualizePropertyMask().
| meshlib.VolumeIndexer meshlib.ObjectVoxels.getVolumeIndexer | ( | ) |
Returns indexer with more options Generated from method MR::ObjectVoxels::getVolumeIndexer.
Calls MR_ObjectVoxels_getVolumeIndexer().
| meshlib.VoxelBitSet meshlib.ObjectVoxels.getVolumeRenderActiveVoxels | ( | ) |
get active (visible) voxels Generated from method MR::ObjectVoxels::getVolumeRenderActiveVoxels.
Calls MR_ObjectVoxels_getVolumeRenderActiveVoxels().
| meshlib.SimpleVolume meshlib.ObjectVoxels.getVolumeRenderingData | ( | ) |
move volume rendering data to caller: basically used in RenderVolumeObject Generated from method MR::ObjectVoxels::getVolumeRenderingData.
Calls MR_ObjectVoxels_getVolumeRenderingData().
| meshlib.ObjectVoxels_VolumeRenderingParams meshlib.ObjectVoxels.getVolumeRenderingParams | ( | ) |
Generated from method MR::ObjectVoxels::getVolumeRenderingParams.
Calls MR_ObjectVoxels_getVolumeRenderingParams().
| meshlib.VoxelId meshlib.ObjectVoxels.getVoxelIdByCoordinate | ( | meshlib.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.
Calls MR_ObjectVoxels_getVoxelIdByCoordinate().
| meshlib.VoxelId meshlib.ObjectVoxels.getVoxelIdByPoint | ( | meshlib.Vector3f | point | ) |
Generated from method MR::ObjectVoxels::getVoxelIdByPoint.
Calls MR_ObjectVoxels_getVoxelIdByPoint().
| meshlib.Box3f meshlib.ObjectVoxels.getWorldBox | ( | meshlib.ViewportId | _1 | ) |
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.
Calls MR_ObjectVoxels_getWorldBox().
| meshlib.Box3f meshlib.ObjectVoxels.getWorldTreeBox | ( | meshlib.ViewportId | _1 | ) |
returns bounding box of this object and all children visible in given (or default) viewport in world coordinates Generated from method MR::ObjectVoxels::getWorldTreeBox.
Calls MR_ObjectVoxels_getWorldTreeBox().
| boolean meshlib.ObjectVoxels.globalClippedByPlane | ( | meshlib.ViewportMask | viewportMask | ) |
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.
Calls MR_ObjectVoxels_globalClippedByPlane().
| meshlib.ViewportMask meshlib.ObjectVoxels.globalClippedByPlaneMask | ( | ) |
returns all viewports where this object or any of its parents is clipped by plane Generated from method MR::ObjectVoxels::globalClippedByPlaneMask.
Calls MR_ObjectVoxels_globalClippedByPlaneMask().
| boolean meshlib.ObjectVoxels.globalVisibility | ( | meshlib.ViewportMask | viewportMask | ) |
returns true if this object is visible together with all its parents in any of given viewports Generated from method MR::ObjectVoxels::globalVisibility.
Calls MR_ObjectVoxels_globalVisibility().
| meshlib.ViewportMask meshlib.ObjectVoxels.globalVisibilityMask | ( | ) |
returns all viewports where this object is visible together with all its parents Generated from method MR::ObjectVoxels::globalVisibilityMask.
Calls MR_ObjectVoxels_globalVisibilityMask().
| meshlib.FloatGrid meshlib.ObjectVoxels.grid | ( | ) |
Returns Float grid which contains voxels data, see more on openvdb::FloatGrid Generated from method MR::ObjectVoxels::grid.
Calls MR_ObjectVoxels_grid().
| boolean meshlib.ObjectVoxels.hasAncillaryTexture | ( | ) |
Generated from method MR::ObjectVoxels::hasAncillaryTexture.
Calls MR_ObjectVoxels_hasAncillaryTexture().
| boolean meshlib.ObjectVoxels.hasModel | ( | ) |
Generated from method MR::ObjectVoxels::hasModel.
Calls MR_ObjectVoxels_hasModel().
| boolean meshlib.ObjectVoxels.hasVisualRepresentation | ( | ) |
Generated from method MR::ObjectVoxels::hasVisualRepresentation.
Calls MR_ObjectVoxels_hasVisualRepresentation().
| long meshlib.ObjectVoxels.heapBytes | ( | ) |
returns the amount of memory this object occupies on heap Generated from method MR::ObjectVoxels::heapBytes.
Calls MR_ObjectVoxels_heapBytes().
| meshlib.Histogram meshlib.ObjectVoxels.histogram | ( | ) |
Returns histogram Generated from method MR::ObjectVoxels::histogram.
Calls MR_ObjectVoxels_histogram().
| void meshlib.ObjectVoxels.invalidateActiveBoundsCaches | ( | ) |
Call this function in main thread post processing if you call setActiveBounds from progress bar thread Generated from method MR::ObjectVoxels::invalidateActiveBoundsCaches.
Calls MR_ObjectVoxels_invalidateActiveBoundsCaches().
| void meshlib.ObjectVoxels.invalidateMetricsCache | ( | int | mask | ) |
invalidates same caches with mesh metrics (area, volume, ...) as by setDirtyFlags( mask ) Generated from method MR::ObjectVoxels::invalidateMetricsCache.
Calls MR_ObjectVoxels_invalidateMetricsCache().
| boolean meshlib.ObjectVoxels.isAncestor | ( | meshlib.Object | ancestor | ) |
return true if given object is ancestor of this one, false otherwise Generated from method MR::ObjectVoxels::isAncestor.
Calls MR_ObjectVoxels_isAncestor().
| boolean meshlib.ObjectVoxels.isAncillary | ( | ) |
Generated from method MR::ObjectVoxels::isAncillary.
Calls MR_ObjectVoxels_isAncillary().
| boolean meshlib.ObjectVoxels.isGlobalAncillary | ( | ) |
returns true if the object or any of its ancestors are ancillary Generated from method MR::ObjectVoxels::isGlobalAncillary.
Calls MR_ObjectVoxels_isGlobalAncillary().
| boolean meshlib.ObjectVoxels.isLocked | ( | ) |
object properties lock for UI Generated from method MR::ObjectVoxels::isLocked.
Calls MR_ObjectVoxels_isLocked().
| boolean meshlib.ObjectVoxels.isMeshClosed | ( | ) |
returns cached information whether the mesh is closed Generated from method MR::ObjectVoxels::isMeshClosed.
Calls MR_ObjectVoxels_isMeshClosed().
| boolean meshlib.ObjectVoxels.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.
Calls MR_ObjectVoxels_isParentLocked().
| boolean meshlib.ObjectVoxels.isPickable | ( | meshlib.ViewportMask | viewportMask | ) |
whether the object can be picked (by mouse) in any of given viewports Generated from method MR::ObjectVoxels::isPickable.
Calls MR_ObjectVoxels_isPickable().
| boolean meshlib.ObjectVoxels.isSelected | ( | ) |
Generated from method MR::ObjectVoxels::isSelected.
Calls MR_ObjectVoxels_isSelected().
| boolean meshlib.ObjectVoxels.isVisible | ( | meshlib.ViewportMask | viewportMask | ) |
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.
Calls MR_ObjectVoxels_isVisible().
| boolean meshlib.ObjectVoxels.isVolumeRenderingEnabled | ( | ) |
Generated from method MR::ObjectVoxels::isVolumeRenderingEnabled.
Calls MR_ObjectVoxels_isVolumeRenderingEnabled().
| meshlib.std_shared_ptr_const_MR_Mesh meshlib.ObjectVoxels.mesh | ( | ) |
Calls MR_ObjectVoxels_mesh().
| meshlib.MeshPart meshlib.ObjectVoxels.meshPart | ( | ) |
Calls MR_ObjectVoxels_meshPart().
| meshlib.Mesh meshlib.ObjectVoxels.meshPtr | ( | ) |
returns the mesh of this object, or nullptr if it is not set Generated from method MR::ObjectVoxels::meshPtr.
Calls MR_ObjectVoxels_meshPtr().
| meshlib.std_string meshlib.ObjectVoxels.name | ( | ) |
Generated from method MR::ObjectVoxels::name.
Calls MR_ObjectVoxels_name().
| long meshlib.ObjectVoxels.numComponents | ( | ) |
returns cached information about the number of components in the mesh Generated from method MR::ObjectVoxels::numComponents.
Calls MR_ObjectVoxels_numComponents().
| long meshlib.ObjectVoxels.numCreaseEdges | ( | ) |
returns cached information about the number of crease undirected edges in the mesh Generated from method MR::ObjectVoxels::numCreaseEdges.
Calls MR_ObjectVoxels_numCreaseEdges().
| long meshlib.ObjectVoxels.numHandles | ( | ) |
returns cached information about the number of handles in the mesh Generated from method MR::ObjectVoxels::numHandles.
Calls MR_ObjectVoxels_numHandles().
| long meshlib.ObjectVoxels.numHoles | ( | ) |
returns cached information about the number of holes in the mesh Generated from method MR::ObjectVoxels::numHoles.
Calls MR_ObjectVoxels_numHoles().
| long meshlib.ObjectVoxels.numSelectedEdges | ( | ) |
returns cached information about the number of selected undirected edges in the mesh Generated from method MR::ObjectVoxels::numSelectedEdges.
Calls MR_ObjectVoxels_numSelectedEdges().
| long meshlib.ObjectVoxels.numSelectedFaces | ( | ) |
returns cached information about the number of selected faces in the mesh Generated from method MR::ObjectVoxels::numSelectedFaces.
Calls MR_ObjectVoxels_numSelectedFaces().
| long meshlib.ObjectVoxels.numUndirectedEdges | ( | ) |
returns cached information about the number of undirected edges in the mesh Generated from method MR::ObjectVoxels::numUndirectedEdges.
Calls MR_ObjectVoxels_numUndirectedEdges().
| boolean meshlib.ObjectVoxels.prepareDataForVolumeRendering | ( | meshlib.std_function_bool_from_float | cb | ) |
prepare data for volume rendering returns false if canceled or voxel data is empty Generated from method MR::ObjectVoxels::prepareDataForVolumeRendering.
Calls MR_ObjectVoxels_prepareDataForVolumeRendering().
| meshlib.Histogram meshlib.ObjectVoxels.recalculateHistogram | ( | meshlib.Vector2f | minmax, |
| meshlib.std_function_bool_from_float | cb ) |
Calculates and returns new histogram Generated from method MR::ObjectVoxels::recalculateHistogram.
Calls MR_ObjectVoxels_recalculateHistogram().
| meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectVoxels.recalculateIsoSurface | ( | float | iso, |
| meshlib.std_function_bool_from_float | cb ) |
Calculates and return new mesh or error message Generated from method MR::ObjectVoxels::recalculateIsoSurface.
Calls MR_ObjectVoxels_recalculateIsoSurface_2(). The C++ function returns expected<std::shared_ptr<MR::Mesh>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectVoxels.recalculateIsoSurface | ( | meshlib.VdbVolume | volume, |
| float | iso, | ||
| meshlib.std_function_bool_from_float | cb ) |
Same as above, but takes external volume Generated from method MR::ObjectVoxels::recalculateIsoSurface.
Calls MR_ObjectVoxels_recalculateIsoSurface_3(). The C++ function returns expected<std::shared_ptr<MR::Mesh>, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| void meshlib.ObjectVoxels.removeAllChildren | ( | ) |
detaches all recognized children from this, keeping all unrecognized ones Generated from method MR::ObjectVoxels::removeAllChildren.
Calls MR_ObjectVoxels_removeAllChildren().
| boolean meshlib.ObjectVoxels.removeTag | ( | java.lang.String | tag | ) |
removes tag from the object's tag storage additionally calls ObjectTagManager::tagRemovedSignal Generated from method MR::ObjectVoxels::removeTag.
Calls MR_ObjectVoxels_removeTag().
| boolean meshlib.ObjectVoxels.render | ( | meshlib.ModelRenderParams | _1 | ) |
draws this object for visualization Returns true if something was drawn. Generated from method MR::ObjectVoxels::render.
Calls MR_ObjectVoxels_render().
| void meshlib.ObjectVoxels.renderForPicker | ( | meshlib.ModelBaseRenderParams | _1, |
| int | _2 ) |
draws this object for picking Generated from method MR::ObjectVoxels::renderForPicker.
Calls MR_ObjectVoxels_renderForPicker().
| void meshlib.ObjectVoxels.renderUi | ( | meshlib.UiRenderParams | params | ) |
draws this object for 2d UI Generated from method MR::ObjectVoxels::renderUi.
Calls MR_ObjectVoxels_renderUi().
| void meshlib.ObjectVoxels.resetColors | ( | ) |
reset all object colors to their default values from the current theme Generated from method MR::ObjectVoxels::resetColors.
Calls MR_ObjectVoxels_resetColors().
| void meshlib.ObjectVoxels.resetDirty | ( | ) |
resets all dirty flags (except for cache flags that will be reset automatically on cache update) Generated from method MR::ObjectVoxels::resetDirty.
Calls MR_ObjectVoxels_resetDirty().
| void meshlib.ObjectVoxels.resetDirtyExceptMask | ( | int | mask | ) |
reset dirty flags without some specific bits (useful for lazy normals update) Generated from method MR::ObjectVoxels::resetDirtyExceptMask.
Calls MR_ObjectVoxels_resetDirtyExceptMask().
| void meshlib.ObjectVoxels.resetFrontColor | ( | ) |
reset basic object colors to their default values from the current theme Generated from method MR::ObjectVoxels::resetFrontColor.
Calls MR_ObjectVoxels_resetFrontColor().
| void meshlib.ObjectVoxels.resetRedrawFlag | ( | ) |
Generated from method MR::ObjectVoxels::resetRedrawFlag.
Calls MR_ObjectVoxels_resetRedrawFlag().
| void meshlib.ObjectVoxels.resetXf | ( | meshlib.ViewportId | id | ) |
forgets specific transform in given viewport (or forgets all specific transforms for {} input) Generated from method MR::ObjectVoxels::resetXf.
Calls MR_ObjectVoxels_resetXf().
| boolean meshlib.ObjectVoxels.sameModels | ( | meshlib.Object | other | ) |
Generated from method MR::ObjectVoxels::sameModels.
Calls MR_ObjectVoxels_sameModels().
| boolean meshlib.ObjectVoxels.select | ( | boolean | on | ) |
selects the object, returns true if value changed, otherwise returns false Generated from method MR::ObjectVoxels::select.
Calls MR_ObjectVoxels_select().
| double meshlib.ObjectVoxels.selectedArea | ( | ) |
returns cached area of selected triangles Generated from method MR::ObjectVoxels::selectedArea.
Calls MR_ObjectVoxels_selectedArea().
| void meshlib.ObjectVoxels.selectEdges | ( | meshlib.UndirectedEdgeBitSet | newSelection | ) |
Generated from method MR::ObjectVoxels::selectEdges.
Calls MR_ObjectVoxels_selectEdges().
| void meshlib.ObjectVoxels.selectFaces | ( | meshlib.FaceBitSet | newSelection | ) |
Generated from method MR::ObjectVoxels::selectFaces.
Calls MR_ObjectVoxels_selectFaces().
| void meshlib.ObjectVoxels.selectVoxels | ( | meshlib.VoxelBitSet | selectedVoxels | ) |
Generated from method MR::ObjectVoxels::selectVoxels.
Calls MR_ObjectVoxels_selectVoxels().
| java.lang.Byte meshlib.ObjectVoxels.serializeFormat | ( | ) |
returns overriden file extension used to serialize voxels inside this object, nullptr means SceneSettings::get( SceneSettings::StringType::VoxelsSerializeFormat ) Generated from method MR::ObjectVoxels::serializeFormat.
Calls MR_ObjectVoxels_serializeFormat().
| void meshlib.ObjectVoxels.setActiveBounds | ( | meshlib.Box3i | activeBox, |
| meshlib.std_function_bool_from_float | cb, | ||
| java.lang.Boolean | updateSurface ) |
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.
Calls MR_ObjectVoxels_setActiveBounds().
| void meshlib.ObjectVoxels.setAllVisualizeProperties | ( | meshlib.std_vector_MR_ViewportMask | properties | ) |
set all visualize properties masks Generated from method MR::ObjectVoxels::setAllVisualizeProperties.
Calls MR_ObjectVoxels_setAllVisualizeProperties().
| void meshlib.ObjectVoxels.setAmbientStrength | ( | float | ambientStrength | ) |
sets intensity of non-directional light Generated from method MR::ObjectVoxels::setAmbientStrength.
Calls MR_ObjectVoxels_setAmbientStrength().
| void meshlib.ObjectVoxels.setAncillary | ( | boolean | 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.
Calls MR_ObjectVoxels_setAncillary().
| void meshlib.ObjectVoxels.setAncillaryTexture | ( | meshlib.MeshTexture | texture | ) |
Generated from method MR::ObjectVoxels::setAncillaryTexture.
Calls MR_ObjectVoxels_setAncillaryTexture().
| void meshlib.ObjectVoxels.setAncillaryUVCoords | ( | meshlib.VertCoords2 | uvCoordinates | ) |
Generated from method MR::ObjectVoxels::setAncillaryUVCoords.
Calls MR_ObjectVoxels_setAncillaryUVCoords().
| void meshlib.ObjectVoxels.setBackColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | viewportId ) |
sets backward color of object in given viewport Generated from method MR::ObjectVoxels::setBackColor.
Calls MR_ObjectVoxels_setBackColor().
| void meshlib.ObjectVoxels.setBackColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
sets backward color of object in all viewports Generated from method MR::ObjectVoxels::setBackColorsForAllViewports.
Calls MR_ObjectVoxels_setBackColorsForAllViewports().
| void meshlib.ObjectVoxels.setBordersColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | id ) |
Generated from method MR::ObjectVoxels::setBordersColor.
Calls MR_ObjectVoxels_setBordersColor().
| void meshlib.ObjectVoxels.setBordersColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
Generated from method MR::ObjectVoxels::setBordersColorsForAllViewports.
Calls MR_ObjectVoxels_setBordersColorsForAllViewports().
| void meshlib.ObjectVoxels.setColoringType | ( | meshlib.ColoringType | coloringType | ) |
sets coloring mode of the object with given argument Generated from method MR::ObjectVoxels::setColoringType.
Calls MR_ObjectVoxels_setColoringType().
| void meshlib.ObjectVoxels.setCreases | ( | meshlib.UndirectedEdgeBitSet | creases | ) |
Generated from method MR::ObjectVoxels::setCreases.
Calls MR_ObjectVoxels_setCreases().
| void meshlib.ObjectVoxels.setData | ( | meshlib.ObjectMeshData | data | ) |
sets whole new ObjectMeshData Generated from method MR::ObjectVoxels::setData.
Calls MR_ObjectVoxels_setData().
| void meshlib.ObjectVoxels.setDirtyFlags | ( | int | mask, |
| java.lang.Boolean | invalidateCaches ) |
Generated from method MR::ObjectVoxels::setDirtyFlags.
Calls MR_ObjectVoxels_setDirtyFlags().
| void meshlib.ObjectVoxels.setDirtyFlagsFast | ( | int | 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.
Calls MR_ObjectVoxels_setDirtyFlagsFast().
| void meshlib.ObjectVoxels.setDualMarchingCubes | ( | boolean | on, |
| java.lang.Boolean | updateSurface, | ||
| meshlib.std_function_bool_from_float | cb ) |
sets whether to use Dual Marching Cubes algorithm for visualization (true) or Standard Marching Cubes (false);
| updateSurface | forces immediate update Generated from method MR::ObjectVoxels::setDualMarchingCubes. |
Calls MR_ObjectVoxels_setDualMarchingCubes().
| void meshlib.ObjectVoxels.setEdgesColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | id ) |
Generated from method MR::ObjectVoxels::setEdgesColor.
Calls MR_ObjectVoxels_setEdgesColor().
| void meshlib.ObjectVoxels.setEdgesColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
Generated from method MR::ObjectVoxels::setEdgesColorsForAllViewports.
Calls MR_ObjectVoxels_setEdgesColorsForAllViewports().
| void meshlib.ObjectVoxels.setEdgeWidth | ( | float | edgeWidth | ) |
Generated from method MR::ObjectVoxels::setEdgeWidth.
Calls MR_ObjectVoxels_setEdgeWidth().
| void meshlib.ObjectVoxels.setFacesColorMap | ( | meshlib.FaceColors | facesColorMap | ) |
Generated from method MR::ObjectVoxels::setFacesColorMap.
Calls MR_ObjectVoxels_setFacesColorMap().
| void meshlib.ObjectVoxels.setFlatShading | ( | boolean | on | ) |
sets flat (true) or smooth (false) shading Generated from method MR::ObjectVoxels::setFlatShading.
Calls MR_ObjectVoxels_setFlatShading().
| void meshlib.ObjectVoxels.setFrontColor | ( | meshlib.Color | color, |
| boolean | selected, | ||
| meshlib.ViewportId | viewportId ) |
sets color of object when it is selected/not-selected (depending on argument) in given viewport Generated from method MR::ObjectVoxels::setFrontColor.
Calls MR_ObjectVoxels_setFrontColor().
| void meshlib.ObjectVoxels.setFrontColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val, |
| java.lang.Boolean | selected ) |
sets color of object when it is selected/not-selected (depending on argument) in all viewports Generated from method MR::ObjectVoxels::setFrontColorsForAllViewports.
Calls MR_ObjectVoxels_setFrontColorsForAllViewports().
| void meshlib.ObjectVoxels.setGlobalAlpha | ( | byte | alpha, |
| meshlib.ViewportId | viewportId ) |
sets global transparency alpha of object in given viewport Generated from method MR::ObjectVoxels::setGlobalAlpha.
Calls MR_ObjectVoxels_setGlobalAlpha().
| void meshlib.ObjectVoxels.setGlobalAlphaForAllViewports | ( | meshlib.ViewportProperty_unsigned_char | val | ) |
sets global transparency alpha of object in all viewports Generated from method MR::ObjectVoxels::setGlobalAlphaForAllViewports.
Calls MR_ObjectVoxels_setGlobalAlphaForAllViewports().
| void meshlib.ObjectVoxels.setGlobalClippedByPlane | ( | boolean | on, |
| meshlib.ViewportMask | viewportMask ) |
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.
Calls MR_ObjectVoxels_setGlobalClippedByPlane().
| void meshlib.ObjectVoxels.setGlobalVisibility | ( | boolean | on, |
| meshlib.ViewportMask | viewportMask ) |
if true sets all predecessors visible, otherwise sets this object invisible Generated from method MR::ObjectVoxels::setGlobalVisibility.
Calls MR_ObjectVoxels_setGlobalVisibility().
| boolean meshlib.ObjectVoxels.setIsoValue | ( | float | iso, |
| meshlib.std_function_bool_from_float | cb, | ||
| java.lang.Boolean | updateSurface ) |
Sets iso value and updates iso-surfaces if needed: Returns true if iso-value was updated, false - otherwise Generated from method MR::ObjectVoxels::setIsoValue.
Calls MR_ObjectVoxels_setIsoValue(). The C++ function returns expected<bool, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| void meshlib.ObjectVoxels.setLocked | ( | boolean | on | ) |
Generated from method MR::ObjectVoxels::setLocked.
Calls MR_ObjectVoxels_setLocked().
| void meshlib.ObjectVoxels.setMaxSurfaceVertices | ( | int | maxVerts | ) |
sets top limit on the number of vertices in the iso-surface Generated from method MR::ObjectVoxels::setMaxSurfaceVertices.
Calls MR_ObjectVoxels_setMaxSurfaceVertices().
| void meshlib.ObjectVoxels.setName | ( | java.lang.String | name | ) |
Generated from method MR::ObjectVoxels::setName.
Calls MR_ObjectVoxels_setName().
| void meshlib.ObjectVoxels.setParentLocked | ( | boolean | lock | ) |
Generated from method MR::ObjectVoxels::setParentLocked.
Calls MR_ObjectVoxels_setParentLocked().
| void meshlib.ObjectVoxels.setPickable | ( | boolean | on, |
| meshlib.ViewportMask | viewportMask ) |
sets the object as can/cannot be picked (by mouse) in all of given viewports Generated from method MR::ObjectVoxels::setPickable.
Calls MR_ObjectVoxels_setPickable().
| void meshlib.ObjectVoxels.setPointsColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | id ) |
Generated from method MR::ObjectVoxels::setPointsColor.
Calls MR_ObjectVoxels_setPointsColor().
| void meshlib.ObjectVoxels.setPointsColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
Generated from method MR::ObjectVoxels::setPointsColorsForAllViewports.
Calls MR_ObjectVoxels_setPointsColorsForAllViewports().
| void meshlib.ObjectVoxels.setPointSize | ( | float | size | ) |
Generated from method MR::ObjectVoxels::setPointSize.
Calls MR_ObjectVoxels_setPointSize().
| void meshlib.ObjectVoxels.setSelectedEdgesColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | id ) |
sets colors of selected edges Generated from method MR::ObjectVoxels::setSelectedEdgesColor.
Calls MR_ObjectVoxels_setSelectedEdgesColor().
| void meshlib.ObjectVoxels.setSelectedEdgesColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
Generated from method MR::ObjectVoxels::setSelectedEdgesColorsForAllViewports.
Calls MR_ObjectVoxels_setSelectedEdgesColorsForAllViewports().
| void meshlib.ObjectVoxels.setSelectedFacesColor | ( | meshlib.Color | color, |
| meshlib.ViewportId | id ) |
sets colors of selected triangles Generated from method MR::ObjectVoxels::setSelectedFacesColor.
Calls MR_ObjectVoxels_setSelectedFacesColor().
| void meshlib.ObjectVoxels.setSelectedFacesColorsForAllViewports | ( | meshlib.ViewportProperty_MR_Color | val | ) |
Generated from method MR::ObjectVoxels::setSelectedFacesColorsForAllViewports.
Calls MR_ObjectVoxels_setSelectedFacesColorsForAllViewports().
| void meshlib.ObjectVoxels.setSerializeFormat | ( | java.lang.Byte | newFormat | ) |
overrides file extension used to serialize voxels inside this object: must start from '.', nullptr means serialize in SceneSettings::get( SceneSettings::StringType::VoxelsSerializeFormat ) Generated from method MR::ObjectVoxels::setSerializeFormat.
Calls MR_ObjectVoxels_setSerializeFormat().
| void meshlib.ObjectVoxels.setShininess | ( | float | shininess | ) |
sets shininess visual value of the object with given argument Generated from method MR::ObjectVoxels::setShininess.
Calls MR_ObjectVoxels_setShininess().
| void meshlib.ObjectVoxels.setSpecularStrength | ( | float | specularStrength | ) |
sets intensity of reflections Generated from method MR::ObjectVoxels::setSpecularStrength.
Calls MR_ObjectVoxels_setSpecularStrength().
| void meshlib.ObjectVoxels.setTexturePerFace | ( | meshlib.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.
Calls MR_ObjectVoxels_setTexturePerFace().
| void meshlib.ObjectVoxels.setTextures | ( | meshlib.Vector_MR_MeshTexture_MR_TextureId | texture | ) |
Generated from method MR::ObjectVoxels::setTextures.
Calls MR_ObjectVoxels_setTextures().
| void meshlib.ObjectVoxels.setUseDefaultScenePropertiesOnDeserialization | ( | boolean | 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.
Calls MR_ObjectVoxels_setUseDefaultScenePropertiesOnDeserialization().
| void meshlib.ObjectVoxels.setUVCoords | ( | meshlib.VertCoords2 | uvCoordinates | ) |
Generated from method MR::ObjectVoxels::setUVCoords.
Calls MR_ObjectVoxels_setUVCoords().
| void meshlib.ObjectVoxels.setVertsColorMap | ( | meshlib.VertColors | vertsColorMap | ) |
sets per-vertex colors of the object Generated from method MR::ObjectVoxels::setVertsColorMap.
Calls MR_ObjectVoxels_setVertsColorMap().
| void meshlib.ObjectVoxels.setVisibilityMask | ( | meshlib.ViewportMask | viewportMask | ) |
specifies object visibility as bitmask of viewports Generated from method MR::ObjectVoxels::setVisibilityMask.
Calls MR_ObjectVoxels_setVisibilityMask().
| void meshlib.ObjectVoxels.setVisible | ( | boolean | on, |
| meshlib.ViewportMask | viewportMask ) |
sets the object visible in the viewports specified by the mask (by default in all viewports) Generated from method MR::ObjectVoxels::setVisible.
Calls MR_ObjectVoxels_setVisible().
| void meshlib.ObjectVoxels.setVisualizeProperty | ( | boolean | value, |
| meshlib.AnyVisualizeMaskEnum | type, | ||
| meshlib.ViewportMask | viewportMask ) |
set visual property in all viewports specified by the mask Generated from method MR::ObjectVoxels::setVisualizeProperty.
Calls MR_ObjectVoxels_setVisualizeProperty().
| void meshlib.ObjectVoxels.setVisualizePropertyMask | ( | meshlib.AnyVisualizeMaskEnum | type, |
| meshlib.ViewportMask | viewportMask ) |
set visual property mask Generated from method MR::ObjectVoxels::setVisualizePropertyMask.
Calls MR_ObjectVoxels_setVisualizePropertyMask().
| void meshlib.ObjectVoxels.setVolumeRenderActiveVoxels | ( | meshlib.VoxelBitSet | activeVoxels | ) |
set active (visible) voxels (using only in Volume Rendering mode) Generated from method MR::ObjectVoxels::setVolumeRenderActiveVoxels.
Calls MR_ObjectVoxels_setVolumeRenderActiveVoxels().
| void meshlib.ObjectVoxels.setVolumeRenderingParams | ( | meshlib.ObjectVoxels_VolumeRenderingParams | params | ) |
Generated from method MR::ObjectVoxels::setVolumeRenderingParams.
Calls MR_ObjectVoxels_setVolumeRenderingParams().
| void meshlib.ObjectVoxels.setVoxelPointPositioner | ( | meshlib.std_function_MR_Vector3f_from_const_MR_Vector3f_ref_const_MR_Vector3f_ref_float_float_float | positioner | ) |
set voxel point positioner for Marching Cubes (only for Standard Marching Cubes) Generated from method MR::ObjectVoxels::setVoxelPointPositioner.
Calls MR_ObjectVoxels_setVoxelPointPositioner().
| void meshlib.ObjectVoxels.setWorldXf | ( | meshlib.AffineXf3f | xf, |
| meshlib.ViewportId | id ) |
Generated from method MR::ObjectVoxels::setWorldXf.
Calls MR_ObjectVoxels_setWorldXf().
| void meshlib.ObjectVoxels.setXf | ( | meshlib.AffineXf3f | xf, |
| meshlib.ViewportId | id ) |
Generated from method MR::ObjectVoxels::setXf.
Calls MR_ObjectVoxels_setXf().
| void meshlib.ObjectVoxels.setXfsForAllViewports | ( | meshlib.ViewportProperty_MR_AffineXf3f | xf | ) |
modifies xfs for all viewports at once Generated from method MR::ObjectVoxels::setXfsForAllViewports.
Calls MR_ObjectVoxels_setXfsForAllViewports().
| meshlib.std_shared_ptr_MR_Object meshlib.ObjectVoxels.shallowClone | ( | ) |
Generated from method MR::ObjectVoxels::shallowClone.
Calls MR_ObjectVoxels_shallowClone().
| meshlib.std_shared_ptr_MR_Object meshlib.ObjectVoxels.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.
Calls MR_ObjectVoxels_shallowCloneTree().
| void meshlib.ObjectVoxels.sortChildren | ( | ) |
sort recognized children by name Generated from method MR::ObjectVoxels::sortChildren.
Calls MR_ObjectVoxels_sortChildren().
|
static |
Generated from method MR::ObjectVoxels::StaticClassName.
Calls MR_ObjectVoxels_StaticClassName().
|
static |
Generated from method MR::ObjectVoxels::StaticClassNameInPlural.
Calls MR_ObjectVoxels_StaticClassNameInPlural().
|
static |
Static downcast from the base class MR::Object. Undefined behavior if the object isn't actually a ObjectVoxels. The result refers to object.
Calls MR_ObjectVoxels_MutableStaticDowncastFrom_MR_Object().
|
static |
Static downcast from the base class MR::ObjectChildrenHolder. Undefined behavior if the object isn't actually a ObjectVoxels. The result refers to object.
Calls MR_ObjectVoxels_MutableStaticDowncastFrom_MR_ObjectChildrenHolder().
|
static |
Static downcast from the base class MR::ObjectMeshHolder. Undefined behavior if the object isn't actually a ObjectVoxels. The result refers to object.
Calls MR_ObjectVoxels_MutableStaticDowncastFrom_MR_ObjectMeshHolder().
|
static |
Static downcast from the base class MR::VisualObject. Undefined behavior if the object isn't actually a ObjectVoxels. The result refers to object.
Calls MR_ObjectVoxels_MutableStaticDowncastFrom_MR_VisualObject().
|
static |
Generated from method MR::ObjectVoxels::StaticTypeName.
Calls MR_ObjectVoxels_StaticTypeName().
| boolean meshlib.ObjectVoxels.supportsVisualizeProperty | ( | meshlib.AnyVisualizeMaskEnum | type | ) |
Generated from method MR::ObjectVoxels::supportsVisualizeProperty.
Calls MR_ObjectVoxels_supportsVisualizeProperty().
| meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectVoxels.surface | ( | ) |
Returns iso surface, empty if iso value is not set Generated from method MR::ObjectVoxels::surface.
Calls MR_ObjectVoxels_surface().
| void meshlib.ObjectVoxels.swap | ( | meshlib.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.
Calls MR_ObjectVoxels_swap().
| meshlib.std_set_std_string meshlib.ObjectVoxels.tags | ( | ) |
provides read-only access to the tag storage the storage is a set of unique strings Generated from method MR::ObjectVoxels::tags.
Calls MR_ObjectVoxels_tags().
| void meshlib.ObjectVoxels.toggleVisualizeProperty | ( | meshlib.AnyVisualizeMaskEnum | type, |
| meshlib.ViewportMask | viewportMask ) |
toggle visual property in all viewports specified by the mask Generated from method MR::ObjectVoxels::toggleVisualizeProperty.
Calls MR_ObjectVoxels_toggleVisualizeProperty().
| double meshlib.ObjectVoxels.totalArea | ( | ) |
returns cached summed area of mesh triangles Generated from method MR::ObjectVoxels::totalArea.
Calls MR_ObjectVoxels_totalArea().
| java.lang.Byte meshlib.ObjectVoxels.typeName | ( | ) |
Generated from method MR::ObjectVoxels::typeName.
Calls MR_ObjectVoxels_typeName().
| meshlib.Object meshlib.ObjectVoxels.upcastToObject | ( | ) |
Upcasts to the base class MR::Object. The result refers to this object.
Calls MR_ObjectVoxels_MutableUpcastTo_MR_Object().
| meshlib.ObjectChildrenHolder meshlib.ObjectVoxels.upcastToObjectChildrenHolder | ( | ) |
Upcasts to the base class MR::ObjectChildrenHolder. The result refers to this object.
Calls MR_ObjectVoxels_MutableUpcastTo_MR_ObjectChildrenHolder().
| meshlib.ObjectMeshHolder meshlib.ObjectVoxels.upcastToObjectMeshHolder | ( | ) |
Upcasts to the base class MR::ObjectMeshHolder. The result refers to this object.
Calls MR_ObjectVoxels_MutableUpcastTo_MR_ObjectMeshHolder().
| meshlib.VisualObject meshlib.ObjectVoxels.upcastToVisualObject | ( | ) |
Upcasts to the base class MR::VisualObject. The result refers to this object.
Calls MR_ObjectVoxels_MutableUpcastTo_MR_VisualObject().
| void meshlib.ObjectVoxels.updateAncillaryUVCoords | ( | meshlib.VertCoords2 | updated | ) |
Generated from method MR::ObjectVoxels::updateAncillaryUVCoords.
Calls MR_ObjectVoxels_updateAncillaryUVCoords().
| void meshlib.ObjectVoxels.updateData | ( | meshlib.ObjectMeshData | data | ) |
swaps whole ObjectMeshData with given argument Generated from method MR::ObjectVoxels::updateData.
Calls MR_ObjectVoxels_updateData().
| void meshlib.ObjectVoxels.updateFacesColorMap | ( | meshlib.FaceColors | updated | ) |
Generated from method MR::ObjectVoxels::updateFacesColorMap.
Calls MR_ObjectVoxels_updateFacesColorMap().
| meshlib.Histogram meshlib.ObjectVoxels.updateHistogram | ( | meshlib.Histogram | histogram | ) |
Sets external histogram for this object and returns back previous histogram of this Generated from method MR::ObjectVoxels::updateHistogram.
Calls MR_ObjectVoxels_updateHistogram().
| void meshlib.ObjectVoxels.updateHistogramAndSurface | ( | meshlib.std_function_bool_from_float | cb | ) |
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.
Calls MR_ObjectVoxels_updateHistogramAndSurface().
| meshlib.std_shared_ptr_MR_Mesh meshlib.ObjectVoxels.updateIsoSurface | ( | meshlib.std_shared_ptr_MR_Mesh | mesh | ) |
Sets external surface mesh for this object and returns back previous mesh of this Generated from method MR::ObjectVoxels::updateIsoSurface.
Calls MR_ObjectVoxels_updateIsoSurface().
| void meshlib.ObjectVoxels.updateTexturePerFace | ( | meshlib.TexturePerFace | texturePerFace | ) |
Generated from method MR::ObjectVoxels::updateTexturePerFace.
Calls MR_ObjectVoxels_updateTexturePerFace().
| void meshlib.ObjectVoxels.updateTextures | ( | meshlib.Vector_MR_MeshTexture_MR_TextureId | updated | ) |
Generated from method MR::ObjectVoxels::updateTextures.
Calls MR_ObjectVoxels_updateTextures().
| void meshlib.ObjectVoxels.updateUVCoords | ( | meshlib.VertCoords2 | updated | ) |
Generated from method MR::ObjectVoxels::updateUVCoords.
Calls MR_ObjectVoxels_updateUVCoords().
| meshlib.VdbVolume meshlib.ObjectVoxels.updateVdbVolume | ( | meshlib.VdbVolume | vdbVolume | ) |
Sets external vdb volume for this object and returns back previous vdb volume of this Generated from method MR::ObjectVoxels::updateVdbVolume.
Calls MR_ObjectVoxels_updateVdbVolume().
| void meshlib.ObjectVoxels.updateVertsColorMap | ( | meshlib.VertColors | vertsColorMap | ) |
swaps per-vertex colors of the object with given argument Generated from method MR::ObjectVoxels::updateVertsColorMap.
Calls MR_ObjectVoxels_updateVertsColorMap().
| boolean meshlib.ObjectVoxels.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.
Calls MR_ObjectVoxels_useDefaultScenePropertiesOnDeserialization().
| meshlib.Mesh meshlib.ObjectVoxels.varMeshPtr | ( | ) |
returns the mesh of this object for modification, or nullptr if it is not set Generated from method MR::ObjectVoxels::varMeshPtr.
Calls MR_ObjectVoxels_varMeshPtr().
| meshlib.VdbVolume meshlib.ObjectVoxels.varVdbVolume | ( | ) |
Generated from method MR::ObjectVoxels::varVdbVolume.
Calls MR_ObjectVoxels_varVdbVolume().
| meshlib.VdbVolume meshlib.ObjectVoxels.vdbVolume | ( | ) |
Return VdbVolume Generated from method MR::ObjectVoxels::vdbVolume.
Calls MR_ObjectVoxels_vdbVolume().
| meshlib.ViewportMask meshlib.ObjectVoxels.visibilityMask | ( | ) |
gets object visibility as bitmask of viewports Generated from method MR::ObjectVoxels::visibilityMask.
Calls MR_ObjectVoxels_visibilityMask().
| double meshlib.ObjectVoxels.volume | ( | ) |
returns cached volume of space surrounded by the mesh, which is valid only if mesh is closed Generated from method MR::ObjectVoxels::volume.
Calls MR_ObjectVoxels_volume().
| meshlib.Vector3f meshlib.ObjectVoxels.voxelSize | ( | ) |
Generated from method MR::ObjectVoxels::voxelSize.
Calls MR_ObjectVoxels_voxelSize().
| meshlib.AffineXf3f meshlib.ObjectVoxels.worldXf | ( | meshlib.ViewportId | id, |
| meshlib.bool_output | isDef ) |
this space to world space transformation for default or specific viewport
| isDef | receives true if the object has default transformation in this viewport (same as worldXf() returns) Generated from method MR::ObjectVoxels::worldXf. |
Calls MR_ObjectVoxels_worldXf().
| meshlib.AffineXf3f meshlib.ObjectVoxels.xf | ( | meshlib.ViewportId | id, |
| meshlib.bool_output | isDef ) |
this space to parent space transformation (to world space if no parent) for default or given viewport
| isDef | receives true if the object has default transformation in this viewport (same as xf() returns) Generated from method MR::ObjectVoxels::xf. |
Calls MR_ObjectVoxels_xf().
| meshlib.ViewportProperty_MR_AffineXf3f meshlib.ObjectVoxels.xfsForAllViewports | ( | ) |
returns xfs for all viewports, combined into a single object Generated from method MR::ObjectVoxels::xfsForAllViewports.
Calls MR_ObjectVoxels_xfsForAllViewports().