commandline.ImageStuff.GeometricObjects.GenericEdge Class Reference

Inheritance diagram for commandline.ImageStuff.GeometricObjects.GenericEdge:

Inheritance graph
[legend]
Collaboration diagram for commandline.ImageStuff.GeometricObjects.GenericEdge:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GenericEdge (ParametrizedPiercingVertex a, ParametrizedPiercingVertex b, int[][] lijn, int maxr)
 GenericEdge (ParametrizedPiercingVertex a, ParametrizedPiercingVertex b, int maxr)
boolean containsBothVertices (Vertex a, Vertex b)
boolean containtsVertex (Vertex v)
boolean hasToBeConsidered ()
boolean isATriangle ()
boolean isAnEdge ()
boolean isFlat ()
void commit (CommitDataStructure dataStructure)
Triangle getLeftTriangle ()
void setTriangle (Triangle t)
Triangle getRightTriangle ()
void setChildren (GenericEdge beginChild, GenericEdge endChild)
boolean hasChildren ()
GenericEdge getBeginChild ()
GenericEdge getEindChild ()
void prune (Tree tree)
void setChildren (ArrayList< GeometricObject > children)
ArrayList< GeometricObject > getChildren ()
AbstractTesselation getBestEncoderTesselation (SnijPixelStrategy snijPixelStrategy, ConnectieCriterium connectieCriterium, EdgeConstructorTriangleMakerFactory edgeConstructorTriangleMakerFactory, Configuration configuration)
ParametrizedPiercingVertex doorsnede (GenericEdge andere) throws Exception
float getArea ()
float getHoekInDomain (int index)
Loc getLoc (int index)
void disposeLocationSet ()
ParametrizedPiercingVertex getBegin ()
ParametrizedPiercingVertex getEind ()
ParametrizedPiercingVertex getVertex (int index)
int[][] getLijn ()
int getLengte ()
float getEuclidischeLengte ()
float getEuclidischeLengtePerPixel ()
float getShortestDomainDistance (Loc l)
int getAantalPunten ()
ArrayList
< ParametrizedPiercingVertex > 
getOrderedVertices ()
int getHoogte ()
int getMiddenIndex ()
Loc getMidLoc ()
float getFundamentenWaardeOn (int index)
float getFunctiewaardeOn (Loc loc)
float fundamentenwaardeOn (Loc loc)
void setOffsets (int normalOffset, int verticalOffset)
int getNormalOffset ()
float getNormalOffsetDistance ()
int getVerticalOffset ()
boolean hasCrossedContour ()
float getNormalisationFactor ()
void print ()
GenericEdge getEdge (int i)
int getNbrOfEdges ()
State getState ()
void setState (State state)

Public Attributes

boolean test_offset_set

Protected Member Functions

void VulOp ()
float getFunctiewaardeOn (int index)

Protected Attributes

int[][] lijn
final ParametrizedPiercingVertex begin
final ParametrizedPiercingVertex eind
Triangle leftTriangle
Triangle rightTriangle
GenericEdge beginChild
GenericEdge endChild
boolean isRegistered
State state

Private Member Functions

void registerLeftTriangle (CommitDataStructure dataStructure)
void setRightTriangle (Triangle t)
void registerRightTriangle (CommitDataStructure dataStructure)
void registerTriangles (CommitDataStructure dataStructure)
void register (CommitDataStructure dataStructure)
boolean isRegistered ()
void setLeftTriangle (Triangle t)

Private Attributes

int maxr
int normalOffset
int verticalOffset


Detailed Description

Definition at line 32 of file GenericEdge.java.


Constructor & Destructor Documentation

commandline.ImageStuff.GeometricObjects.GenericEdge.GenericEdge ( ParametrizedPiercingVertex  a,
ParametrizedPiercingVertex  b,
intlijn  [][],
int  maxr 
)

Postcondition:
: er worden nooit redundante vertices toegekend!! als eind.isOn(begin) dan laten we de eindVertex refereren naar de beginVertex

Definition at line 55 of file GenericEdge.java.

commandline.ImageStuff.GeometricObjects.GenericEdge.GenericEdge ( ParametrizedPiercingVertex  a,
ParametrizedPiercingVertex  b,
int  maxr 
)

construct the line itself

Parameters:
a 
b 
maxr 

Definition at line 98 of file GenericEdge.java.


Member Function Documentation

boolean commandline.ImageStuff.GeometricObjects.GenericEdge.containsBothVertices ( Vertex  a,
Vertex  b 
)

boolean commandline.ImageStuff.GeometricObjects.GenericEdge.containtsVertex ( Vertex  v  ) 

boolean commandline.ImageStuff.GeometricObjects.GenericEdge.hasToBeConsidered (  )  [virtual]

boolean commandline.ImageStuff.GeometricObjects.GenericEdge.isATriangle (  )  [virtual]

boolean commandline.ImageStuff.GeometricObjects.GenericEdge.isAnEdge (  )  [virtual]

boolean commandline.ImageStuff.GeometricObjects.GenericEdge.isFlat (  ) 

void commandline.ImageStuff.GeometricObjects.GenericEdge.VulOp (  )  [protected]

void commandline.ImageStuff.GeometricObjects.GenericEdge.commit ( CommitDataStructure  dataStructure  ) 

Triangle commandline.ImageStuff.GeometricObjects.GenericEdge.getLeftTriangle (  ) 

void commandline.ImageStuff.GeometricObjects.GenericEdge.setTriangle ( Triangle  t  ) 

Triangle commandline.ImageStuff.GeometricObjects.GenericEdge.getRightTriangle (  ) 

void commandline.ImageStuff.GeometricObjects.GenericEdge.registerLeftTriangle ( CommitDataStructure  dataStructure  )  [private]

Definition at line 203 of file GenericEdge.java.

void commandline.ImageStuff.GeometricObjects.GenericEdge.setRightTriangle ( Triangle  t  )  [private]

void commandline.ImageStuff.GeometricObjects.GenericEdge.registerRightTriangle ( CommitDataStructure  dataStructure  )  [private]

Definition at line 214 of file GenericEdge.java.

void commandline.ImageStuff.GeometricObjects.GenericEdge.registerTriangles ( CommitDataStructure  dataStructure  )  [private]

Definition at line 218 of file GenericEdge.java.

void commandline.ImageStuff.GeometricObjects.GenericEdge.register ( CommitDataStructure  dataStructure  )  [private]

nooit wordt deze edge tweemaal geregistreerd

Definition at line 230 of file GenericEdge.java.

void commandline.ImageStuff.GeometricObjects.GenericEdge.setLeftTriangle ( Triangle  t  )  [private]

void commandline.ImageStuff.GeometricObjects.GenericEdge.setChildren ( GenericEdge  beginChild,
GenericEdge  endChild 
)

boolean commandline.ImageStuff.GeometricObjects.GenericEdge.hasChildren (  )  [virtual]

GenericEdge commandline.ImageStuff.GeometricObjects.GenericEdge.getBeginChild (  ) 

GenericEdge commandline.ImageStuff.GeometricObjects.GenericEdge.getEindChild (  ) 

void commandline.ImageStuff.GeometricObjects.GenericEdge.prune ( Tree  tree  ) 

chould only be used by a Tree object

Parameters:
tree 

Definition at line 283 of file GenericEdge.java.

void commandline.ImageStuff.GeometricObjects.GenericEdge.setChildren ( ArrayList< GeometricObject >  children  )  [virtual]

ArrayList<GeometricObject> commandline.ImageStuff.GeometricObjects.GenericEdge.getChildren (  )  [virtual]

AbstractTesselation commandline.ImageStuff.GeometricObjects.GenericEdge.getBestEncoderTesselation ( SnijPixelStrategy  snijPixelStrategy,
ConnectieCriterium  connectieCriterium,
EdgeConstructorTriangleMakerFactory  edgeConstructorTriangleMakerFactory,
Configuration  configuration 
) [virtual]

geeft de besteTesselatie terug gemaakt door de Tesselator geschikt voor dat object

Parameters:
snijPixelStrategy 
Returns:

Implements commandline.ImageStuff.GeometricObjects.GeometricObject.

Definition at line 313 of file GenericEdge.java.

ParametrizedPiercingVertex commandline.ImageStuff.GeometricObjects.GenericEdge.doorsnede ( GenericEdge  andere  )  throws Exception

float commandline.ImageStuff.GeometricObjects.GenericEdge.getArea (  )  [virtual]

float commandline.ImageStuff.GeometricObjects.GenericEdge.getHoekInDomain ( int  index  )  [virtual]

Loc commandline.ImageStuff.GeometricObjects.GenericEdge.getLoc ( int  index  ) 

Definition at line 350 of file GenericEdge.java.

Referenced by commandline.Encoder.SnijPixelFunctieWaardenStrategy.berekenMiddenHoogte(), commandline.ImageStuff.GeometricObjects.GenericEdge.getEuclidischeLengte(), commandline.Encoder.TwoValuedSnijPixelFunctieWaardeSlopeStrategy.getFarestPiercingTo_a(), commandline.NormalMeshAlgorithm.SnijPixelStrategy.getFarestPiercingTo_a(), commandline.Encoder.TwoValuedSnijPixelFunctieWaardeSlopeStrategy.getFarestPiercingTo_b(), commandline.NormalMeshAlgorithm.SnijPixelStrategy.getFarestPiercingTo_b(), commandline.NormalMeshAlgorithm.SnijPixelStrategy.getFunctionValue(), commandline.Encoder.EncoderEdge.getPixel(), commandline.Encoder.LSEncoderEdge.initParams(), commandline.Encoder.TwoValuedSnijPixelFunctieWaardeSlopeStrategy.max_delta_a(), commandline.NormalMeshAlgorithm.SnijPixelStrategy.max_delta_a(), commandline.Encoder.TwoValuedSnijPixelFunctieWaardeSlopeStrategy.max_delta_b(), commandline.NormalMeshAlgorithm.SnijPixelStrategy.max_delta_b(), commandline.NormalMeshAlgorithm.SnijpixelAlternateSubdivision.SnijPixel_echte_edge(), commandline.Encoder.TwoValuedSnijPixelFunctieWaardeSlopeStrategy.SnijPixel_echte_edge(), commandline.NormalMeshAlgorithm.SnijPixelStrategy.SnijPixel_echte_edge(), commandline.Decoder.Decoder_ChildrenOffsetsCompoundMaker.SnijPixel_echte_edge(), commandline.JUnitTest.TestGenericEdge.testFunctieWaardeOn(), commandline.JUnitTest.TestGenericEdge.testFundamentenWaardeOn(), and commandline.JUnitTest.TestSnijPixelPiercingWaardeStrategy.testSnijPixel().

void commandline.ImageStuff.GeometricObjects.GenericEdge.disposeLocationSet (  )  [virtual]

disposes nothing

Implements commandline.ImageStuff.GeometricObjects.GeometricObject.

Definition at line 357 of file GenericEdge.java.

ParametrizedPiercingVertex commandline.ImageStuff.GeometricObjects.GenericEdge.getBegin (  ) 

Definition at line 361 of file GenericEdge.java.

Referenced by commandline.ImageStuff.GeometricObjects.Triangle.addState(), commandline.Encoder.TwoValuedSnijPixelFunctieWaardeSlopeStrategy.buildChildEdges(), commandline.NormalMeshAlgorithm.SnijPixelStrategy.buildChildEdges(), commandline.Algorithms.RicoSingleton.calculateRicoNormalOn(), commandline.Decoder.Decoder_ChildrenOffsetsCompoundMaker.children_OffsetsCompoudMaker(), commandline.ImageStuff.Topology.GenericTriangleTesselation.commitOnlyDecodingStuff(), commandline.NormalMeshAlgorithm.Normal1DApplet.drawnormal(), commandline.ImageStuff.GeometricObjects.GenericEdge.getAantalPunten(), commandline.Encoder.SnijPixelPiercingWaardeStrategy.getBeginPixelWaarde(), commandline.Encoder.SnijPixelFunctieWaardenStrategy.getBeginPixelWaarde(), commandline.Decoder.Decoder_ChildrenOffsetsCompoundMaker.getBeginPixelWaarde(), commandline.dataToImage.MeshToImageDataFilter.getEdgeNotContaining(), commandline.CodingUtils.State.getMaxVanBeginWeg(), commandline.CodingUtils.State.getMinNaarBeginToe(), commandline.dataToImage.MeshToImageDataFilter.getOtherVertex(), commandline.Encoder.EncoderEdge.getPixel(), commandline.ImageStuff.GeometricObjects.GenericEdge.getVertex(), commandline.ImageStuff.GeometricObjects.ParametrizedPiercingVertex.init(), commandline.ImageStuff.GeometricObjects.Impl.TwoValuedTriangleImpl.isAnewEdge(), commandline.ImageStuff.GeometricObjects.Impl.TwoValuedTriangleImpl.isARootEdge(), commandline.dataToImage.VTKTINWriter.makePolygonFromLeaveEdges(), commandline.Encoder.EncoderEdge.onBoundary(), commandline.NormalMeshAlgorithm.Normal1DApplet.plotLevels(), commandline.NormalMeshAlgorithm.NormalMesh1D.refineLeaves(), commandline.Encoder.Splitter.shouldEdgeMakePartOfFurtherDecom(), commandline.NormalMeshAlgorithm.SnijpixelAlternateSubdivision.SnijPixel_echte_edge(), commandline.Encoder.TwoValuedSnijPixelFunctieWaardeSlopeStrategy.SnijPixel_echte_edge(), commandline.ImageStuff.GeometricObjects.Triangle.Triangle(), testbench.NormalIndexAndVerticalOffsetTestBench.update(), commandline.TxTPackage.TestFile.writeStatusOfDataStructure(), and commandline.dataToImage.MatlabWriter.writeTrimesh().

ParametrizedPiercingVertex commandline.ImageStuff.GeometricObjects.GenericEdge.getEind (  ) 

Definition at line 366 of file GenericEdge.java.

Referenced by commandline.ImageStuff.GeometricObjects.Triangle.addState(), commandline.Encoder.TwoValuedSnijPixelFunctieWaardeSlopeStrategy.buildChildEdges(), commandline.NormalMeshAlgorithm.SnijPixelStrategy.buildChildEdges(), commandline.Algorithms.RicoSingleton.calculateRicoNormalOn(), commandline.Decoder.Decoder_ChildrenOffsetsCompoundMaker.children_OffsetsCompoudMaker(), commandline.NormalMeshAlgorithm.Normal1DApplet.drawnormal(), commandline.ImageStuff.GeometricObjects.GenericEdge.getAantalPunten(), commandline.dataToImage.MeshToImageDataFilter.getEdgeNotContaining(), commandline.Encoder.SnijPixelPiercingWaardeStrategy.getEindPixelWaarde(), commandline.Encoder.SnijPixelFunctieWaardenStrategy.getEindPixelWaarde(), commandline.Decoder.Decoder_ChildrenOffsetsCompoundMaker.getEindPixelWaarde(), commandline.ImageStuff.GeometricObjects.GenericEdge.getEuclidischeLengte(), commandline.CodingUtils.State.getMaxVanBeginWeg(), commandline.CodingUtils.State.getMinNaarBeginToe(), commandline.ImageStuff.GeometricObjects.GenericEdge.getOrderedVertices(), commandline.dataToImage.MeshToImageDataFilter.getOtherVertex(), commandline.Encoder.EncoderEdge.getPixel(), commandline.ImageStuff.GeometricObjects.GenericEdge.getVertex(), commandline.ImageStuff.GeometricObjects.ParametrizedPiercingVertex.init(), commandline.ImageStuff.GeometricObjects.Impl.TwoValuedTriangleImpl.isAnewEdge(), commandline.ImageStuff.GeometricObjects.Impl.TwoValuedTriangleImpl.isARootEdge(), commandline.dataToImage.VTKTINWriter.makePolygonFromLeaveEdges(), commandline.Encoder.EncoderEdge.onBoundary(), commandline.NormalMeshAlgorithm.Normal1DApplet.plotLevels(), commandline.NormalMeshAlgorithm.NormalMesh1D.refineLeaves(), commandline.Encoder.Splitter.shouldEdgeMakePartOfFurtherDecom(), commandline.NormalMeshAlgorithm.SnijpixelAlternateSubdivision.SnijPixel_echte_edge(), commandline.Encoder.TwoValuedSnijPixelFunctieWaardeSlopeStrategy.SnijPixel_echte_edge(), commandline.ImageStuff.GeometricObjects.Triangle.Triangle(), testbench.NormalIndexAndVerticalOffsetTestBench.update(), commandline.TxTPackage.TestFile.writeStatusOfDataStructure(), and commandline.dataToImage.MatlabWriter.writeTrimesh().

ParametrizedPiercingVertex commandline.ImageStuff.GeometricObjects.GenericEdge.getVertex ( int  index  )  [virtual]

int [][] commandline.ImageStuff.GeometricObjects.GenericEdge.getLijn (  ) 

int commandline.ImageStuff.GeometricObjects.GenericEdge.getLengte (  ) 

Definition at line 382 of file GenericEdge.java.

Referenced by commandline.Encoder.TwoValuedSnijPixelFunctieWaardeSlopeStrategy.buildChildEdges(), commandline.NormalMeshAlgorithm.SnijPixelStrategy.buildChildEdges(), commandline.Decoder.Decoder_ChildrenOffsetsCompoundMaker.children_OffsetsCompoudMaker(), commandline.Decoder.BreathFirstDecoder.decode(), commandline.Encoder.BreathFirstTreeStructureEncoder.encode(), commandline.Distributions.NormalIndicesDistribution_2B_discr.evaluatePDF(), commandline.Distributions.NormalIndicesDistribution_1B_discr.evaluatePDF(), commandline.Encoder.SnijPixelMedianValueStrategy.getFunctionValue(), commandline.CodingUtils.State.getMaxVanMiddenWegAlsBeginLaagsteWaarde(), commandline.ImageStuff.GeometricObjects.GenericEdge.getMiddenIndex(), commandline.CodingUtils.State.getMinVanMiddenWegAlsBeginAlsLaatgsteWaarde(), commandline.binToFilePackage.iterators.normaloffset.OrdinaryNormalOffsetIterator.getNextNormalOffset(), commandline.binToFilePackage.iterators.normaloffset.HuffmanNormalOffsetIterator.getNextNormalOffset(), commandline.flatFileToBinaryPackage.OrdinaryFlatToBin.getNormalIndex(), commandline.flatFileToBinaryPackage.HuffmanFlatToBin.getNormalIndex(), commandline.ImageStuff.GeometricObjects.GenericEdge.getNormalOffset(), commandline.Encoder.EncoderEdge.getPixel(), commandline.Distributions.NormalIndicesDistribution_1A_Power_Law.getPMF_disc(), commandline.Distributions.NormalIndicesDistribution.getPMF_disc(), commandline.Encoder.LSEncoderEdge.initParams(), commandline.Encoder.Iterators.GreatestErrorFirstMeshIterator.perform(), commandline.Encoder.BreathFirstMeshEncoder.rebuild(), commandline.NormalMeshAlgorithm.SnijpixelAlternateSubdivision.SnijPixel_echte_edge(), commandline.Encoder.TwoValuedSnijPixelFunctieWaardeSlopeStrategy.SnijPixel_echte_edge(), commandline.NormalMeshAlgorithm.SnijPixelStrategy.SnijPixel_echte_edge(), commandline.Decoder.Decoder_ChildrenOffsetsCompoundMaker.SnijPixel_echte_edge(), commandline.JUnitTest.TestGenericEdge.testFunctieWaardeOn(), commandline.JUnitTest.TestGenericEdge.testFundamentenWaardeOn(), commandline.JUnitTest.TestSnijPixelPiercingWaardeStrategy.testSnijPixel(), and testbench.NormalIndexAndVerticalOffsetTestBench.update().

float commandline.ImageStuff.GeometricObjects.GenericEdge.getEuclidischeLengte (  ) 

float commandline.ImageStuff.GeometricObjects.GenericEdge.getEuclidischeLengtePerPixel (  ) 

Definition at line 393 of file GenericEdge.java.

float commandline.ImageStuff.GeometricObjects.GenericEdge.getShortestDomainDistance ( Loc  l  ) 

int commandline.ImageStuff.GeometricObjects.GenericEdge.getAantalPunten (  )  [virtual]

ArrayList<ParametrizedPiercingVertex> commandline.ImageStuff.GeometricObjects.GenericEdge.getOrderedVertices (  )  [virtual]

int commandline.ImageStuff.GeometricObjects.GenericEdge.getHoogte (  ) 

int commandline.ImageStuff.GeometricObjects.GenericEdge.getMiddenIndex (  ) 

Loc commandline.ImageStuff.GeometricObjects.GenericEdge.getMidLoc (  ) 

float commandline.ImageStuff.GeometricObjects.GenericEdge.getFundamentenWaardeOn ( int  index  ) 

float commandline.ImageStuff.GeometricObjects.GenericEdge.getFunctiewaardeOn ( int  index  )  [protected]

float commandline.ImageStuff.GeometricObjects.GenericEdge.getFunctiewaardeOn ( Loc  loc  )  [virtual]

float commandline.ImageStuff.GeometricObjects.GenericEdge.fundamentenwaardeOn ( Loc  loc  )  [virtual]

void commandline.ImageStuff.GeometricObjects.GenericEdge.setOffsets ( int  normalOffset,
int  verticalOffset 
)

int commandline.ImageStuff.GeometricObjects.GenericEdge.getNormalOffset (  ) 

float commandline.ImageStuff.GeometricObjects.GenericEdge.getNormalOffsetDistance (  ) 

Definition at line 525 of file GenericEdge.java.

int commandline.ImageStuff.GeometricObjects.GenericEdge.getVerticalOffset (  ) 

boolean commandline.ImageStuff.GeometricObjects.GenericEdge.hasCrossedContour (  ) 

this is an heuristic to see if this edge has crossed a contour

Definition at line 561 of file GenericEdge.java.

float commandline.ImageStuff.GeometricObjects.GenericEdge.getNormalisationFactor (  ) 

void commandline.ImageStuff.GeometricObjects.GenericEdge.print (  ) 

GenericEdge commandline.ImageStuff.GeometricObjects.GenericEdge.getEdge ( int  i  )  [virtual]

int commandline.ImageStuff.GeometricObjects.GenericEdge.getNbrOfEdges (  )  [virtual]

State commandline.ImageStuff.GeometricObjects.GenericEdge.getState (  ) 

void commandline.ImageStuff.GeometricObjects.GenericEdge.setState ( State  state  ) 


Member Data Documentation

Definition at line 45 of file GenericEdge.java.

Definition at line 46 of file GenericEdge.java.


The documentation for this class was generated from the following file:

Generated on Tue Jul 8 15:01:02 2008 for NODIC by  doxygen 1.5.5