|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectapps.dissection.SolutionFinder
public class SolutionFinder
The Class SolutionFinder.
| Constructor Summary | |
|---|---|
SolutionFinder(java.lang.String logName)
Instantiates a new solution finder. |
|
| Method Summary | |
|---|---|
void |
calculateQuadrilateralVertices()
Calculate quadrilateral vertices. |
void |
calculateTriangleVertices()
Calculate triangle vertices. |
void |
checkForShapes()
Check for shapes. |
void |
checkForSolution()
Check for solution. |
boolean |
checkIfAllSolutionsAreFound()
Check if all solutions are found. |
void |
checkTheShape(int id)
Check the shape. |
void |
cursorChanged(ContentItem item,
long id,
float x,
float y,
float pressure)
Cursor changed. |
void |
cursorClicked(ContentItem item,
long id,
float x,
float y,
float pressure)
Cursor clicked. |
void |
cursorDoubleClicked(ContentItem item,
long id,
float x,
float y,
float pressure)
Cursor double clicked. |
void |
cursorLongHeld(ContentItem item,
long id,
float x,
float y,
float pressure)
Cursor long held. |
void |
cursorPressed(ContentItem item,
long id,
float x,
float y,
float pressure)
Cursor pressed. |
void |
cursorReleased(ContentItem item,
long id,
float x,
float y,
float pressure)
Cursor released. |
void |
cursorRightClicked(ContentItem item,
long id,
float x,
float y,
float pressure)
Cursor right clicked. |
java.lang.String[] |
getShapeNames()
Gets the shape names. |
com.jme.scene.TriMesh |
getTt()
Gets the tt. |
void |
setQuadrilVertices(com.jme.math.Vector3f[] quadrilVertices,
com.jme.math.Vector3f vert3)
Sets the quadril vertices. |
void |
setSolutions(DissectionSolution[] sol)
Sets the solutions. |
void |
setTq(com.jme.scene.TriMesh tq)
Sets the tq. |
void |
setTriangleVertices(com.jme.math.Vector3f[] triangleVertices)
Sets the triangle vertices. |
void |
setTt(com.jme.scene.TriMesh tt)
Sets the tt. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SolutionFinder(java.lang.String logName)
logName - the log name| Method Detail |
|---|
public void calculateQuadrilateralVertices()
public void calculateTriangleVertices()
public void checkForShapes()
public void checkForSolution()
public boolean checkIfAllSolutionsAreFound()
public void checkTheShape(int id)
id - the id
public void cursorChanged(ContentItem item,
long id,
float x,
float y,
float pressure)
ItemListener
cursorChanged in interface ItemListeneritem - the itemid - the idx - the xy - the ypressure - the pressure
public void cursorClicked(ContentItem item,
long id,
float x,
float y,
float pressure)
ItemListener
cursorClicked in interface ItemListeneritem - the itemid - the idx - the xy - the ypressure - the pressure
public void cursorDoubleClicked(ContentItem item,
long id,
float x,
float y,
float pressure)
ItemListener
cursorDoubleClicked in interface ItemListeneritem - the itemid - the idx - the xy - the ypressure - the pressure
public void cursorLongHeld(ContentItem item,
long id,
float x,
float y,
float pressure)
ItemListener
cursorLongHeld in interface ItemListeneritem - the itemid - the idx - the xy - the ypressure - the pressure
public void cursorPressed(ContentItem item,
long id,
float x,
float y,
float pressure)
ItemListener
cursorPressed in interface ItemListeneritem - the itemid - the idx - the xy - the ypressure - the pressure
public void cursorReleased(ContentItem item,
long id,
float x,
float y,
float pressure)
ItemListener
cursorReleased in interface ItemListeneritem - the itemid - the idx - the xy - the ypressure - the pressure
public void cursorRightClicked(ContentItem item,
long id,
float x,
float y,
float pressure)
ItemListener
cursorRightClicked in interface ItemListeneritem - the itemid - the idx - the xy - the ypressure - the pressurepublic java.lang.String[] getShapeNames()
public com.jme.scene.TriMesh getTt()
public void setQuadrilVertices(com.jme.math.Vector3f[] quadrilVertices,
com.jme.math.Vector3f vert3)
quadrilVertices - the quadril verticesvert3 - the vert3public void setSolutions(DissectionSolution[] sol)
sol - the new solutionspublic void setTq(com.jme.scene.TriMesh tq)
tq - the new tqpublic void setTriangleVertices(com.jme.math.Vector3f[] triangleVertices)
triangleVertices - the new triangle verticespublic void setTt(com.jme.scene.TriMesh tt)
tt - the new tt
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||