Exemple #1
0
 private void RenderROIs(IRenderContext context)
 {
     if (context != null)
     {
         ROIRenderer?.Render(ROIs, Camera, context, new Rectd(0, 0, 1, 1));
         ROIRenderer?.Render(POIs, Camera, context, new Rectd(0, 0, 1, 1));
     }
 }
Exemple #2
0
 public DicomPanelModel()
 {
     Camera           = new Camera();
     ImageRenderer    = new ImageRenderer();
     DoseRenderer     = new DoseRenderer();
     ROIRenderer      = new ROIRenderer();
     VectorRenderer   = new VoxelFieldRenderer();
     ROIs             = new List <RegionOfInterest>();
     POIs             = new List <PointOfInterest>();
     ContouredDoses   = new List <IDoseObject>();
     BeamRenderer     = new BeamRenderer();
     Beams            = new List <Beam>();
     OrthogonalModels = new List <DicomPanelModel>();
     Overlays         = new List <IOverlay>();
     ToolBox          = new ToolBox();
     Overlays.Add(new ScaleOverlay());
     SpyGlass         = new Rectd(0, 0, 1, 1);
     AdditionalImages = new List <RenderableImage>();
     VectorFields     = new List <VectorField>();
 }