Base class for object storing runtime type information. More...
#include <Inventor/SoTypedObject.h>
Public Member Functions | |
virtual SoType | getTypeId () const =0 |
Returns the type identifier for a specific instance. | |
SbBool | isOfType (const SoType &type) const |
Returns TRUE if this object is of the type specified in type or is derived from that type. | |
template<typename TypedObjectClass> | |
SbBool | isOfType () const |
Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class. | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Returns the type identifier for this class. | |
Base class for object storing runtime type information.
The SoTypedObject class keeps track of runtime type information in Open Inventor using SoType.
SoType, SoAction, SoBase, SoDetail, SoError, SoEvent, SoField
Definition at line 49 of file SoTypedObject.h.
|
inlinestatic |
Returns the type identifier for this class.
Definition at line 97 of file SoTypedObject.h.
|
pure virtual |
Returns the type identifier for a specific instance.
Implemented in DicomInfo, Gnomon, Magnifier, MoActionNode, MoCellFilter, MoColorMapping, MoCombineColorMapping, MoCustomColorMapping, MoDataBinding, MoDrawStyle, MoFaceDetail, MoFaceDetailI, MoFaceDetailIj, MoFaceDetailIjk, MoLegend, MoLevelColorMapping, MoLinearColorMapping, MoLineDetail, MoLineDetailI, MoLineDetailIj, MoLineDetailIjk, MoLineMeshDetail, MoMaterial, MoMesh, MoMeshAnnotatedIsoline, MoMeshBaseRepresentation, MoMeshCellShape, MoMeshClipLine, MoMeshClipPoint, MoMeshCylinderSlice, MoMeshDetail, MoMeshElevatedPlaneSlice, MoMeshFenceSlice, MoMeshGridPlaneSlice, MoMeshInterpolatedLogicalSlice, MoMeshIsoline, MoMeshIsosurface, MoMeshLine, MoMeshLineRepresentation, MoMeshLogicalSlice, MoMeshOutline, MoMeshPlaneSlice, MoMeshPointProbe, MoMeshRepresentation, MoMeshRepresentationDetail, MoMeshSkin, MoMeshSlab, MoMeshSphereSlice, MoMeshStreamline, MoMeshSurface, MoMeshSurfaceRepresentation, MoMeshVector, MoPredefinedColorMapping, MoScalarSet, MoScalarSetI, MoScalarSetIj, MoScalarSetIjk, MoStringSet, MoSurfaceMeshDetail, MoTessellator, MoVec3SetI, MoVec3SetIj, MoVec3SetIjk, ObliqueSliceBorder, OrthoSliceBorder, PlaneBoxIntersection, PlaneGeometryIntersection, Po3DdataMaster, PoAngularAxis, PoArrow3, PoArrow, PoAutoCubeAxis, PoAutoValueLegend, PoAxis, PoBar, PoBase, PoBaseAxis, PoBaseStreamLine, PoBaseView, PoBevelEdge, PoBiErrorPointField, PoCartesianAxis, PoCartesianGrid2D, PoCartesianGrid3D, PoCellEdges, PoCellFacets, PoCellFilter, PoCellIndices, PoCellShape, PoChart, PoCircle3, PoCircle3CenterRadius, PoCircle3ThreePoints, PoCircle, PoCircleArc3, PoCircleArc3CtrPtAngle, PoCircleArc3CtrTwoPts, PoCircleArc3ThreePts, PoCircleArc, PoCircleArcCtrPtAngle, PoCircleArcCtrRadTwoAngle, PoCircleArcCtrTwoPts, PoCircleArcThreePts, PoCircleCenterRadius, PoCircleThreePoints, PoCircularProfile, PoConicBar, PoCoordinateListFilter, PoCoordinateSystemAxis, PoCurve3, PoCurve, 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, PoMesh1DFilter, PoMesh1DHints, PoMesh2D, PoMesh2DVec, PoMesh3D, PoMesh3DVec, PoMesh3DVecCrossSection, PoMesh3DVecGridCrossSection, PoMesh, PoMeshContouring, PoMeshCrossContour, PoMeshCrossSection, PoMeshFilled, PoMeshLevelSurf, PoMeshLimit, PoMeshLines, PoMeshProbePoint, PoMeshProperty, PoMeshSides, PoMeshSkeleton, PoMeshSkin, PoMiscTextAttr, PoMultipleHistogram, PoNode, PoNonLinearDataMapping2, PoNonLinearDataMapping, PoNonLinearValueLegend1, PoNonLinearValueLegend2, PoNonLinearValueLegend3, PoNumericDisplayFormat, PoParalCartesianGrid2D, PoParalCartesianGrid3D, PoParallelogram3, PoParallelogram, PoPeriodFilter, PoPeriodIndexFilter, PoPieChart2D, PoPieChart3D, PoPieChart, PoPieChartRep, PoPointsFieldBars, PoPolarAxis, PoPolarGrid2D, PoPolarLinAxis, PoPolarLogAxis, PoProfile, PoProfileBar, PoProfileCoordinate2, PoQuadrangleMesh2D, PoRectangle, PoRegularCartesianGrid2D, PoRegularCartesianGrid3D, PoRegularMesh1D, PoRibbon, PoScatter, PoSceneView, PoSFCartesianGrid2D, PoSFCartesianGrid3D, PoSFHexahedronMesh3D, PoSFIndexedMesh2D, PoSFIndexedMesh3D, PoSFIrregularMesh1D, PoSFMesh, PoSFParalCartesianGrid2D, PoSFParalCartesianGrid3D, PoSFPolarGrid2D, PoSFQuadrangleMesh2D, PoSFRegularCartesianGrid2D, PoSFRegularCartesianGrid3D, PoSFRegularMesh1D, PoSFTetrahedronMesh3D, PoSFTriangleMesh2D, PoSingleHistogram, PoSquareProfile, PoStreamLine, PoStreamLineMotion, PoStreamParticleMotion, PoStreamPointMotion, PoStreamSphereMotion, PoStreamSurface, PoStreamTadpoleMotion, PoTetrahedronMesh3D, PoTimeAxis, PoTriangleMesh2D, PoTube, PoValuedMarkerField, PoValueLegend, PoView, Ruler, SceneView, SliceOrientationMarkers, SliceScaleBar, SoAlgebraicCone, SoAlgebraicCylinder, SoAlgebraicShape, SoAlgebraicSphere, SoAlphaPolicy, SoAnnotation, SoAnnoText3, SoAnnoText3Property, SoAntiSquish, SoAppearanceKit, SoArray, SoAsciiText, SoAuditor, SoBackground, SoBaseColor, SoBaseExtrusion, SoBaseKit, SoBBox, SoBevelAction, SoBevelProperty, SoBillboard, SoBlinker, SoBoxHighlightRenderAction, SoBufferedShape, SoCalculator, SoCallback, SoCallbackAction, SoCamera, SoCameraKit, SoCenterballDragger, SoCenterballManip, SoCircularExtrusion, SoClipPlane, SoClipPlaneManip, SoColorHighlightRenderAction, SoColorIndex, SoColorMap, SoColorMask, SoComplexity, SoComposeMatrix, SoComposeRotation, SoComposeRotationFromTo, SoComposeVec2f, SoComposeVec2i32, SoComposeVec2s, SoComposeVec3f, SoComposeVec4f, SoComputeBoundingBox, SoComputeShader, SoComputeShaderScheduler, SoConcatenate, SoCone, SoControllerButtonEvent, SoCoordinate3, SoCoordinate4, SoCounter, SoCSGShape, SoCube, SoCubeDetail, SoCylinder, SoCylinderDetail, SoDataCompositor, SoDataRange, SoDataSet, SoDataSetId, SoDebugError, SoDecomposeMatrix, SoDecomposeRotation, SoDecomposeVec2f, SoDecomposeVec2i32, SoDecomposeVec2s, SoDecomposeVec3f, SoDecomposeVec4f, SoDepthBuffer, SoDepthOffset, SoDirectionalLight, SoDirectionalLightDragger, SoDirectionalLightManip, SoDistributeAction, SoDoubleTapGestureEvent, SoDragger, SoDragPointDragger, SoDrawStyle, SoEdgeFlag, SoElapsedTime, SoElement, SoEllipseScreenDrawer, SoEllipsoidDragger, SoEnvironment, SoEnvironmentMap, SoError, SoErrorStack, SoEvent, SoEventCallback, SoExtrusion, SoExtSelection, SoExtTexture2, SoFaceDetail, SoFaceSet, SoFenceSlice, SoFenceSliceDetail, SoFile, SoFont, SoFontStyle, SoFragmentShader, SoFullSceneAntialiasing, SoGate, SoGeoCoordinate, SoGeoElevationGrid, SoGeoLocation, SoGeoLOD, SoGeometryPriority, SoGeometryShader, SoGeoOrigin, SoGeoProjection, SoGeoRender, SoGestureEvent, SoGetBoundingBoxAction, SoGetMatrixAction, SoGetPrimitiveCountAction, SoGLCallback, SoGLError, SoGlobalSimplifyAction, SoGLRenderAction, SoGradientBackground, SoGroup, SoHaloHighlightRenderAction, SoHandleBoxDragger, SoHandleBoxManip, SoHandleEventAction, SoHardwareQuery, SoHeightFieldDetail, SoHeightFieldGeometry, SoHeightFieldProperty, SoHeightFieldPropertyMask, SoHeightFieldRender, SoHighlightRenderAction, SoImage, SoImageBackground, SoIndexedFaceSet, SoIndexedLineSet, SoIndexedMarkerSet, SoIndexedNurbsCurve, SoIndexedNurbsSurface, SoIndexedPointSet, SoIndexedQuadMesh, SoIndexedShape, SoIndexedTexture2, SoIndexedTriangleFanSet, SoIndexedTriangleSet, SoIndexedTriangleStripSet, SoInfo, SoInstanceParameter, SoInteractionKit, SoInteractiveComplexity, SoInteractiveSwitch, SoInterpolate, SoInterpolateFloat, SoInterpolateRotation, SoInterpolateVec2f, SoInterpolateVec3f, SoInterpolateVec4f, SoIntersectionDetectionAction, SoJackDragger, SoJackManip, SoKeyboardEvent, SoLabel, SoLassoScreenDrawer, SoLDMDataTransform, SoLDMReader, SoLDMResourceParameters, SoLdmShape, SoLevelOfDetail, SoLevelOfSimplification, SoLight, SoLightKit, SoLightModel, SoLinearProfile, SoLineDetail, SoLineHighlightRenderAction, SoLineSet, SoLocateHighlight, SoLocation2Event, SoLOD, SoLongTapGestureEvent, SoMarker, SoMarkerSet, SoMaterial, SoMaterialBinding, SoMatrixTransform, SoMemoryError, SoMFBitMask, SoMFBool, SoMFBufferObject, SoMFColor, SoMFColorRGBA, SoMFDouble, SoMFEngine, SoMFEnum, SoMFFieldContainer, SoMFFilePathString, SoMFFloat, SoMFInstanceParameter, SoMFInt32, SoMFInt64, SoMFMatrix, SoMFName, SoMFNode, SoMFPath, SoMFPlane, SoMFRotation, SoMFShort, SoMFString, SoMFTime, SoMFUByte, SoMFUInt32, SoMFUniformShaderParameter, SoMFUShort, SoMFVec2d, SoMFVec2f, SoMFVec2FilePathString, SoMFVec2i32, SoMFVec2s, SoMFVec2String, SoMFVec3d, SoMFVec3f, SoMFVec3i32, SoMFVec3s, SoMFVec4b, SoMFVec4f, SoMFVec4i32, SoMFVec4s, SoMFVec4ub, SoMFVec4ui32, SoMFVec4us, SoMotion3Event, SoMouseButtonEvent, SoMouseWheelEvent, SoMultiDataSeparator, SoMultiPathSwitch, SoMultipleCopy, SoMultipleInstance, SoMultipleInstanceBase, SoMultiSwitch, SoNode, SoNodeKitDetail, SoNodeKitListPart, SoNonIndexedShape, SoNormal, SoNormalBinding, SoNurbsBoundary, SoNurbsBREPAction, SoNurbsCurve, SoNurbsGroup, SoNurbsProfile, SoNurbsProperty, SoNurbsSurface, SoObliqueSlice, SoObliqueSliceDetail, SoOffscreenVolumeRender, SoOneShot, SoOnOff, SoOrthographicCamera, SoOrthoSlice, SoOrthoSliceDetail, SoOrthoSliceDragger, SoOverlayGroup, SoPackedColor, SoPath, SoPathSwitch, SoPattern, SoPendulum, SoPerspectiveCamera, SoPhysicalMaterial, SoPickAction, SoPickStyle, SoPointDetail, SoPointLight, SoPointLightDragger, SoPointLightManip, SoPointSet, SoPolygonOffset, SoPolygonScreenDrawer, SoPolyLineScreenDrawer, SoProfile, SoProfileCoordinate2, SoProfileCoordinate3, SoProjection, SoQuadAreaLight, SoQuadMesh, SoRayPickAction, SoReadError, SoRectangleScreenDrawer, SoRemoteVizClient, SoRenderToTarget, SoRenderToTextureProperty, SoReorganizeAction, SoResetTransform, SoROI, SoROIManip, SoRotateCylindricalDragger, SoRotateDiscDragger, SoRotateGestureEvent, SoRotateSphericalDragger, SoRotation, SoRotationXYZ, SoRotor, SoScale1Dragger, SoScale2Dragger, SoScale2UniformDragger, SoScale, SoScaleGestureEvent, SoScaleUniformDragger, SoSceneKit, SoScreenDrawer, SoSearchAction, SoSearchPathAction, SoSearchStepAction, SoSelection, SoSelectOne, SoSeparator, SoSeparatorKit, SoSFArray2D, SoSFArray3D, SoSFArray, SoSFBitMask, SoSFBool, SoSFBox2f, SoSFBox3f, SoSFBox3i32, SoSFBox3s, SoSFBox4i32, SoSFBufferObject, SoSFColor, SoSFColorRGBA, SoSFDouble, SoSFEngine, SoSFEnum, SoSFFieldContainer, SoSFFilePathString, SoSFFloat, SoSFImage3, SoSFImage, SoSFInt32, SoSFInt64, SoSFLDMDataTransform, SoSFLDMResourceParameters, SoSFMaterial, SoSFMatrix3, SoSFMatrix, SoSFMemObj, SoSFName, SoSFNode, SoSFPath, SoSFPlane, SoSFRotation, SoSFShort, SoSFString, SoSFTime, SoSFTrigger, SoSFUByte, SoSFUInt32, SoSFUShort, SoSFVec2d, SoSFVec2f, SoSFVec2i32, SoSFVec2s, SoSFVec3d, SoSFVec3f, SoSFVec3i32, SoSFVec4f, SoSFVec4i32, SoShaderObject, SoShaderParameter1f, SoShaderParameter1i, SoShaderParameter2f, SoShaderParameter2i, SoShaderParameter3f, SoShaderParameter3i, SoShaderParameter4f, SoShaderParameter4i, SoShaderParameter, SoShaderParameterArray1f, SoShaderParameterArray1i, SoShaderParameterArray2f, SoShaderParameterArray2i, SoShaderParameterArray3f, SoShaderParameterArray3i, SoShaderParameterArray4f, SoShaderParameterArray4i, SoShaderParameterBufferObject, SoShaderParameterImage, SoShaderParameterMatrix3, SoShaderParameterMatrix, SoShaderParameterMatrixArray, SoShaderProgram, SoShaderStateMatrixParameter, SoShadowGroup, SoShadowStyle, SoShape, SoShapeHints, SoShapeKit, SoShapeSimplifyAction, SoShuttle, SoSimplifyAction, SoSlice, SoSliceDetail, SoSpaceballButtonEvent, SoSphere, SoSplitGeometryAction, SoSpotLight, SoSpotLightDragger, SoSpotLightManip, SoStereoCamera, SoSTLWriteAction, SoSurroundScale, SoSwitch, SoTabBoxDragger, SoTabBoxManip, SoTabPlaneDragger, SoTessellationControlShader, SoTessellationEvaluationShader, SoText2, SoText3, SoTextDetail, SoTextProperty, SoTexture2, SoTexture2Transform, SoTexture3, SoTexture3Transform, SoTexture, SoTextureCombiner, SoTextureCoordinate2, SoTextureCoordinate3, SoTextureCoordinateBinding, SoTextureCoordinateDefault, SoTextureCoordinateEnvironment, SoTextureCoordinateFunction, SoTextureCoordinateNormalMap, SoTextureCoordinateObject, SoTextureCoordinatePlane, SoTextureCoordinateReflectionMap, SoTextureCubeMap, SoTextureMatrix, SoTextureUnit, SoTimeCounter, SoToPDFAction, SoToU3DAction, SoTouchEvent, SoTrackballDragger, SoTrackballManip, SoTrackerEvent, SoTrackFollower, SoTransferFunction, SoTransform, SoTransformation, SoTransformBoxDragger, SoTransformBoxManip, SoTransformerDragger, SoTransformerManip, SoTransformManip, SoTransformProjection, SoTransformSeparator, SoTransformVec3f, SoTranslate1Dragger, SoTranslate2Dragger, SoTranslation, SoTriangleSet, SoTriangleStripSet, SoTriggerAny, SoUniformGridClipping, SoUniformGridProjectionClipping, SoUniformShaderParameter, SoUnits, SoVectorizeAction, SoVectorizeCGMAction, SoVectorizeGDIAction, SoVectorizeHPGLAction, SoVectorizePSAction, SoVertexAttribFeedback, SoVertexFlag, SoVertexProperty, SoVertexShader, SoVertexShaderParameter1f, SoVertexShaderParameter1s, SoVertexShaderParameter2f, SoVertexShaderParameter2s, SoVertexShaderParameter3f, SoVertexShaderParameter3s, SoVertexShaderParameter4b, SoVertexShaderParameter4f, SoVertexShaderParameter4i, SoVertexShaderParameter4s, SoVertexShaderParameter4ub, SoVertexShaderParameter4ui, SoVertexShaderParameter4us, SoVertexShaderParameter, SoVertexShaderParameterBufferObject, SoVertexShaderParameterMatrix, SoVertexShape, SoViewingCube, SoViewport, SoViewportClipping, SoVolumeBufferedShape, SoVolumeClippingGroup, SoVolumeData, SoVolumeDataDrawStyle, SoVolumeDetail, SoVolumeFaceSet, SoVolumeGroup, SoVolumeIndexedFaceSet, SoVolumeIndexedTriangleStripSet, SoVolumeIsosurface, SoVolumeMask, SoVolumeMaskGroup, SoVolumeReader, SoVolumeRender, SoVolumeRenderDetail, SoVolumeRenderingPhysicalQuality, SoVolumeRenderingQuality, SoVolumeShader, SoVolumeShape, SoVolumeSkin, SoVolumeSkinDetail, SoVolumeTransform, SoVolumeTriangleStripSet, SoVolumeWriter, SoVRAmFileReader, SoVRAvsFileReader, SoVRDicomFileReader, SoVRGenericFileReader, SoVRLdmFileBorderReader, SoVRLdmFileReader, SoVRLdmFileWriter, SoVRMemoryReader, SoVRMemoryWriter, SoVRMrcFileReader, SoVRRasterStackReader, SoVRSegyFileReader, SoVRTiffFileReader, SoVRVolFileReader, SoVRVoxFileReader, SoVRXtFileReader, SoWrapperKit, SoWriteAction, SoWWWAnchor, SoWWWInline, TextBox, and ViewManager.
|
inline |
Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
Otherwise, it returns FALSE.
Note: TypedObjectClass must be derived from SoTypedObject
For example,
returns TRUE if objPtr is an instance of SoGroup or one of its subclasses.
Definition at line 91 of file SoTypedObject.h.
Returns TRUE if this object is of the type specified in type or is derived from that type.
Otherwise, it returns FALSE. For example,
returns TRUE if objPtr is an instance of SoGroup or one of its subclasses.
Definition at line 72 of file SoTypedObject.h.