Class SbProjector

    • Method Detail

      • intersect

        public SbVec3f intersect​(SbLine line)
        Applies the projector using the given line in world coordinates, returning the point in three dimensions that it projects to. Note: For the projectors that support "orientToEye", setting this flag to true causes the projector to orient to the line when the intersect method is called. New for v3.0.
      • project

        public SbVec3f project​(SbVec2f point)
        Apply the projector using the given point, returning the point in three dimensions that it projects to. The point should be normalized (lie in the range [0.0,1.0]), with (0,0) at the lower-left.
      • setWorkingSpace

        public void setWorkingSpace​(SbMatrix space)
        Set the transform space to work in. This matrix should transform working space coordinates into world space. The default matrix is identity, meaning that the default working space is world space.
      • getWorkingSpace

        public SbMatrix getWorkingSpace()
        Get the transform space to work in.
      • getViewVolume

        public SbViewVolume getViewVolume()
        Get the view volume to use for the projection.
      • copy

        public SbProjector copy()
        Creates and returns an exact copy of the projector.