Class SbStructuredQuadrilateralMesh

  • All Implemented Interfaces:
    SafeDisposable

    @Deprecated(since="2023.2")
    public class SbStructuredQuadrilateralMesh
    extends Inventor
    implements SafeDisposable
    Deprecated.
    As of Open Inventor 2023.2. ImageViz API is replaced by the new ImageDev toolkit.
    Structured quadrilateral mesh. Its nodes are ordered and can be accessed by i, j indices. All cells are quadrilateral.

    Defines a list of 3d vertices that can be accessed by (i,j) indices.

    SoSFStructuredQuadrilateralMesh

    • Constructor Detail

      • SbStructuredQuadrilateralMesh

        public SbStructuredQuadrilateralMesh​(long numCellsI,
                                             long numCellsJ)
        Deprecated.
        Constructor requiring the mesh number of cells in row and column.
    • Method Detail

      • isDisposable

        public boolean isDisposable()
        Deprecated.
        Description copied from interface: SafeDisposable
        Returns a boolean flag which indicates if it is safe to call SafeDisposable.dispose() on the object.
        Specified by:
        isDisposable in interface SafeDisposable
        Returns:
        true if the object can be disposed in a safe manner
      • dispose

        public boolean dispose()
        Deprecated.
        Description copied from class: Inventor
        Explicitly call this method to force object to dispose its unmanaged resources. The object may not be reused in the application code after this call.
        Specified by:
        dispose in interface SafeDisposable
        Overrides:
        dispose in class Inventor
        Returns:
        true if this object native resources were successfully disposed; false if it was already disposed or no native resources has been registered for this object.
      • getNumCellsJ

        public long getNumCellsJ()
        Deprecated.
        Returns the mesh number of cell by column.
      • setVertex

        public void setVertex​(long i,
                              long j,
                              SbVec3f vertex)
        Deprecated.
        Sets the position of a vertex. Throws an error if the indices are out of the mesh range.

        Parameters:
        i - column index of the vertex to modify. i must be in range [0-getNumCellsI()].

        j - row index of the vertex to modify. j must be in range [0-getNumCellsJ()].

        vertex - new value.
      • getVertex

        public SbVec3f getVertex​(long i,
                                 long j)
        Deprecated.
        Returns the vertex position. Returns an empty vertex if the indices are out of the mesh range.

        Parameters:
        i - column index of the vertex to modify. i must be in range [0-getNumCellsI()].

        j - row index of the vertex to modify. j must be in range [0-getNumCellsJ()].
      • getNumCellsI

        public long getNumCellsI()
        Deprecated.
        Returns the mesh number of cell by row.