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)
      • getCenter

        public SbVec3f getCenter()
      • getBox

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

        public boolean hasLinesOrPoints()
      • getProjectedBox

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

        public boolean isCenterSet()
      • set

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

        public boolean hasScreenSpaceBoundingBoxes()