Class MoMeshCylinderSlice

    • Field Detail

      • center

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

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

        public SoSFVec3f direction
        Specifies the cylinder's direction.
        The default value is (1,0,0).
    • Constructor Detail

      • MoMeshCylinderSlice

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

      • getUnstructuredExtractor

        public MiCylinderSliceExtractUnstructured getUnstructuredExtractor()
        Gets the cylinder 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 cylinder slice extractor for unstructured meshes
      • getHexahedronIjkExtractor

        public MiCylinderSliceExtractHexahedronIjk getHexahedronIjkExtractor()
        Gets the cylinder 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 cylinder slice extractor for hexahedron IJK meshes
      • getIjkExtractor

        public MiCylinderSliceExtractIjk getIjkExtractor()
        Gets the cylinder 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 cylinder slice extractor for IJK meshes