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