Package com.openinventor.inventor
Interface SafeDisposable
- All Known Implementing Classes:
DicomInfo,Gnomon,Magnifier,MoActionNode,MoCellFilter,MoCellRanges,MoColorMapping,MoDataBinding,MoDrawStyle,MoMaterial,MoMesh,MoMeshBaseRepresentation,MoMeshCellShape,MoMeshCylinderSlice,MoMeshIsosurface,MoMeshOutline,MoMeshPlaneSlice,MoMeshPointProbe,MoMeshRepresentation,MoMeshSkin,MoMeshSlab,MoMeshSphereSlice,MoMeshStreamline,MoMeshSurface,MoMeshVector,MoPredefinedColorMapping,MoScalarSetI,MoScalarSetIj,MoScalarSetIjk,MoStringSet,MoVec3SetI,MoVec3SetIj,MoVec3SetIjk,OrthoSliceBorder,Po3DdataMaster,PoAngularAxis,PoArrow,PoArrow3,PoAutoCubeAxis,PoAutoValueLegend,PoAxis,PoBar,PoBase,PoBaseAxis,PoBaseStreamLine,PoBaseView,PoBevelEdge,PoBiErrorPointField,PoCartesianAxis,PoCartesianGrid2D,PoCartesianGrid3D,PoCellEdges,PoCellFacets,PoCellFilter,PoCellIndices,PoCellShape,PoChart,PoCircle,PoCircle3,PoCircle3CenterRadius,PoCircle3ThreePoints,PoCircleArc,PoCircleArc3,PoCircleArc3CtrPtAngle,PoCircleArc3CtrTwoPts,PoCircleArc3ThreePts,PoCircleArcCtrPtAngle,PoCircleArcCtrRadTwoAngle,PoCircleArcCtrTwoPts,PoCircleArcThreePts,PoCircleCenterRadius,PoCircleThreePoints,PoCircularProfile,PoConicBar,PoCoordinateListFilter,PoCoordinateSystemAxis,PoCurve,PoCurve3,PoCurveFilling,PoCurveLine,PoCylindricalBar,PoDataMapping,PoDateFormatMapping,PoDomain,PoEllipticProfile,PoErrorCurve,PoErrorPointField,PoGenAxis,PoGeneralizedBar,PoGeneralizedScatter,PoGraphMaster,PoGroup2Axis,PoGroup3Axis3,PoGroup4Axis,PoGroup6Axis3,PoHexahedronMesh3D,PoHighLowClose,PoHistogram,PoIndexedMesh2D,PoIndexedMesh3D,PoIndexListFilter,PoIntervalCellFilter,PoIrregularMesh1D,PoIsovaluesList,PoItemLegend,PoLabel,PoLabelField,PoLabelHints,PoLegend,PoLinearAxis,PoLinearBar,PoLinearDataMapping,PoLinearValueLegend,PoLogAxis,PoMesh,PoMesh1DFilter,PoMesh1DHints,PoMesh2D,PoMesh2DVec,PoMesh3D,PoMesh3DVec,PoMesh3DVecCrossSection,PoMesh3DVecGridCrossSection,PoMeshContouring,PoMeshCrossContour,PoMeshCrossSection,PoMeshFilled,PoMeshLevelSurf,PoMeshLimit,PoMeshLines,PoMeshProbePoint,PoMeshProperty,PoMeshSides,PoMeshSkeleton,PoMeshSkin,PoMiscTextAttr,PoMultipleHistogram,PoNode,PoNonLinearDataMapping,PoNonLinearDataMapping2,PoNonLinearValueLegend1,PoNonLinearValueLegend2,PoNonLinearValueLegend3,PoNumericDisplayFormat,PoParalCartesianGrid2D,PoParalCartesianGrid3D,PoParallelogram,PoParallelogram3,PoPeriodFilter,PoPeriodIndexFilter,PoPieChart,PoPieChart2D,PoPieChart3D,PoPieChartRep,PoPointsFieldBars,PoPolarAxis,PoPolarGrid2D,PoPolarLinAxis,PoPolarLogAxis,PoProfile,PoProfileBar,PoProfileCoordinate2,PoQuadrangleMesh2D,PoRectangle,PoRegularCartesianGrid2D,PoRegularCartesianGrid3D,PoRegularMesh1D,PoRibbon,PoScatter,PoSceneView,PoSingleHistogram,PoSquareProfile,PoStreamLine,PoStreamLineMotion,PoStreamParticleMotion,PoStreamPointMotion,PoStreamSphereMotion,PoStreamSurface,PoStreamTadpoleMotion,PoTetrahedronMesh3D,PoTimeAxis,PoTriangleMesh2D,PoTube,PoValuedMarkerField,PoValueLegend,PoView,Ruler,SceneExaminer,SceneInteractor,SceneOrbiter,SliceOrientationMarkers,SliceScaleBar,SoAlgebraicCone,SoAlgebraicCylinder,SoAlgebraicShape,SoAlgebraicSphere,SoAlphaPolicy,SoAnnotation,SoAnnoText3,SoAnnoText3Property,SoAntiSquish,SoAppearanceKit,SoArray,SoAsciiText,SoBackground,SoBase,SoBaseColor,SoBaseContextCache,SoBaseExtrusion,SoBaseKit,SoBBox,SoBevelProperty,SoBillboard,SoBlinker,SoBoolOperation,SoBoundingBoxCache,SoBufferAsyncNotifierInterface,SoBufferedShape,SoBufferObject,SoCache,SoCADInputReader,SoCalculator,SoCallback,SoCamera,SoCameraInteractor,SoCameraKit,SoCenterballDragger,SoCenterballManip,SoCircularExtrusion,SoClipPlane,SoClipPlaneManip,SoColorIndex,SoColorMap,SoColorMask,SoComplexity,SoComposeMatrix,SoComposeRotation,SoComposeRotationFromTo,SoComposeVec2f,SoComposeVec2i32,SoComposeVec2s,SoComposeVec3f,SoComposeVec4f,SoComputeBoundingBox,SoComputeShader,SoComputeShaderScheduler,SoConcatenate,SoCone,SoCoordinate3,SoCoordinate4,SoCounter,SoCpuBufferAsyncBasicProperty,SoCpuBufferBasicProperty,SoCpuBufferBitSet,SoCpuBufferCompressed,SoCpuBufferFromVolumeReader,SoCpuBufferObject,SoCpuBufferUniform,SoCpuContext,SoCSGShape,SoCube,SoCylinder,SoDataCompositor,SoDataRange,SoDataSet,SoDataSetId,SoDecomposeMatrix,SoDecomposeRotation,SoDecomposeVec2f,SoDecomposeVec2i32,SoDecomposeVec2s,SoDecomposeVec3f,SoDecomposeVec4f,SoDepthBuffer,SoDepthOffset,SoDeviceContext,SoDeviceContextSharedGroup,SoDirectionalLight,SoDirectionalLightDragger,SoDirectionalLightManip,SoDragger,SoDragPointDragger,SoDrawStyle,SoEdgeFlag,SoElapsedTime,SoEllipseScreenDrawer,SoEllipsoidDragger,SoEngine,SoEnvironment,SoEnvironmentMap,SoEventCallback,SoExtrusion,SoExtSelection,SoExtTexture2,SoFaceSet,SoFenceSlice,SoFieldContainer,SoFile,SoFont,SoFontStyle,SoFragmentShader,SoFullSceneAntialiasing,SoGate,SoGeoCoordinate,SoGeoElevationGrid,SoGeoLocation,SoGeoLOD,SoGeometryPriority,SoGeometryShader,SoGeoOrigin,SoGeoProjection,SoGeoRender,SoGLBufferObject,SoGLCallback,SoGLContext,SoGpuBufferObject,SoGradientBackground,SoGroup,SoHandleBoxDragger,SoHandleBoxManip,SoHardwareQuery,SoHeightFieldGeometry,SoHeightFieldProperty,SoHeightFieldPropertyMask,SoHeightFieldRender,SoImage,SoImageBackground,SoIndexedFaceSet,SoIndexedLineSet,SoIndexedMarkerSet,SoIndexedNurbsCurve,SoIndexedNurbsSurface,SoIndexedPointSet,SoIndexedQuadMesh,SoIndexedShape,SoIndexedTexture2,SoIndexedTriangleFanSet,SoIndexedTriangleSet,SoIndexedTriangleStripSet,SoInfo,SoInputReader,SoInstanceParameter,SoInteractionKit,SoInteractiveComplexity,SoInteractiveSwitch,SoInteropBufferObject,SoInterpolate,SoInterpolateFloat,SoInterpolateRotation,SoInterpolateVec2f,SoInterpolateVec3f,SoInterpolateVec4f,SoJackDragger,SoJackManip,SoLabel,SoLassoScreenDrawer,SoLDMDataTransform,SoLDMReader,SoLDMResourceParameters,SoLdmShape,SoLevelOfDetail,SoLevelOfSimplification,SoLicensedProduct,SoLicenseProperty,SoLight,SoLightKit,SoLightModel,SoLinearProfile,SoLineSet,SoLocateHighlight,SoLOD,SoMarker,SoMarkerSet,SoMaterial,SoMaterialBinding,SoMatrixTransform,SoMultiDataSeparator,SoMultiPathSwitch,SoMultipleCopy,SoMultipleInstance,SoMultipleInstanceBase,SoMultiSwitch,SoNode,SoNodeDependencies,SoNodeKitListPart,SoNonIndexedShape,SoNormal,SoNormalBinding,SoNormalCache,SoNurbsBoundary,SoNurbsCurve,SoNurbsGroup,SoNurbsProfile,SoNurbsProperty,SoNurbsSurface,SoObliqueSlice,SoOffscreenRenderArea,SoOffscreenVolumeRender,SoOneShot,SoOnOff,SoOrthographicCamera,SoOrthoSlice,SoOrthoSliceDragger,SoOutlineEffect,SoOverlayGroup,SoPackedColor,SoPath,SoPathSwitch,SoPattern,SoPendulum,SoPerspectiveCamera,SoPhysicalMaterial,SoPickStyle,SoPointLight,SoPointLightDragger,SoPointLightManip,SoPointSet,SoPolygonOffset,SoPolygonScreenDrawer,SoPolyLineScreenDrawer,SoPrimitiveCountCache,SoProfile,SoProfileCoordinate2,SoProfileCoordinate3,SoProjection,SoQuadAreaLight,SoQuadMesh,SoRectangleScreenDrawer,SoRemoteVizClient,SoRenderAreaCore,SoRenderToTarget,SoRenderToTextureProperty,SoResetTransform,SoROI,SoROIManip,SoRotateCylindricalDragger,SoRotateDiscDragger,SoRotateSphericalDragger,SoRotation,SoRotationXYZ,SoRotor,SoScale,SoScale1Dragger,SoScale2Dragger,SoScale2UniformDragger,SoScaleUniformDragger,SoSceneKit,SoScreenDrawer,SoSelection,SoSelectOne,SoSeparator,SoSeparatorKit,SoShaderObject,SoShaderParameter,SoShaderParameter1f,SoShaderParameter1i,SoShaderParameter2f,SoShaderParameter2i,SoShaderParameter3f,SoShaderParameter3i,SoShaderParameter4f,SoShaderParameter4i,SoShaderParameterArray1f,SoShaderParameterArray1i,SoShaderParameterArray2f,SoShaderParameterArray2i,SoShaderParameterArray3f,SoShaderParameterArray3i,SoShaderParameterArray4f,SoShaderParameterArray4i,SoShaderParameterBufferObject,SoShaderParameterImage,SoShaderParameterMatrix,SoShaderParameterMatrix3,SoShaderParameterMatrixArray,SoShaderProgram,SoShaderStateMatrixParameter,SoShadowGroup,SoShadowStyle,SoShape,SoShapeHints,SoShapeKit,SoShuttle,SoSlice,SoSphere,SoSpotLight,SoSpotLightDragger,SoSpotLightManip,SoStereoCamera,SoSTLInputReader,SoSurroundScale,SoSwitch,SoSystemTimer,SoSystemTimerTask,SoTabBoxDragger,SoTabBoxManip,SoTabPlaneDragger,SoTangentCache,SoTessellationControlShader,SoTessellationEvaluationShader,SoText2,SoText3,SoTextProperty,SoTexture,SoTexture2,SoTexture2Transform,SoTexture3,SoTexture3Transform,SoTextureCombiner,SoTextureCoordinate2,SoTextureCoordinate3,SoTextureCoordinateBinding,SoTextureCoordinateDefault,SoTextureCoordinateEnvironment,SoTextureCoordinateFunction,SoTextureCoordinateNormalMap,SoTextureCoordinateObject,SoTextureCoordinatePlane,SoTextureCoordinateReflectionMap,SoTextureCubeMap,SoTextureMatrix,SoTextureUnit,SoTimeCounter,SoTrackballDragger,SoTrackballManip,SoTrackFollower,SoTransferFunction,SoTransform,SoTransformation,SoTransformBoxDragger,SoTransformBoxManip,SoTransformerDragger,SoTransformerManip,SoTransformManip,SoTransformProjection,SoTransformSeparator,SoTransformVec3f,SoTranslate1Dragger,SoTranslate2Dragger,SoTranslation,SoTriangleSet,SoTriangleStripSet,SoTriggerAny,SoUniformGridClipping,SoUniformGridProjectionClipping,SoUniformShaderParameter,SoUnits,SoVertexAttribFeedback,SoVertexFlag,SoVertexProperty,SoVertexShader,SoVertexShaderParameter,SoVertexShaderParameter1f,SoVertexShaderParameter1s,SoVertexShaderParameter2f,SoVertexShaderParameter2s,SoVertexShaderParameter3f,SoVertexShaderParameter3s,SoVertexShaderParameter4b,SoVertexShaderParameter4f,SoVertexShaderParameter4i,SoVertexShaderParameter4s,SoVertexShaderParameter4ub,SoVertexShaderParameter4ui,SoVertexShaderParameter4us,SoVertexShaderParameterBufferObject,SoVertexShaderParameterMatrix,SoVertexShape,SoViewingCube,SoViewport,SoViewportClipping,SoVolumeBufferedShape,SoVolumeClippingGroup,SoVolumeData,SoVolumeDataDrawStyle,SoVolumeFaceSet,SoVolumeGroup,SoVolumeIndexedFaceSet,SoVolumeIndexedTriangleStripSet,SoVolumeIsosurface,SoVolumeMask,SoVolumeMaskGroup,SoVolumeReader,SoVolumeRender,SoVolumeRenderingPhysicalQuality,SoVolumeRenderingQuality,SoVolumeShader,SoVolumeShape,SoVolumeSkin,SoVolumeTransform,SoVolumeTriangleStripSet,SoVolumeWriter,SoVRAmFileReader,SoVRAvsFileReader,SoVRDicomFileReader,SoVRGenericFileReader,SoVRLdmFileBorderReader,SoVRLdmFileReader,SoVRLdmFileWriter,SoVRMemoryReader,SoVRMemoryWriter,SoVRMrcFileReader,SoVRRasterStackReader,SoVRSegyFileReader,SoVRTiffFileReader,SoVRVolFileReader,SoVRVoxFileReader,SoVRXtFileReader,SoWrapperKit,SoWWWAnchor,SoWWWInline,TextBox,Timer,Timer
public interface SafeDisposable
Defines an object which can be disposed in a safe manner to release unmanaged
resources.
dispose() method may be used carefully on some objects (because they
may be shared in a scene graph for example). We may be sured that the object
is no longer needed. Use the isDisposable() method of this interface
to know if it is safe to explicitly dispose the object.
-
Method Details
-
isDisposable
boolean isDisposable()Returns a boolean flag which indicates if it is safe to calldispose()on the object.- Returns:
trueif the object can be disposed in a safe manner- Throws:
IllegalStateException- if the object is already disposed
-
dispose
boolean dispose()Explicitly call this method to force object to dispose its unmanaged resources.Call
isDisposable()method first to know if this object can be disposed in a safe manner.
The object may not be reused in the application code after this call.- Returns:
trueif this object native resources were successfully disposed.- Throws:
IllegalStateException- if the object is already disposed or is being used
-