Class MoMeshSphereSlice

    • Field Detail

      • center

        public SoSFVec3f center
        Specifies the sphere's center. The default value is (0,0,0).
      • radius

        public SoSFFloat radius
        Specifies the sphere's radius. Value must be greater than 0.0. The default value is 1.
    • Constructor Detail

      • MoMeshSphereSlice

        public MoMeshSphereSlice()
        Constructs a rendering node with default center and radius.
        • center = (0,0,0)
        • radius = 1
    • Method Detail

      • getUnstructuredExtractor

        public MiSphereSliceExtractUnstructured getUnstructuredExtractor()
        Gets the sphere slice extractor for unstructured meshes to reuse outside this node.
        Note: The returned object may be null if no unstructured mesh has been set in the scene graph or if no render action has traversed the scene graph.
        Returns:
        the sphere slice extractor for unstructured meshes
      • getHexahedronIjkExtractor

        public MiSphereSliceExtractHexahedronIjk getHexahedronIjkExtractor()
        Gets the sphere slice extractor for hexahedron IJK meshes to reuse outside this node.
        Note: The returned object may be null if no hexahedron mesh has been set in the scene graph or if no render action has traversed the scene graph.
        Returns:
        the sphere slice extractor for hexahedron IJK meshes
      • getIjkExtractor

        public MiSphereSliceExtractIjk getIjkExtractor()
        Gets the sphere slice extractor for IJK meshes to reuse outside this node.
        Note: The returned object may be null if no IJK mesh has been set in the scene graph or if no render action has traversed the scene graph.
        Returns:
        the sphere slice extractor for IJK meshes