Uses of Class
com.openinventor.inventor.SbBox3f
-
-
Uses of SbBox3f in com.openinventor.inventor
Subclasses of SbBox3f in com.openinventor.inventor Modifier and Type Class Description class
SbXfBox3f
3D box with an associated transformation matrix.Methods in com.openinventor.inventor that return SbBox3f Modifier and Type Method Description SbBox3f
SbViewVolume. getProjectedBbox(SbBox3f box)
Projects the given 3D bounding box onto the near plane and returns it (in normalized screen coordinates).static SbBox3f
SbViewVolume. getProjectedBbox(SbMatrix affineProj, SbBox3f box)
Same as getProjectedBbox but takes a matrix (containing affine and projection parts) to use instead of the one returned by getMatrix.SbBox3f
SbBox3f. intersection(SbBox3f box)
Returns the intersection of the specified box with this box.SbBox3f
SbXfBox3f. project()
SbBox3f
SbBox3f. setValue(float[] components)
SbBox3f
SbBox3f. setValue(float[] components, int startIndex)
static SbBox3f[]
SbBox3f. toArray(long nativeArray, long length)
Methods in com.openinventor.inventor with parameters of type SbBox3f Modifier and Type Method Description void
SbSphere. circumscribe(SbBox3f box)
Return a sphere containing a given box.boolean
SbBox3f. contains(SbBox3f bb)
Returns true if the specified box is fully contained inside this box.void
SbBox3f. extendBy(SbBox3f bb)
Extends this box (if necessary) to contain the specified box.void
SbXfBox3f. extendBy(SbBox3f bb)
Extends the box (if necessary) to contain the given box.SbBox3f
SbViewVolume. getProjectedBbox(SbBox3f box)
Projects the given 3D bounding box onto the near plane and returns it (in normalized screen coordinates).static SbBox3f
SbViewVolume. getProjectedBbox(SbMatrix affineProj, SbBox3f box)
Same as getProjectedBbox but takes a matrix (containing affine and projection parts) to use instead of the one returned by getMatrix.boolean
SbBox3f. intersect(SbBox3f bb)
Returns true if the specified box intersects this box.boolean
SbXfBox3f. intersect(SbBox3f bb)
Returns true if intersection of given box and this box is not empty.SbBox3f
SbBox3f. intersection(SbBox3f box)
Returns the intersection of the specified box with this box.SbViewVolume
SbViewVolume. narrow(SbBox3f box)
Narrows a view volume by the given box.SbVec2f
SbViewVolume. projectBox(SbBox3f box)
Projects the given 3D bounding box onto the near plane and returns the size (in normalized screen coordinates) of the rectangular region that encloses it.void
SbBox3f. setValue(SbBox3f copyFrom)
Constructors in com.openinventor.inventor with parameters of type SbBox3f Constructor Description SbBox3f(SbBox3f copyFrom)
SbXfBox3f(SbBox3f box)
Constructor. -
Uses of SbBox3f in com.openinventor.inventor.actions
Methods in com.openinventor.inventor.actions that return SbBox3f Modifier and Type Method Description SbBox3f
SoGetBoundingBoxAction. getBoundingBox()
Returns computed bounding box in world space.Methods in com.openinventor.inventor.actions with parameters of type SbBox3f Modifier and Type Method Description void
SoGetBoundingBoxAction. extendBy(SbBox3f box)
boolean
SoRayPickAction. intersect(SbBox3f box)
Calls intersect(box, true).boolean
SoRayPickAction. intersect(SbBox3f box, boolean useFullViewVolume)
Bounding box: just return whether the ray intersects it. -
Uses of SbBox3f in com.openinventor.inventor.caches
Methods in com.openinventor.inventor.caches that return SbBox3f Modifier and Type Method Description SbBox3f
SoBoundingBoxCache. getProjectedBox()
Returns BBox in local space. -
Uses of SbBox3f in com.openinventor.inventor.elements
Methods in com.openinventor.inventor.elements that return SbBox3f Modifier and Type Method Description static SbBox3f
SoModifyViewVolumeElement. getBox(SoState state)
Returns the current portion of the view volume from the state.static SbBox3f
SoModifyViewVolumeElement. getDefaultBox()
Returns the default screen portion.Methods in com.openinventor.inventor.elements with parameters of type SbBox3f Modifier and Type Method Description static void
SoModifyViewVolumeElement. set(SoState state, SbBox3f portion)
Sets the current portion in the state to the given portion (left, bottom, right, top). -
Uses of SbBox3f in com.openinventor.inventor.fields
Methods in com.openinventor.inventor.fields that return SbBox3f Modifier and Type Method Description SbBox3f
SoSFBox3f. getValue()
Returns this field's value.Methods in com.openinventor.inventor.fields with parameters of type SbBox3f Modifier and Type Method Description void
SoSFBox3f. setValue(SbBox3f newValue)
Sets this field to newValue.Constructors in com.openinventor.inventor.fields with parameters of type SbBox3f Constructor Description SoSFBox3f(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, SbBox3f defaultValue)
Default constructor. -
Uses of SbBox3f in com.openinventor.inventor.manips
Methods in com.openinventor.inventor.manips with parameters of type SbBox3f Modifier and Type Method Description void
SoClipPlaneManip. setValue(SbBox3f box, SbVec3f planeNormal, float draggerScaleFactor)
Convenience method to set the clip plane and the dragger position, orientation and size. -
Uses of SbBox3f in com.openinventor.inventor.misc
Methods in com.openinventor.inventor.misc with parameters of type SbBox3f Modifier and Type Method Description static SoShape
SbExtrusionGenerator. createFrom2DPoints(java.util.Collection<SbVec2f> pointsInCam, SbMatrix localToCam, SbBox3f bboxInLocal)
Create an extruded shape from points in camera space.static SoShape
SbExtrusionGenerator. createFrom2DPoints(java.util.Collection<SbVec2f> pointsInCam, SoPath nodePath, SbViewVolume volume, SbBox3f bboxInLocal)
Create an extruded shape from points in camera space.static SoShape
SbExtrusionGenerator. createFrom3DPoints(java.util.Collection<SbVec3f> pointsInWorld, SoPath nodePath, SbViewVolume volume, SbBox3f bboxInLocal)
Create an extruded shape from points in world space. -
Uses of SbBox3f in com.openinventor.inventor.nodes
Methods in com.openinventor.inventor.nodes with parameters of type SbBox3f Modifier and Type Method Description void
SoCamera. viewAll(SbBox3f bbox, SbViewportRegion vpRegion)
Sets the camera to view the region defined by the given bounding box. -
Uses of SbBox3f in com.openinventor.inventor.projection
Methods in com.openinventor.inventor.projection that return SbBox3f Modifier and Type Method Description SbBox3f
SbProjection. getProjectedBoundingBox()
Return projected bounding box if available. -
Uses of SbBox3f in com.openinventor.inventor.viewercomponents
Methods in com.openinventor.inventor.viewercomponents with parameters of type SbBox3f Modifier and Type Method Description void
SoCameraInteractor. viewIn(SbBox3f bbox)
Move camera to the center of the specified box. -
Uses of SbBox3f in com.openinventor.ldm
Methods in com.openinventor.ldm that return SbBox3f Modifier and Type Method Description SbBox3f
SoLDMDataAccess. voxelToXYZ(SbBox3i32 boxIJK)
Converts the specified box in voxel coordinates (I,J,K) to geometric coordinates (X,Y,Z).Methods in com.openinventor.ldm with parameters of type SbBox3f Modifier and Type Method Description SbBox3i32
SoLDMDataAccess. XYZToVoxel(SbBox3f boxXYZ)
Converts the specified box in geometric coordinates (X,Y,Z) to voxel coordinates (I,J,K). -
Uses of SbBox3f in com.openinventor.ldm.converters
Methods in com.openinventor.ldm.converters with parameters of type SbBox3f Modifier and Type Method Description int
SoLDMWriter. initialize(java.lang.String filename, SbBox3f size, SbVec3i32 dimension, SoDataSet.DataTypes dataType)
Deprecated.int
SoLDMWriter. initialize(java.lang.String filename, SbBox3f size, SbVec3i32 dimension, SoDataSet.DataTypes dataType, int argc)
Deprecated.int
SoLDMWriter. initialize(java.lang.String filename, SbBox3f size, SbVec3i32 dimension, SoDataSet.DataTypes dataType, int argc, java.lang.String[] argv)
Deprecated.As of Open Inventor 9.0.0.0.int
SoLDMWriter. initialize(java.lang.String filename, SbBox3f size, SbVec3i32 dimension, SoDataSet.DataTypes dataType, SoConverterParameters parameters)
Initializes the writer to build a volume filename with the specified dimensions, size and data type. -
Uses of SbBox3f in com.openinventor.ldm.nodes
Methods in com.openinventor.ldm.nodes that return SbBox3f Modifier and Type Method Description SbBox3f
SoDataSet. voxelToXYZ(SbBox3f box)
Converts the specified box in voxel coordinates (I,J,K) to geometric coordinates (X,Y,Z).SbBox3f
SoDataSet. XYZToVoxel(SbBox3f xyzBox)
Converts the specified box in geometric coordinates to voxel coordinates.Methods in com.openinventor.ldm.nodes with parameters of type SbBox3f Modifier and Type Method Description SbBox3f
SoDataSet. voxelToXYZ(SbBox3f box)
Converts the specified box in voxel coordinates (I,J,K) to geometric coordinates (X,Y,Z).SbBox3f
SoDataSet. XYZToVoxel(SbBox3f xyzBox)
Converts the specified box in geometric coordinates to voxel coordinates. -
Uses of SbBox3f in com.openinventor.ldm.readers
Fields in com.openinventor.ldm.readers declared as SbBox3f Modifier and Type Field Description SbBox3f
SoVolumeReader.DataInfo. size
Methods in com.openinventor.ldm.readers that return SbBox3f Modifier and Type Method Description SbBox3f
SoLDMReader. getBbox(int fileId)
Returns the bounding box of the data associated with the specified file ID.SbBox3f
SoLDMReader. getSize()
Returns the bounding box of the total data in world coordinates. -
Uses of SbBox3f in com.openinventor.medical.helpers
Methods in com.openinventor.medical.helpers that return SbBox3f Modifier and Type Method Description static SbBox3f
MedicalHelper. getBoundingBox(SoNode node)
Convenience function to retrieve the bounding box of the specified node.Methods in com.openinventor.medical.helpers with parameters of type SbBox3f Modifier and Type Method Description static SoSeparator
MedicalHelper. createBoundingBox(SbBox3f bbox, SbColor color)
Convenience function to draw a specified bounding box as a wireframestatic SoSeparator
MedicalHelper. createCube(SbBox3f bbox)
Convenience function to retrieve the cube corresponding to the specified bounding box. -
Uses of SbBox3f in com.openinventor.meshviz.data
Fields in com.openinventor.meshviz.data declared as SbBox3f Modifier and Type Field Description SbBox3f
PbMesh.CellBox. bbox
Methods in com.openinventor.meshviz.data that return SbBox3f Modifier and Type Method Description SbBox3f
PbCell. getBoundingBox()
Gets the cell's bounding box.SbBox3f
PbMesh. getBoundingBox()
Gets the bounding box of the mesh. -
Uses of SbBox3f in com.openinventor.meshviz.graph
Methods in com.openinventor.meshviz.graph that return SbBox3f Modifier and Type Method Description SbBox3f
PbDomain. get3DDomain()
Gets the 3D domain.Methods in com.openinventor.meshviz.graph with parameters of type SbBox3f Modifier and Type Method Description void
PbDomain. setDomain(SbBox3f box)
Calls setDomain(box, PbDomain.BoundingBoxTypes.valueOf( PbDomain.BoundingBoxTypes.AS_IS.getValue() )).void
PbDomain. setDomain(SbBox3f box, PbDomain.BoundingBoxTypes type)
Sets a 3D domain.Constructors in com.openinventor.meshviz.graph with parameters of type SbBox3f Constructor Description PbDomain(SbBox3f box)
Calls PbDomain(box, PbDomain.BoundingBoxTypes.valueOf( PbDomain.BoundingBoxTypes.AS_IS.getValue() )).PbDomain(SbBox3f box, PbDomain.BoundingBoxTypes type)
Constructor of a 3D domain. -
Uses of SbBox3f in com.openinventor.volumeviz.readers
Methods in com.openinventor.volumeviz.readers with parameters of type SbBox3f Modifier and Type Method Description void
SoVRGenericFileReader. setDataChar(SbBox3f size, SoDataSet.DataTypes type, SbVec3i32 dim)
Calls setDataChar(size, type, dim, (int)0).void
SoVRGenericFileReader. setDataChar(SbBox3f size, SoDataSet.DataTypes type, SbVec3i32 dim, int headerSize)
Since the format is raw data, it is necessary to specify the dimension and data size of the volume.void
SoVRMemoryReader. setProperties(SbBox3f size, SoDataSet.DataTypes type, SbVec3i32 dim, SoBufferObject internalData, int sigBits)
Sets properties of the reader.void
SoVRMemoryReader. setProperties(SbBox3f size, SoDataSet.DataTypes type, SbVec3i32 dim, SbVec2i32 padding, SoBufferObject internalData, int sigBits)
Sets properties of the reader.void
SoVRMemoryReader. setProperties(SbBox3f size, SoDataSet.DataTypes type, SbVec3s dim, SoBufferObject internalData)
Calls setProperties(size, type, dim, internalData, (int)0).void
SoVRMemoryReader. setProperties(SbBox3f size, SoDataSet.DataTypes type, SbVec3s dim, SoBufferObject internalData, int sigBits)
Sets properties of the reader.void
SoVRRasterStackReader. setSize(SbBox3f size)
Defines the bounding box size in physical units of the data set.
-