java.lang.Object
de.grogra.nurbseditor3d.ObjectGeometry3D
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addCurve
(NURBSCurve curve) static void
static void
addSurface
(BSplineSurfaceImpl surface) static void
static Vector3f
calculateDistance
(Point3f a, Point3f b, int yRotation, int zRotation) static boolean
comparePoints
(Point3f a, Point3f b, int yRotation, int zRotation) static NURBSSurface
createNURBSSurface
(BSplineSurfaceImpl bspline) static String
static VertexListImpl
createVertexList
(Point4f[] p) static void
static void
static void
static void
static void
static void
static void
static int
static Point3f[]
static Cone[]
getCones()
static Point4f
getCurveCenter
(NURBSCurve nurbs) static int
static float[]
getCurveData
(NURBSCurve nurbs) static Point4f
getCurvePoint
(NURBSCurve nurbs, int i) static int
getCurveSize
(NURBSCurve nurbs) static float
getCurveWeight
(NURBSCurve curve, int index) static int
static Point3f[]
static Cylinder[]
static int
static Point3f[]
static Frustum[]
static NURBSCurve
getNURBSCurve
(int index) static BSplineSurfaceImpl
getNURBSSurface
(int index) static int
static Point3f[]
static Box[]
getQuads()
static int
static Point3f[]
static Sphere[]
static Point4f
static int
static float[]
getSurfaceData
(BSplineSurfaceImpl nurbs) static Point4f
getSurfacePoint
(BSplineSurfaceImpl nurbs, int i) static int
getSurfaceSize
(BSplineSurfaceImpl nurbs) static float
getSurfaceWeight
(BSplineSurfaceImpl surface, int index) static int
static void
static void
initObject
(String type, Point3f p) static void
static void
isMousePressed
(boolean b) static boolean
isValidRotation
(int yRotation, int zRotation) static void
mouseWheelAction
(Point3f source, int rotation, int yRotation, int zRotation) static void
setCCounter
(int c) static void
setCurveCounter
(int c) static void
setCurveData
(NURBSCurve nurbs, float[] data) static void
setCurvePoint
(NURBSCurve nurbs, Point4f p, int index) static void
setCurveWeight
(NURBSCurve curve, int index, int weight) static void
setCylCounter
(int c) static void
setFCounter
(int c) static void
setQCounter
(int c) static void
setSCounter
(int c) static void
setSurfaceCounter
(int c) static void
setSurfaceData
(BSplineSurfaceImpl nurbs, float[] data) static void
setSurfacePoint
(BSplineSurfaceImpl nurbs, Point4f p, int index) static void
setSurfaceWeight
(BSplineSurfaceImpl surface, int index, int weight) static void
setUCount
(int spline, int c)
-
Constructor Details
-
ObjectGeometry3D
public ObjectGeometry3D()
-
-
Method Details
-
initCurve
public static void initCurve() -
initSurface
public static void initSurface() -
addCurve
-
addSurface
-
deleteCurve
public static void deleteCurve() -
deleteSurface
public static void deleteSurface() -
deleteQuad
public static void deleteQuad() -
deleteCone
public static void deleteCone() -
deleteSphere
public static void deleteSphere() -
deleteCylinder
public static void deleteCylinder() -
deleteFrustum
public static void deleteFrustum() -
addCurvePoint
-
addSurfacePoint
-
getUCount
public static int getUCount() -
setUCount
public static void setUCount(int spline, int c) -
createNURBSSurface
-
getCurveSize
-
getSurfaceSize
-
getCurveCounter
public static int getCurveCounter() -
setCurveCounter
public static void setCurveCounter(int c) -
getSurfaceCounter
public static int getSurfaceCounter() -
setSurfaceCounter
public static void setSurfaceCounter(int c) -
getCurvePoint
-
setCurvePoint
-
getSurfacePoint
-
setSurfacePoint
-
getNURBSCurve
-
getNURBSSurface
-
getCurveCenter
-
getSurfaceCenter
-
createVertexList
-
getCurveData
-
setCurveData
-
getSurfaceData
-
setSurfaceData
-
setCurveWeight
-
getCurveWeight
-
setSurfaceWeight
-
getSurfaceWeight
-
createRGGText
-
isValidRotation
public static boolean isValidRotation(int yRotation, int zRotation) -
comparePoints
-
calculateDistance
-
isMousePressed
public static void isMousePressed(boolean b) -
mouseWheelAction
-
getQuads
-
getCones
-
getSpheres
-
getCylinders
-
getFrustums
-
getQuadCoordinates
-
getConeCoordinates
-
getSphereCoordinates
-
getCylinderCoordinates
-
getFrustumCoordinates
-
getQCounter
public static int getQCounter() -
setQCounter
public static void setQCounter(int c) -
getCCounter
public static int getCCounter() -
setCCounter
public static void setCCounter(int c) -
getSCounter
public static int getSCounter() -
setSCounter
public static void setSCounter(int c) -
getCylCounter
public static int getCylCounter() -
setCylCounter
public static void setCylCounter(int c) -
getFCounter
public static int getFCounter() -
setFCounter
public static void setFCounter(int c) -
initObject
-