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 class
Box3D
Box in R3 with base point and three orthogonal axis vectors (denoted by S, T, and R, respectively).class
Cube3D
Represents a 3 dimensional cube object, using a Point3f, two Vector3f's and a float.class
Graph3D
Represents a graph as a 3D geometric shape.class
Grid3D
Holds a 3D array of values and a Box3D defining the distribution of these values in R3.class
LineSegment3D
Represents a line segment in R3.class
Mesh3D
Geometry class to represent a 3D triangular mesh.class
Plane3D
Represents a plane in 3 dimensions, using a Point3d and a Vector3d (normal)class
PointSet3D
Represents a set of 3D points.class
Polygon3D
Geometry class for a polygon in R3.class
Rect3D
Represents a 3D rectangle shape, defined by four 3D nodes representing BL, BR, TR, TL corners, respectively.class
Sphere3D
Represents a sphere in R3.class
Triangle3D
Represents a 3D triangle.class
Vector3D
Represents 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 boolean
GeometryFunctions. crossesPlane(Shape3D b, Plane3D p)
Determines whether planep
crosses boxb
.static int
GeometryFunctions. getClosestVertex(Shape3D shape, org.jogamp.vecmath.Point3f point)
Returns the vertex ofshape
which is closest topoint
.static org.jogamp.vecmath.Point3f
GeometryFunctions. getGeometricCenter(Shape3D shape)
Returns the geometric center of this list of points, which is the center of its bounding box.static org.jogamp.vecmath.Point3f
GeometryFunctions. getMaxPt(Shape3D shape)
Determines a maximum point max_x, max_y, max_z fromshape
.static org.jogamp.vecmath.Point3f
GeometryFunctions. getMinPt(Shape3D shape)
Determines a minimum point min_x, min_y, min_z fromshape
.static boolean
GeometryFunctions. isInPlane(Shape3D s, Plane3D p)
Determines whether shape s lies in plane pstatic void
GeometryFunctions. rotate(Shape3D shape, org.jogamp.vecmath.Point3d base_point, org.jogamp.vecmath.Vector3d axis, double angle)
Rotates this shape about a base pointbase_point
and an axisaxis
byangle
radians.static void
GeometryFunctions. rotate(Shape3D shape, org.jogamp.vecmath.Point3f base_point, org.jogamp.vecmath.Vector3f axis, double angle)
Rotates this shape about a base pointbase_point
and an axisaxis
byangle
radians.static void
GeometryFunctions. translate(Shape3D shape, double x, double y, double z)
Translatesshape
by the specified x, y, and z distances.static void
GeometryFunctions. translate(Shape3D shape, org.jogamp.vecmath.Vector3d v)
Translatesshape
by the specified vector. -
Uses of Shape3D in mgui.interfaces.shapes
Fields in mgui.interfaces.shapes declared as Shape3D Modifier and Type Field Description Shape3D
Shape3DInt. shape3d
Methods in mgui.interfaces.shapes that return Shape3D Modifier and Type Method Description Shape3D
Shape3DInt. 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 void
Graph3DInt. 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 Shape3D
ShapeFunctions. transformWithMatrix(Shape3D shape_in, org.jogamp.vecmath.Matrix4d matrix, ProgressUpdater progress)
Transformshape_in
withmatrix
and returns the result.protected static Shape3D
ShapeFunctions. transformWithMatrixBlocking(Shape3D shape_in, org.jogamp.vecmath.Matrix4d matrix, ProgressUpdater progress)
Transformshape_in
withmatrix
and returns the result.Methods in mgui.interfaces.shapes.util with parameters of type Shape3D Modifier and Type Method Description protected boolean
ShapeEngine. rotateShapeYPR(Shape3D shape)
static Shape3D
ShapeFunctions. transformWithMatrix(Shape3D shape_in, org.jogamp.vecmath.Matrix4d matrix, ProgressUpdater progress)
Transformshape_in
withmatrix
and returns the result.protected static Shape3D
ShapeFunctions. transformWithMatrixBlocking(Shape3D shape_in, org.jogamp.vecmath.Matrix4d matrix, ProgressUpdater progress)
Transformshape_in
withmatrix
and returns the result.protected boolean
ShapeEngine. translateShape(Shape3D shape)