Class SoBoundingBoxCache

    • Constructor Detail

      • SoBoundingBoxCache

        public SoBoundingBoxCache​(SoState state)
    • Method Detail

      • setHasLinesOrPoints

        public static void setHasLinesOrPoints​(SoState state)
      • setHasScreenSpaceBoundingBoxes

        public static void setHasScreenSpaceBoundingBoxes​(SoState state,
                                                          boolean flag)
      • getProjectedBox

        public SbBox3f getProjectedBox()
        Returns BBox in local space.
      • getBox

        public SbXfBox3f getBox()
        Returns the current bbox value.
      • set

        public void set​(SbXfBox3f boundingBox,
                        boolean centerSet,
                        SbVec3f centerPoint)
      • hasLinesOrPoints

        public boolean hasLinesOrPoints()
      • hasScreenSpaceBoundingBoxes

        public boolean hasScreenSpaceBoundingBoxes()
      • isCenterSet

        public boolean isCenterSet()
      • getCenter

        public SbVec3f getCenter()