|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcommandline.ImageStuff.GeometricObject
commandline.ImageStuff.GenericEdge
public class GenericEdge
| Field Summary | |
|---|---|
protected ParametrizedPiercingVertex |
begin
|
protected GenericEdge |
beginChild
|
protected ParametrizedPiercingVertex |
eind
|
protected GenericEdge |
endChild
|
protected boolean |
isRegistered
|
protected Triangle |
leftTriangle
|
protected int[][] |
lijn
|
protected Triangle |
rightTriangle
|
protected State |
state
|
boolean |
test_offset_set
|
| Fields inherited from class commandline.ImageStuff.GeometricObject |
|---|
configuration, DEFAULT_GEOM, locs |
| Constructor Summary | |
|---|---|
GenericEdge(ParametrizedPiercingVertex a,
ParametrizedPiercingVertex b,
Configuration configuration)
|
|
GenericEdge(ParametrizedPiercingVertex a,
ParametrizedPiercingVertex b,
int[][] lijn,
Configuration configuration)
|
|
| Method Summary | |
|---|---|
void |
commit(CommitDataStructure dataStructure)
Mesh Model |
boolean |
containsBothVertices(Vertex a,
Vertex b)
|
boolean |
containtsVertex(Vertex v)
|
void |
disposeLocationSet()
disposes nothing |
ParametrizedPiercingVertex |
doorsnede(GenericEdge andere)
|
float |
fundamentenwaardeOn(Loc loc)
|
int |
getAantalPunten()
|
float |
getArea()
|
ParametrizedPiercingVertex |
getBegin()
|
GenericEdge |
getBeginChild()
|
AbstractTesselation |
getBestEncoderTesselation(SnijPixelStrategy snijPixelStrategy,
ConnectieCriterium connectieCriterium)
geeft de besteTesselatie terug gemaakt door de Tesselator geschikt voor dat object |
java.util.ArrayList<GeometricObject> |
getChildren()
|
GenericEdge |
getEdge(int i)
|
ParametrizedPiercingVertex |
getEind()
|
GenericEdge |
getEindChild()
|
float |
getEuclidischeLengte()
|
float |
getEuclidischeLengtePerPixel()
|
float |
getFunctiewaardeOn(int index)
|
float |
getFunctiewaardeOn(Loc loc)
|
float |
getFundamentenWaardeOn(int index)
|
float |
getHoekInDomain(int index)
|
int |
getHoogte()
|
Triangle |
getLeftTriangle()
|
int |
getLengte()
|
int[][] |
getLijn()
|
Loc |
getLoc(int index)
|
int |
getMiddenIndex()
|
Loc |
getMidLoc()
|
int |
getNbrOfEdges()
|
float |
getNormalisationFactor()
Method that returns the normalisation factor that "normalizes" the vertical offset connected with the edge. |
int |
getNormalOffset()
|
float |
getNormalOffsetDistance()
|
java.util.ArrayList<ParametrizedPiercingVertex> |
getOrderedVertices()
|
Triangle |
getRightTriangle()
|
float |
getShortestDomainDistance(Loc l)
http://www.geometryalgorithms.com/Archive/algorithm_0102/algorithm_0102.htm |
State |
getState()
|
AbstractTesselation |
getTesselation(SnijPixelStrategy snijPixelStrategy,
java.lang.String choise)
|
ParametrizedPiercingVertex |
getVertex(int index)
|
int |
getVerticalOffset()
|
boolean |
hasChildren()
|
boolean |
hasCrossedContour()
this is an heuristic to see if this edge has crossed a contour |
boolean |
hasToBeConsidered()
|
boolean |
isAnEdge()
|
boolean |
isATriangle()
|
boolean |
isFlat()
|
void |
print()
|
void |
setChildren(java.util.ArrayList<GeometricObject> children)
|
void |
setChildren(GenericEdge beginChild,
GenericEdge endChild)
Hierarchical information |
void |
setOffsets(int normalOffset,
int verticalOffset)
Offsets Methods******************************* |
void |
setState(State state)
|
void |
setTriangle(Triangle t)
|
protected void |
VulOp()
|
| Methods inherited from class commandline.ImageStuff.GeometricObject |
|---|
contains, getAllLeaves, getError, getGeometricProperty, getLocs, getSobel, getSobolevError, setGeometricProperty |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int[][] lijn
protected final ParametrizedPiercingVertex begin
protected final ParametrizedPiercingVertex eind
protected Triangle leftTriangle
protected Triangle rightTriangle
protected GenericEdge beginChild
protected GenericEdge endChild
protected boolean isRegistered
public boolean test_offset_set
protected State state
| Constructor Detail |
|---|
public GenericEdge(ParametrizedPiercingVertex a,
ParametrizedPiercingVertex b,
int[][] lijn,
Configuration configuration)
public GenericEdge(ParametrizedPiercingVertex a,
ParametrizedPiercingVertex b,
Configuration configuration)
| Method Detail |
|---|
public boolean containsBothVertices(Vertex a,
Vertex b)
public boolean containtsVertex(Vertex v)
public boolean hasToBeConsidered()
hasToBeConsidered in class GeometricObjectpublic boolean isATriangle()
isATriangle in class GeometricObjectpublic boolean isAnEdge()
isAnEdge in class GeometricObjectpublic boolean isFlat()
protected void VulOp()
public void commit(CommitDataStructure dataStructure)
public Triangle getLeftTriangle()
public void setTriangle(Triangle t)
public Triangle getRightTriangle()
public void setChildren(GenericEdge beginChild,
GenericEdge endChild)
public boolean hasChildren()
hasChildren in class GeometricObjectpublic GenericEdge getBeginChild()
public GenericEdge getEindChild()
public void setChildren(java.util.ArrayList<GeometricObject> children)
setChildren in class GeometricObjectpublic java.util.ArrayList<GeometricObject> getChildren()
getChildren in class GeometricObject
public AbstractTesselation getBestEncoderTesselation(SnijPixelStrategy snijPixelStrategy,
ConnectieCriterium connectieCriterium)
getBestEncoderTesselation in class GeometricObjectsnijPixelStrategy -
public AbstractTesselation getTesselation(SnijPixelStrategy snijPixelStrategy,
java.lang.String choise)
getTesselation in class GeometricObject
public ParametrizedPiercingVertex doorsnede(GenericEdge andere)
throws java.lang.Exception
java.lang.Exceptionpublic float getArea()
getArea in class GeometricObjectpublic float getHoekInDomain(int index)
getHoekInDomain in class GeometricObjectpublic Loc getLoc(int index)
public void disposeLocationSet()
disposeLocationSet in class GeometricObjectpublic final ParametrizedPiercingVertex getBegin()
public final ParametrizedPiercingVertex getEind()
public ParametrizedPiercingVertex getVertex(int index)
getVertex in class GeometricObjectpublic int[][] getLijn()
public int getLengte()
public float getEuclidischeLengte()
public float getEuclidischeLengtePerPixel()
public float getShortestDomainDistance(Loc l)
l -
public int getAantalPunten()
getAantalPunten in class GeometricObjectpublic java.util.ArrayList<ParametrizedPiercingVertex> getOrderedVertices()
getOrderedVertices in class GeometricObjectpublic int getHoogte()
public int getMiddenIndex()
public Loc getMidLoc()
public float getFundamentenWaardeOn(int index)
public float getFunctiewaardeOn(int index)
public float getFunctiewaardeOn(Loc loc)
getFunctiewaardeOn in class GeometricObjectpublic float fundamentenwaardeOn(Loc loc)
fundamentenwaardeOn in class GeometricObject
public void setOffsets(int normalOffset,
int verticalOffset)
public int getNormalOffset()
public float getNormalOffsetDistance()
public int getVerticalOffset()
public boolean hasCrossedContour()
public float getNormalisationFactor()
public void print()
public GenericEdge getEdge(int i)
getEdge in class GeometricObjectpublic int getNbrOfEdges()
getNbrOfEdges in class GeometricObjectpublic State getState()
public void setState(State state)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||