Uses of Class
mgui.geometry.Shape3D
| Package | Description |
|---|---|
| mgui.geometry |
Provides 2D and 3D geometry representations and utilities for all shapes used in ModelGUI.
|
| mgui.geometry.util |
Uility classes for geometric operations.
|
| mgui.interfaces.shapes |
This package provides interfaces for user interaction with shapes and shape models.
|
| mgui.interfaces.shapes.graphs | |
| mgui.interfaces.shapes.util |
-
Uses of Shape3D in mgui.geometry
Subclasses of Shape3D in mgui.geometry Modifier and Type Class Description classBox3DBox in R3 with base point and three orthogonal axis vectors (denoted by S, T, and R, respectively).classCube3DRepresents a 3 dimensional cube object, using a Point3f, two Vector3f's and a float.classGraph3DRepresents a graph as a 3D geometric shape.classGrid3DHolds a 3D array of values and a Box3D defining the distribution of these values in R3.classLineSegment3DRepresents a line segment in R3.classMesh3DGeometry class to represent a 3D triangular mesh.classPlane3DRepresents a plane in 3 dimensions, using a Point3d and a Vector3d (normal)classPointSet3DRepresents a set of 3D points.classPolygon3DGeometry class for a polygon in R3.classRect3DRepresents a 3D rectangle shape, defined by four 3D nodes representing BL, BR, TR, TL corners, respectively.classSphere3DRepresents a sphere in R3.classTriangle3DRepresents a 3D triangle.classVector3DRepresents a 3D vector, defined by an end-point and a vector. -
Uses of Shape3D in mgui.geometry.util
Methods in mgui.geometry.util with parameters of type Shape3D Modifier and Type Method Description static booleanGeometryFunctions. crossesPlane(Shape3D b, Plane3D p)Determines whether planepcrosses boxb.static intGeometryFunctions. getClosestVertex(Shape3D shape, org.jogamp.vecmath.Point3f point)Returns the vertex ofshapewhich is closest topoint.static org.jogamp.vecmath.Point3fGeometryFunctions. getGeometricCenter(Shape3D shape)Returns the geometric center of this list of points, which is the center of its bounding box.static org.jogamp.vecmath.Point3fGeometryFunctions. getMaxPt(Shape3D shape)Determines a maximum point max_x, max_y, max_z fromshape.static org.jogamp.vecmath.Point3fGeometryFunctions. getMinPt(Shape3D shape)Determines a minimum point min_x, min_y, min_z fromshape.static booleanGeometryFunctions. isInPlane(Shape3D s, Plane3D p)Determines whether shape s lies in plane pstatic voidGeometryFunctions. rotate(Shape3D shape, org.jogamp.vecmath.Point3d base_point, org.jogamp.vecmath.Vector3d axis, double angle)Rotates this shape about a base pointbase_pointand an axisaxisbyangleradians.static voidGeometryFunctions. rotate(Shape3D shape, org.jogamp.vecmath.Point3f base_point, org.jogamp.vecmath.Vector3f axis, double angle)Rotates this shape about a base pointbase_pointand an axisaxisbyangleradians.static voidGeometryFunctions. translate(Shape3D shape, double x, double y, double z)Translatesshapeby the specified x, y, and z distances.static voidGeometryFunctions. translate(Shape3D shape, org.jogamp.vecmath.Vector3d v)Translatesshapeby the specified vector. -
Uses of Shape3D in mgui.interfaces.shapes
Fields in mgui.interfaces.shapes declared as Shape3D Modifier and Type Field Description Shape3DShape3DInt. shape3dMethods in mgui.interfaces.shapes that return Shape3D Modifier and Type Method Description Shape3DShape3DInt. getShape() -
Uses of Shape3D in mgui.interfaces.shapes.graphs
Methods in mgui.interfaces.shapes.graphs with parameters of type Shape3D Modifier and Type Method Description voidGraph3DInt. setShape(Shape3D shape) -
Uses of Shape3D in mgui.interfaces.shapes.util
Methods in mgui.interfaces.shapes.util that return Shape3D Modifier and Type Method Description static Shape3DShapeFunctions. transformWithMatrix(Shape3D shape_in, org.jogamp.vecmath.Matrix4d matrix, ProgressUpdater progress)Transformshape_inwithmatrixand returns the result.protected static Shape3DShapeFunctions. transformWithMatrixBlocking(Shape3D shape_in, org.jogamp.vecmath.Matrix4d matrix, ProgressUpdater progress)Transformshape_inwithmatrixand returns the result.Methods in mgui.interfaces.shapes.util with parameters of type Shape3D Modifier and Type Method Description protected booleanShapeEngine. rotateShapeYPR(Shape3D shape)static Shape3DShapeFunctions. transformWithMatrix(Shape3D shape_in, org.jogamp.vecmath.Matrix4d matrix, ProgressUpdater progress)Transformshape_inwithmatrixand returns the result.protected static Shape3DShapeFunctions. transformWithMatrixBlocking(Shape3D shape_in, org.jogamp.vecmath.Matrix4d matrix, ProgressUpdater progress)Transformshape_inwithmatrixand returns the result.protected booleanShapeEngine. translateShape(Shape3D shape)