Uses of Class
org.scilab.forge.scirenderer.tranformations.Vector3d
-
-
Uses of Vector3d in org.scilab.forge.scirenderer
Methods in org.scilab.forge.scirenderer with parameters of type Vector3d Modifier and Type Method Description void
DrawingTools. draw(Texture texture, AnchorPosition anchor, Vector3d position)
Draw the given texture at given position.void
DrawingTools. draw(Texture texture, AnchorPosition anchor, Vector3d position, double rotationAngle)
Draw the given texture at given position with the given rotation angle. -
Uses of Vector3d in org.scilab.forge.scirenderer.implementation.g2d
Methods in org.scilab.forge.scirenderer.implementation.g2d with parameters of type Vector3d Modifier and Type Method Description void
G2DDrawingTools. draw(Texture texture, AnchorPosition anchor, Vector3d position)
void
G2DDrawingTools. draw(Texture texture, AnchorPosition anchor, Vector3d position, double rotationAngle)
-
Uses of Vector3d in org.scilab.forge.scirenderer.implementation.g2d.motor
Fields in org.scilab.forge.scirenderer.implementation.g2d.motor declared as Vector3d Modifier and Type Field Description protected Vector3d
AbstractDrawable3DObject. normal
protected Vector3d
AbstractDrawable3DObject. v0
protected Vector3d
AbstractDrawable3DObject. v0v1
protected Vector3d
AbstractDrawable3DObject. v1
protected Vector3d[]
AbstractDrawable3DObject. vertices
Methods in org.scilab.forge.scirenderer.implementation.g2d.motor that return Vector3d Modifier and Type Method Description Vector3d
AbstractDrawable3DObject. getNormal()
Get the normal vector.Vector3d
AbstractDrawable3DObject. getProvidedNormal()
Get the normal vector.Methods in org.scilab.forge.scirenderer.implementation.g2d.motor with parameters of type Vector3d Modifier and Type Method Description java.util.List<Segment>
Segment. breakObject(Vector3d p, Vector3d u, Vector3d n)
protected static java.util.List<ConvexObject>
Triangle. breakTriangleOnLine(Triangle t, Vector3d p, Vector3d n)
Break a triangle according to its intersection with a line containing p in the plane of the triangle and orthogonal to n The triangle and the line are supposed to be coplanar.protected int
ConvexObject. check(ConvexObject o, Vector3d v)
Check the intersection this and o against vector v.void
Motor3D. draw(DrawingTools drawingTools, Texture texture, AnchorPosition anchor, Vector3d position, double rotationAngle)
static double
Segment. getLength(Vector3d[] vertices)
int
AbstractDrawable3DObject. isBehind(Vector3d v, double a)
static boolean
AbstractDrawable3DObject. isBehind(Vector3d M, Vector3d v, double a)
static boolean
AbstractDrawable3DObject. isNanOrInf(Vector3d v)
protected boolean
Triangle. isPointInside(Vector3d v)
protected boolean
Triangle. isPointInside(Vector3d v, boolean checkCoplanarity)
protected static double[]
AbstractDrawable3DObject. minmax3D(AbstractDrawable3DObject o, Vector3d v)
Get min-max of the projections of the vertices of o on vboolean
Triangle. pointOnVertices(Vector3d p)
Constructors in org.scilab.forge.scirenderer.implementation.g2d.motor with parameters of type Vector3d Constructor Description AbstractDrawable3DObject(Vector3d[] vertices, java.awt.Color[] colors)
Default constructorConvexObject(Vector3d[] vertices, java.awt.Color[] colors)
Default constructorSegment(Vector3d[] vertices, java.awt.Color[] colors)
Segment(Vector3d[] vertices, java.awt.Color[] colors, java.awt.Stroke stroke)
SpritedRectangle(Vector3d vertex, Texture sprite, AnchorPosition anchor, G2DTextureDrawingTools drawingTools, double rotationAngle)
SpritedRectangle(Vector3d vertex, Transformation transf, java.awt.image.BufferedImage image, Texture.Filter filter)
Triangle(Vector3d[] vertices, java.awt.Color[] colors)
Triangle(Vector3d[] vertices, java.awt.Color[] colors, Vector3d normal)
Triangle(Vector3d[] vertices, Vector3d[] textureCoords, java.awt.image.BufferedImage image, Texture.Filter filter)
-
Uses of Vector3d in org.scilab.forge.scirenderer.implementation.jogl
Methods in org.scilab.forge.scirenderer.implementation.jogl with parameters of type Vector3d Modifier and Type Method Description void
JoGLDrawingTools. draw(Texture texture, AnchorPosition anchor, Vector3d position)
void
JoGLDrawingTools. draw(Texture texture, AnchorPosition anchor, Vector3d position, double rotationAngle)
-
Uses of Vector3d in org.scilab.forge.scirenderer.implementation.jogl.lightning
Methods in org.scilab.forge.scirenderer.implementation.jogl.lightning that return Vector3d Modifier and Type Method Description Vector3d
JoGLLight. getPosition()
Vector3d
JoGLLight. getSpotDirection()
Methods in org.scilab.forge.scirenderer.implementation.jogl.lightning with parameters of type Vector3d Modifier and Type Method Description void
JoGLLight. setPosition(Vector3d position)
void
JoGLLight. setSpotDirection(Vector3d spotDirection)
-
Uses of Vector3d in org.scilab.forge.scirenderer.implementation.jogl.picking
Methods in org.scilab.forge.scirenderer.implementation.jogl.picking that return Vector3d Modifier and Type Method Description Vector3d
JoGLPickingTools. getUnderlyingPoint(java.awt.Point windowPosition)
-
Uses of Vector3d in org.scilab.forge.scirenderer.implementation.jogl.texture
Methods in org.scilab.forge.scirenderer.implementation.jogl.texture with parameters of type Vector3d Modifier and Type Method Description void
JoGLTextureManager. draw(JoGLDrawingTools drawingTools, Texture texture, AnchorPosition anchor, Vector3d position, double rotationAngle)
void
JoGLTextureManager.JoGLTexture. draw(JoGLDrawingTools drawingTools, AnchorPosition anchor, Vector3d position, double rotationAngle)
-
Uses of Vector3d in org.scilab.forge.scirenderer.lightning
Methods in org.scilab.forge.scirenderer.lightning that return Vector3d Modifier and Type Method Description Vector3d
Light. getPosition()
Return the light position.Vector3d
Light. getSpotDirection()
Return the spot direction.Methods in org.scilab.forge.scirenderer.lightning with parameters of type Vector3d Modifier and Type Method Description void
Light. setPosition(Vector3d position)
Set the light position.void
Light. setSpotDirection(Vector3d spotDirection)
Set the spot direction. -
Uses of Vector3d in org.scilab.forge.scirenderer.picking
Methods in org.scilab.forge.scirenderer.picking that return Vector3d Modifier and Type Method Description Vector3d
PickingTools. getUnderlyingPoint(java.awt.Point windowPosition)
Return the scene coordinate of the pixel under the given windows position. -
Uses of Vector3d in org.scilab.forge.scirenderer.ruler
Fields in org.scilab.forge.scirenderer.ruler declared as Vector3d Modifier and Type Field Description static Vector3d
RulerModel. DEFAULT_FIRST_POINT
Default first point position.static Vector3d
RulerModel. DEFAULT_SECOND_POINT
Default second point position.static Vector3d
RulerModel. DEFAULT_TICKS_DIRECTION
Default ticks direction.Methods in org.scilab.forge.scirenderer.ruler that return Vector3d Modifier and Type Method Description Vector3d
DefaultRulerModel. getFirstPoint()
Vector3d
RulerModel. getFirstPoint()
First point getter.Vector3d
RulerDrawingResult. getNormalizedTicksDirection()
Normalized projected ticks direction getter.Vector3d
DefaultRulerModel. getPosition(double value)
Vector3d
RulerModel. getPosition(double value)
Return the position corresponding to the given value.Vector3d
DefaultRulerModel. getSecondPoint()
Vector3d
RulerModel. getSecondPoint()
Second point getter.Vector3d
DefaultRulerModel. getTicksDirection()
Vector3d
RulerModel. getTicksDirection()
Ticks direction getter.Methods in org.scilab.forge.scirenderer.ruler with parameters of type Vector3d Modifier and Type Method Description void
DefaultRulerModel. setFirstPoint(Vector3d firstPoint)
First point setter.void
DefaultRulerModel. setPoints(Vector3d firstPoint, Vector3d secondPoint)
Point setter.void
DefaultRulerModel. setSecondPoint(Vector3d secondPoint)
Second point setter.void
DefaultRulerModel. setTicksDirection(Vector3d ticksDirection)
Ticks direction setter. -
Uses of Vector3d in org.scilab.forge.scirenderer.tranformations
Methods in org.scilab.forge.scirenderer.tranformations that return Vector3d Modifier and Type Method Description Vector3d
Vector3f. asDouble()
Vector3d
Rotation. conjugate(Vector3d v)
Vector3d
Rotation. conjugateInverse(Vector3d v)
static Vector3d
Vector3d. getBarycenter(Vector3d v0, Vector3d v1, double w0, double w1)
Vector3d
Vector3d. getNormalized()
Vector3d
Rotation. getVectorY()
Vector3d
Vector3d. minus(Vector3d v)
Vector3d
Vector3d. plus(Vector3d v)
static Vector3d
Vector3d. product(Vector3d v1, Vector3d v2)
Create a new vector cross-product of the given vectors.Vector3d
Transformation. project(Vector3d vector)
Project the given vector.Vector3d
Transformation. projectDirection(Vector3d direction)
Project the given direction.Vector3d
Vector3d. setX(double x)
Create a new vector, copy of this one, with a new X value.Vector3d
Vector3d. setY(double y)
Create a new vector, copy of this one, with a new Y value.Vector3d
Vector3d. setZ(double z)
Create a new vector, copy of this one, with a new Z value.Vector3d
Vector3d. times(double d)
Vector3d
Transformation. unproject(Vector3d vector)
Unproject the given vector.Methods in org.scilab.forge.scirenderer.tranformations with parameters of type Vector3d Modifier and Type Method Description Vector3d
Rotation. conjugate(Vector3d v)
Vector3d
Rotation. conjugateInverse(Vector3d v)
static double
Vector3d. det(Vector3d v0, Vector3d v1, Vector3d v2)
static Transformation
TransformationFactory. getAffineTransformation(Vector3d s, Vector3d t)
Return an affine transformation aX + bstatic Vector3d
Vector3d. getBarycenter(Vector3d v0, Vector3d v1, double w0, double w1)
static Rotation
Rotation. getDegreeRotation(double alpha, Vector3d v)
Get a rotation from an angle alpha given in degree and an axis vVector3d
Vector3d. minus(Vector3d v)
Vector3d
Vector3d. plus(Vector3d v)
static Vector3d
Vector3d. product(Vector3d v1, Vector3d v2)
Create a new vector cross-product of the given vectors.Vector3d
Transformation. project(Vector3d vector)
Project the given vector.Vector3d
Transformation. projectDirection(Vector3d direction)
Project the given direction.double
Vector3d. scalar(Vector3d v)
Vector3d
Transformation. unproject(Vector3d vector)
Unproject the given vector.Constructors in org.scilab.forge.scirenderer.tranformations with parameters of type Vector3d Constructor Description Rotation(double alpha, Vector3d v)
The created object represent a rotation of an angle of 'alpha' radians along the vector 'v'.Vector3d(Vector3d v)
-