Uses of Class
mgui.geometry.Plane3D
Package | Description |
---|---|
mgui.geometry |
Provides 2D and 3D geometry representations and utilities for all shapes used in ModelGUI.
|
mgui.geometry.mesh |
Provides classes representing and operating on 3D mesh shapes.
|
mgui.geometry.neuro.mesh | |
mgui.geometry.util |
Uility classes for geometric operations.
|
mgui.geometry.volume |
Provides classes for representing and operating on 3D volume shapes.
|
mgui.interfaces.graphics |
Provides graphical windows for user interaction with model objects.
|
mgui.interfaces.graphs.layouts |
Specifies layouts for 2D and 3D graph rendering.
|
mgui.interfaces.shapes |
This package provides interfaces for user interaction with shapes and shape models.
|
mgui.interfaces.shapes.graphs | |
mgui.interfaces.shapes.graphs.util | |
mgui.interfaces.shapes.neuro | |
mgui.interfaces.shapes.util | |
mgui.interfaces.tools.shapes |
-
Uses of Plane3D in mgui.geometry
Methods in mgui.geometry that return Plane3D Modifier and Type Method Description Plane3D
Triangle3D. getPlane()
static Plane3D
Plane3D. getPlaneFromNormalAndY(org.jogamp.vecmath.Point3f x0, org.jogamp.vecmath.Vector3f normal)
Return a plane containing pointx0
, having normalnormal
, and having a Y axis which is (0, 1, 0) projected onto the plane.static Plane3D
Plane3D. getPlaneFromNormalAndY(org.jogamp.vecmath.Point3f x0, org.jogamp.vecmath.Vector3f normal, org.jogamp.vecmath.Vector3f Y)
Return a plane containing pointx0
, having normalnormal
, and having a Y axis which isY
projected onto the plane.Constructors in mgui.geometry with parameters of type Plane3D Constructor Description Plane3D(Plane3D plane)
-
Uses of Plane3D in mgui.geometry.mesh
Methods in mgui.geometry.mesh with parameters of type Plane3D Modifier and Type Method Description static java.util.ArrayList<Mesh3D>
MeshFunctions. cutMeshWithPlane(Mesh3D mesh, Plane3D plane, InterfaceProgressBar progress_bar)
Cutsmesh
withplane
, creating new faces along the cut seam.static java.util.ArrayList<Mesh3D>
MeshFunctions. cutMeshWithPlane3(Mesh3D mesh, Plane3D plane)
Cutsmesh
withplane
, creating new faces along the cut seam.static java.util.ArrayList<MguiNumber>
MeshFunctions. maskMeshWithPlane(Mesh3D mesh, Plane3D plane, double above_val, double below_val)
static java.util.ArrayList<MguiNumber>
MeshFunctions. maskMeshWithPlane(Mesh3D mesh, Plane3D plane, double above_val, double below_val, double contained_val)
static java.util.ArrayList<MguiNumber>
MeshFunctions. maskMeshWithPlane(Mesh3D mesh, Plane3D plane, double above_val, double below_val, double contained_val, VertexSelection selection)
Masks a mesh with a plane.static java.util.ArrayList<MguiNumber>
MeshFunctions. splitRoiWithPlane(Mesh3D mesh, Plane3D plane, java.util.ArrayList<MguiNumber> rois, int roi, int new_roi, ProgressUpdater progress)
Splits the ROI defined byroi
into two parts, on either side ofplane
. -
Uses of Plane3D in mgui.geometry.neuro.mesh
Fields in mgui.geometry.neuro.mesh declared as Plane3D Modifier and Type Field Description Plane3D
ScalpAndSkullModelOptions. ear_nasium_plane
-
Uses of Plane3D in mgui.geometry.util
Methods in mgui.geometry.util that return Plane3D Modifier and Type Method Description Plane3D
GeometryFunctions. getOrthogonalPlane(Plane3D plane, LineSegment3D line)
Returns a plane which is orthogonal toplane
, with a y-axis defined byline
.static Plane3D
GeometryFunctions. getOrthogonalRegressionPlane(java.util.ArrayList<org.jogamp.vecmath.Point3f> points)
Calculates and returns the orthogonal distance regression ("best-fit") plane for a set of points in R3.static Plane3D
GeometryFunctions. getPlane(Triangle3D tri)
Returns a plane containingtri
.Methods in mgui.geometry.util with parameters of type Plane3D Modifier and Type Method Description static int
GeometryFunctions. compareToPlane(org.jogamp.vecmath.Point3d pt, Plane3D plane)
Determines the position ofpt
with respect toplane
.static int
GeometryFunctions. compareToPlane(org.jogamp.vecmath.Point3f pt, Plane3D plane)
Determines the position ofpt
with respect toplane
.static boolean
GeometryFunctions. crossesPlane(Shape3D b, Plane3D p)
Determines whether planep
crosses boxb
.static double
GeometryFunctions. getDistance(org.jogamp.vecmath.Point3d pt, Plane3D plane)
Calculates the distance frompt
toplane
, signed with respect to its normal.static float
GeometryFunctions. getDistance(org.jogamp.vecmath.Point3f pt, Plane3D plane)
Calculates the absolute distance frompt
toplane
static org.jogamp.vecmath.Point2f[]
GeometryFunctions. getIntersectionEdge(Triangle3D tri, Plane3D p)
Returns the edge of intersection for triangle tri with plane p.static int[]
GeometryFunctions. getIntersectionEdge(Triangle3D tri, Plane3D p, org.jogamp.vecmath.Point2f[] edge)
Sets the edge of intersection for triangle tri with plane p.static double
GeometryFunctions. getIntersectionEdgeRatio(org.jogamp.vecmath.Point3d pt1, org.jogamp.vecmath.Point3d pt2, Plane3D plane)
Determines the ratio along the line segmentpt1-pt2
at which it intersectsplane
.static float
GeometryFunctions. getIntersectionEdgeRatio(org.jogamp.vecmath.Point3f pt1, org.jogamp.vecmath.Point3f pt2, Plane3D plane)
Determines the ratio along the line segmentpt1-pt2
at which it intersectsplane
.static float
GeometryFunctions. getIntersectionEdgeRatio(org.jogamp.vecmath.Point3f pt, org.jogamp.vecmath.Vector3f v, Plane3D p)
static Vector2D
GeometryFunctions. getIntersectionLine(Plane3D plane1, Plane3D plane2)
Determines the line of intersection between two planes, and returns the result in the 2D coordinate system ofplane2
.static org.jogamp.vecmath.Point2d
GeometryFunctions. getIntersectionPoint(org.jogamp.vecmath.Point3d p1, org.jogamp.vecmath.Point3d p2, Plane3D plane)
Determine the point at which the line segment described byp1
andp2
intersectsplane
.static org.jogamp.vecmath.Point2d
GeometryFunctions. getIntersectionPoint(org.jogamp.vecmath.Point3d pt, org.jogamp.vecmath.Vector3d v, Plane3D p)
Determine the point at which the line segment described by pt and v intersects plane p.static org.jogamp.vecmath.Point2f
GeometryFunctions. getIntersectionPoint(org.jogamp.vecmath.Point3f p1, org.jogamp.vecmath.Point3f p2, Plane3D plane)
Determine the point at which the line segment described byp1
andp2
intersectsplane
.static org.jogamp.vecmath.Point2f
GeometryFunctions. getIntersectionPoint(org.jogamp.vecmath.Point3f pt, org.jogamp.vecmath.Vector3f vector, Plane3D plane)
Determine the point at which the line segment described by pt and v intersects plane p.static org.jogamp.vecmath.Point3d
GeometryFunctions. getIntersectionPoint3D(org.jogamp.vecmath.Point3d pt1, org.jogamp.vecmath.Point3d pt2, Plane3D plane)
Returns point at which the line segmentpt1
-pt2
intersectsplane
.static org.jogamp.vecmath.Point3f
GeometryFunctions. getIntersectionPoint3D(org.jogamp.vecmath.Point3f pt1, org.jogamp.vecmath.Point3f pt2, Plane3D plane)
Returns point at which the line segmentpt1
-pt2
intersectsplane
.static org.jogamp.vecmath.Point3f
GeometryFunctions. getIntersectionPoint3D(org.jogamp.vecmath.Point3f pt, org.jogamp.vecmath.Vector3f v, Plane3D plane)
Returns point at which the line segment defined bypt1
andv
intersectsplane
.static org.jogamp.vecmath.Point3f[]
GeometryFunctions. getIntersectionPoints(Triangle3D tri, Plane3D plane)
Determines the points at whichtri
intersectsplane
.static org.jogamp.vecmath.Point3f[]
GeometryFunctions. getIntersectionPoints(Triangle3D tri, Plane3D plane, boolean include_kiss)
Determines the points at whichtri
intersectsplane
.static java.util.ArrayList<java.lang.Integer>
GeometryFunctions. getNodesInsideProjectionLimits(java.util.ArrayList<org.jogamp.vecmath.Point3f> nodes, Plane3D plane, float above_limit, float below_limit)
Determines which points innodes
lie within the projection limits specified byplane
,above_limit
, andbelow_limit
.Plane3D
GeometryFunctions. getOrthogonalPlane(Plane3D plane, LineSegment3D line)
Returns a plane which is orthogonal toplane
, with a y-axis defined byline
.static org.jogamp.vecmath.Point3f
GeometryFunctions. getPointFromPlane(org.jogamp.vecmath.Point2f point, Plane3D plane)
Return a 3D Cartesian coordinate for the specified 2D point in a plane parallel toplane
.static org.jogamp.vecmath.Point3f
GeometryFunctions. getPointFromSection(Plane3D refPlane, float dist, org.jogamp.vecmath.Point2f point)
Return a 3D Cartesian coordinate for the specified 2D point in a plane parallel to refPlane, and separated from it byalong its normal vector. static org.jogamp.vecmath.Point3f
GeometryFunctions. getPointFromSection(org.jogamp.vecmath.Point2f point, Plane3D plane)
Deprecated.Use getPointFromPlanestatic java.util.ArrayList<org.jogamp.vecmath.Point3f>
GeometryFunctions. getPointsFromPlane(java.util.ArrayList<org.jogamp.vecmath.Point2f> points, Plane3D plane)
Return a set of 3D Cartesian coordinates for the specified 2D points in a plane parallel toplane
.static Polygon3D
GeometryFunctions. getPolygonFromPlane(Polygon2D poly2d, Plane3D plane)
Returns a 3D polygon which is the representation of a 2D polygon expressed on the given plane.static org.jogamp.vecmath.Point2d
GeometryFunctions. getProjectedPoint(org.jogamp.vecmath.Point3d pt, Plane3D plane)
Project pointpt
onto planeplane
, alongplane
's normal vector.static org.jogamp.vecmath.Point2f
GeometryFunctions. getProjectedPoint(org.jogamp.vecmath.Point3f pt, Plane3D plane)
Project pointpt
onto planeplane
, alongplane
's normal vector.static org.jogamp.vecmath.Point2f
GeometryFunctions. getProjectedPoint(org.jogamp.vecmath.Point3f pt, org.jogamp.vecmath.Vector3f proj, Plane3D plane)
Project pointpt
onto planeplane
, alongplane
's normal vector.static org.jogamp.vecmath.Point3f
GeometryFunctions. getProjectedPoint3D(org.jogamp.vecmath.Point3f pt, Plane3D plane)
Project pointpt
onto planeplane
, alongplane
's normal vector.static org.jogamp.vecmath.Point3f
GeometryFunctions. getProjectedPoint3D(org.jogamp.vecmath.Point3f pt, org.jogamp.vecmath.Vector3f v, Plane3D plane)
Project pointpt
onto planeplane
, along vectorv
.static java.util.ArrayList<org.jogamp.vecmath.Point2f>
GeometryFunctions. getProjectedToPlane(java.util.ArrayList<org.jogamp.vecmath.Point3f> nodes, Plane3D plane)
Projectsnodes
ontoplane
and returns the 2D points.static Triangle2D
GeometryFunctions. getProjectedToPlane(Triangle3D tri, Plane3D plane)
Projectstri
ontoplane
and returns the 2D triangle.static org.jogamp.vecmath.Vector2f
GeometryFunctions. getProjectedToPlane2D(org.jogamp.vecmath.Vector3f vector, Plane3D plane)
Projectsvector
onto planeplane
along its normal.static org.jogamp.vecmath.Vector2f
GeometryFunctions. getProjectedToPlane2D(org.jogamp.vecmath.Vector3f vector, org.jogamp.vecmath.Vector3f proj, Plane3D plane)
Projectsvector
onto planeplane
along its normal.static double
GeometryFunctions. getSignedDistance(org.jogamp.vecmath.Point3d pt, Plane3D plane)
Determines distance from pointpt
to planeplane
.static float
GeometryFunctions. getSignedDistance(org.jogamp.vecmath.Point3f pt, Plane3D plane)
Determines distance from pointpt
to planeplane
.static java.util.ArrayList<org.jogamp.vecmath.Point3f>
GeometryFunctions. getVerticesFromSection(java.util.ArrayList<org.jogamp.vecmath.Point2f> vertices, Plane3D plane)
static boolean
GeometryFunctions. intersects(Triangle3D tri, Plane3D plane)
Determines whether triangle intersects planestatic boolean
GeometryFunctions. isAbovePlane(org.jogamp.vecmath.Point3f pt, Plane3D p)
Deprecated.use compareToPlanestatic boolean
GeometryFunctions. isInPlane(Shape3D s, Plane3D p)
Determines whether shape s lies in plane pstatic boolean
GeometryFunctions. isInPlane(org.jogamp.vecmath.Point3d pt, Plane3D plane)
Determines whether pointpt
lies inplane
static boolean
GeometryFunctions. isInPlane(org.jogamp.vecmath.Point3d pt, org.jogamp.vecmath.Vector3d v, Plane3D plane)
Determines whether the given line segment lies inplane
.static boolean
GeometryFunctions. isInPlane(org.jogamp.vecmath.Point3f pt, Plane3D plane)
Determines whether pointpt
lies in planeplane
static boolean
GeometryFunctions. isInPlane(org.jogamp.vecmath.Point3f pt, org.jogamp.vecmath.Vector3f v, Plane3D plane)
Determines whether the given line segment lies inplane
.static boolean
GeometryFunctions. isParallel(Plane3D plane1, Plane3D plane2)
Determines whether the two planes are parallel. -
Uses of Plane3D in mgui.geometry.volume
Methods in mgui.geometry.volume with parameters of type Plane3D Modifier and Type Method Description static Volume2DInt
VolumeFunctions. getIntersectionCompositeImage(Volume3DInt volume, Plane3D plane, boolean setAlpha)
Returns an Volume2DInt object representing the intersection of the given 3D compositevolume
withplane
.static Volume2DInt
VolumeFunctions. getIntersectionImage(Volume3DInt volume, Plane3D plane, boolean setAlpha)
static Volume2DInt
VolumeFunctions. getIntersectionImage(Volume3DInt volume, Plane3D plane, boolean setAlpha, org.jogamp.vecmath.Matrix4d transform)
-
Uses of Plane3D in mgui.interfaces.graphics
Methods in mgui.interfaces.graphics that return Plane3D Modifier and Type Method Description Plane3D
InterfaceGraphic2D. getCurrentPlane()
-
Uses of Plane3D in mgui.interfaces.graphs.layouts
Fields in mgui.interfaces.graphs.layouts declared as Plane3D Modifier and Type Field Description protected Plane3D
CoordinateLayout. projection_plane
Methods in mgui.interfaces.graphs.layouts that return Plane3D Modifier and Type Method Description Plane3D
CoordinateLayout. getProjectionPlane()
Methods in mgui.interfaces.graphs.layouts with parameters of type Plane3D Modifier and Type Method Description protected java.awt.geom.Point2D
CoordinateLayout. getProjectedPoint(org.jogamp.vecmath.Point3f p, Plane3D projection_plane)
void
CoordinateLayout. setProjectionPlane(Plane3D plane)
Constructors in mgui.interfaces.graphs.layouts with parameters of type Plane3D Constructor Description CoordinateLayout(edu.uci.ics.jung.graph.Graph<V,E> graph, Plane3D projection_plane)
-
Uses of Plane3D in mgui.interfaces.shapes
Methods in mgui.interfaces.shapes that return Plane3D Modifier and Type Method Description Plane3D
SectionSet3DInt. getPlaneAt(int section)
Return the plane corresponding to the specified sectionPlane3D
SectionSet3DInt. getRefPlane()
Gets the reference plane (i.e., at index 0) for this section set.Methods in mgui.interfaces.shapes with parameters of type Plane3D Modifier and Type Method Description boolean
SectionSet3DInt. crossesPlane(Plane3D plane)
boolean
Shape3DInt. crossesPlane(Plane3D plane)
Convenience method which determines whether this shape crossplane
.protected void
Shape3DInt. draw2D(Shape2DInt shape2d, java.awt.Graphics2D g, DrawingEngine d, Plane3D p, float above_dist, float below_dist)
void
Shape3DInt. drawShape2D(java.awt.Graphics2D g, DrawingEngine d, Plane3D p, float above_dist, float below_dist)
Draw this shape as it is intersected by plane p, as well as its projection from distances <= spacing / 2, if required.void
Shape3DInt. drawShape2D(java.awt.Graphics2D g, DrawingEngine d, Plane3D p, float above_dist, float below_dist, boolean listen)
Draw this shape as it is intersected by plane p, as well as its projection from distances <= spacing / 2, if required.int
Shape2DInt. getClosestVertex3D(org.jogamp.vecmath.Point2f point, Plane3D plane)
If this shape has a parentShape3DInt
object, this method calls the getClosestVertex method of the parent.protected Shape2DInt
Mesh3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist, org.jogamp.vecmath.Matrix4d transform)
protected Shape2DInt
PointSet3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist, org.jogamp.vecmath.Matrix4d matrix)
protected Shape2DInt
Polygon3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist, org.jogamp.vecmath.Matrix4d transform)
Shape2DInt
SectionSet3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist)
protected Shape2DInt
Shape3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist)
To be overridden by subclasses implementing a 2D representationprotected Shape2DInt
Shape3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist, org.jogamp.vecmath.Matrix4d transform)
To be overridden by subclasses implementing a 2D representationprotected Shape2DInt
ShapeSet3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist, org.jogamp.vecmath.Matrix4d transform)
protected Shape2DInt
Vector3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist, org.jogamp.vecmath.Matrix4d transform)
protected Shape2DInt
VectorSet3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist)
protected Shape2DInt
Volume3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist, org.jogamp.vecmath.Matrix4d transform)
Shape2DInt
SectionSet3DInt. getShape2DInt(Plane3D p, float above_dist, float below_dist, boolean listen)
Shape2DInt
Shape3DInt. getShape2DInt(Plane3D plane, float above_dist, float below_dist)
Shape2DInt
Shape3DInt. getShape2DInt(Plane3D p, float above_dist, float below_dist, boolean listen)
Determines a 2D shape which is the projection of this 3D shape ontoplane
, within the projection limits defined byabove_dist
andbelow_dist
.Shape2DInt
ShapeSet3DInt. getShape2DInt(Plane3D plane, float above_dist, float below_dist, boolean listen)
protected Shape3DInt
Image2DInt. getShape3D(Plane3D plane)
protected Shape3DInt
Rect2DInt. getShape3D(Plane3D plane)
protected Shape3DInt
Shape2DInt. getShape3D(Plane3D plane)
protected Shape3DInt
Volume2DInt. getShape3D(Plane3D plane)
Shape3DInt
Shape2DInt. getShape3DInt(Plane3D plane)
Returns a 3D representation of this shape, assuming it belongs toplane
.Shape3DInt
Shape2DInt. getShape3DInt(Plane3D plane, boolean set_parent)
Returns a 3D representation of this shape, assuming it belongs toplane
.void
SectionSet3DInt. setRefPlane(Plane3D thisPlane)
Sets the reference plane (i.e., at index 0) for this section set.Constructors in mgui.interfaces.shapes with parameters of type Plane3D Constructor Description SectionSet2DInt(SectionSet3DInt parent, Plane3D plane)
SectionSet3DInt(java.lang.String sName, Plane3D refPlane, float spacing)
SectionSet3DInt(java.lang.String sName, Plane3D refPlane, float spacing, double sectWidth)
-
Uses of Plane3D in mgui.interfaces.shapes.graphs
Methods in mgui.interfaces.shapes.graphs with parameters of type Plane3D Modifier and Type Method Description protected Shape2DInt
Graph3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist, org.jogamp.vecmath.Matrix4d transform)
-
Uses of Plane3D in mgui.interfaces.shapes.graphs.util
Fields in mgui.interfaces.shapes.graphs.util declared as Plane3D Modifier and Type Field Description protected Plane3D
Graph2DLayout. projection_plane
Methods in mgui.interfaces.shapes.graphs.util that return Plane3D Modifier and Type Method Description Plane3D
Graph2DLayout. getProjectionPlane()
Methods in mgui.interfaces.shapes.graphs.util with parameters of type Plane3D Modifier and Type Method Description protected java.awt.geom.Point2D
Graph2DLayout. getProjectedPoint(org.jogamp.vecmath.Point3f p, Plane3D projection_plane)
void
Graph2DLayout. setProjectionPlane(Plane3D plane)
Constructors in mgui.interfaces.shapes.graphs.util with parameters of type Plane3D Constructor Description Graph2DLayout(edu.uci.ics.jung.graph.Graph<V,E> graph, Plane3D projection_plane)
-
Uses of Plane3D in mgui.interfaces.shapes.neuro
Methods in mgui.interfaces.shapes.neuro with parameters of type Plane3D Modifier and Type Method Description protected Shape2DInt
CorticalHemisphereSet3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist)
protected Shape2DInt
CorticalSurfaceSet3DInt. getShape2D(Plane3D plane, float above_dist, float below_dist)
-
Uses of Plane3D in mgui.interfaces.shapes.util
Fields in mgui.interfaces.shapes.util declared as Plane3D Modifier and Type Field Description protected Plane3D
Plane3DDialog. current_plane
Plane3D
ClipPlane. plane
Methods in mgui.interfaces.shapes.util that return Plane3D Modifier and Type Method Description Plane3D
Plane3DDialog. getCurrentPlane()
static Plane3D
Plane3DDialog. getPlane3D()
Shows a dialog box to specify a plane.static Plane3D
Plane3DDialog. getPlane3D(Plane3D current_plane)
Shows a dialog box to change the current plane.Methods in mgui.interfaces.shapes.util with parameters of type Plane3D Modifier and Type Method Description static Graph2DInt
ShapeFunctions. getIntersectedGraph(InterfaceAbstractGraph graph3d, java.util.HashMap<AbstractGraphNode,java.lang.Integer> node_map, Plane3D plane, float above_dist, float below_dist)
Returns a Graph2DInt object derived from the plane and 3D graph.static Graph2DInt
ShapeFunctions. getIntersectedGraph(InterfaceAbstractGraph graph3d, java.util.HashMap<AbstractGraphNode,java.lang.Integer> node_map, Plane3D plane, float above_dist, float below_dist, org.jogamp.vecmath.Matrix4d transform)
Returns a Graph2DInt object derived from the plane and 3D graph.static Mesh2DInt
ShapeFunctions. getIntersectionMesh(Mesh3D mesh, Plane3D plane)
Returns a Mesh2DInt object representing the intersection of the given 3D mesh with plane p.static Mesh2DInt
ShapeFunctions. getIntersectionMesh(Mesh3D mesh, Plane3D plane, java.util.ArrayList<MguiNumber> data, ColourMap cmap)
Returns a Mesh2DInt object representing the intersection of the given 3D mesh with plane p.static PointSet2DInt
ShapeFunctions. getIntersectionPointSet(PointSet3D point_set, Plane3D plane, float above_dist, float below_dist, java.util.HashMap<java.lang.String,java.util.ArrayList<MguiNumber>> data, ColourMap cmap)
Returns a PointSet2DInt object representing the points withinspacing
of the planeplane
.static Polygon2D
ShapeFunctions. getIntersectionPolygon(Box3D box, Plane3D plane)
Returns a 2D polygon in section coordinates representing the intersection of a Box3D object with the plane.static Polygon2D
ShapeFunctions. getIntersectionPolygon2(Box3D box, Plane3D plane)
Returns a 2D polygon in section coordinates representing the intersection of a Box3D object with the plane.static Vector2DInt
ShapeFunctions. getIntersectionVector(Vector3DInt v_int, Plane3D plane, float above_dist, float below_dist)
Returns a Vector2DInt object which is the projection ofvector
ontoplane
, if and only if some part ofvector
is within the distance boundary specified byabove_dist
andbelow_dist
.static Vector2DInt
ShapeFunctions. getIntersectionVector(Vector3DInt v_int, Plane3D plane, float above_dist, float below_dist, org.jogamp.vecmath.Matrix4d transform)
Returns a Vector2DInt object which is the projection ofvector
ontoplane
, if and only if some part ofvector
is within the distance boundary specified byabove_dist
andbelow_dist
.static org.jogamp.java3d.ModelClip
ShapeFunctions. getModelClip(Plane3D plane, float up, float down, boolean invert)
Returns the up and down clipping planes for this planestatic Plane3D
Plane3DDialog. getPlane3D(Plane3D current_plane)
Shows a dialog box to change the current plane.static Polygon2DInt
ShapeFunctions. getProjectedPolygon(Polygon3D polygon, Plane3D plane, float above_dist, float below_dist)
Returns a 2D polygon in section coordinates representing the projection ofpolygon
ontoplane
, within the specified clipping distances.static Polygon2DInt
ShapeFunctions. getProjectedPolygon(Polygon3D polygon, Plane3D plane, float above_dist, float below_dist, VertexDataColumn v_column)
Returns a 2D polygon in section coordinates representing the projection ofpolygon
ontoplane
, within the specified clipping distances.static Polygon2DInt
ShapeFunctions. getProjectedPolygon_bak(Polygon3D polygon, Plane3D plane, float above_dist, float below_dist, VertexDataColumn v_column)
Returns a 2D polygon in section coordinates representing the projection ofpolygon
ontoplane
, within the specified clipping distances.static Shape3DInt
ShapeFunctions. getShape3DIntFromSection(Plane3D refPlane, float dist, Shape2DInt shape2D)
static Shape3DInt
ShapeFunctions. getShape3DIntFromSection(Plane3D refPlane, float dist, Shape2DInt shape2D, boolean set_parent)
static ShapeSet3DInt
ShapeFunctions. getShapeSet3DFromSection(Plane3D refPlane, float dist, ShapeSet2DInt shapes, ShapeSelectionSet selSet)
static void
ShapeFunctions. setModelClip(org.jogamp.java3d.ModelClip clip, Plane3D plane, float up, float down, boolean invert)
Setsclip
to match the specified plane and clipping distances.static void
ShapeFunctions. unionMaskVolumeWithPlane(boolean[][][] mask, Volume3DInt volume, Plane3D plane, boolean is_above)
Returns a mask forvolume
which is above or belowplane
.Constructors in mgui.interfaces.shapes.util with parameters of type Plane3D Constructor Description ClipPlane(Plane3D plane, float up_distance, float down_distance)
Plane3DDialog(javax.swing.JFrame frame, Plane3D current_plane)
-
Uses of Plane3D in mgui.interfaces.tools.shapes
Fields in mgui.interfaces.tools.shapes declared as Plane3D Modifier and Type Field Description Plane3D
ToolCutMeshWithPlaneOptions. cut_plane