00001 package commandline.ImageStuff.Topology; 00002 00003 import commandline.Encoder.Children_OffsetsCompoud; 00004 import commandline.Encoder.EncoderEdge; 00005 import commandline.ImageStuff.GeometricObjects.GenericEdge; 00006 import commandline.ImageStuff.GeometricObjects.Impl.TriangleImplType; 00007 import commandline.ImageStuff.GeometricObjects.factories.GenericEdgeConstructor; 00008 import commandline.NormalMeshAlgorithm.ChildMaker; 00009 import commandline.NormalMeshAlgorithm.Configuration; 00010 import commandline.debuggingCode.Debug; 00011 00012 00013 public class EdgeTesselation_Encoder extends EdgeTesselation { 00014 00015 public EdgeTesselation_Encoder(GenericEdge e, ChildMaker childMaker,GenericEdgeConstructor edgeConstructor,TriangleImplType triangleMaker,Configuration configuration) { 00016 super(e, childMaker,edgeConstructor,triangleMaker,configuration); 00017 // TODO Auto-generated constructor stub 00018 } 00019 00020 protected void builtChildren() { 00021 children_OffsetsCompoud_edge = childMaker.buildChildEdges(e); 00022 if(e.hasChildren()){ 00023 try{ 00024 ((Children_OffsetsCompoud)(children_OffsetsCompoud_edge)).setEdgesIfAlreadyExist((EncoderEdge)e.getBeginChild(),(EncoderEdge)e.getEindChild()); 00025 } 00026 catch(ClassCastException castException){ 00027 Debug.print("classcastException in EdgeTesselation_encoder"); 00028 } 00029 } 00030 if(Debug.DEBUG && Debug.DEBUG_COMMIT_EDGE_TESSELATION) Debug.print("builtChildren() "); 00031 } 00032 00033 }
1.5.5