BowlerKernel
VirtualCameraFactory.java
Go to the documentation of this file.
1 package com.neuronrobotics.imageprovider;
2 
3 import java.net.MalformedURLException;
4 import java.net.URL;
5 
6 public class VirtualCameraFactory {
8 
9  @Override
11  // TODO Auto-generated method stub
12  try {
13  return new URLImageProvider(new URL("http://commonwealthrobotics.com/img/AndrewHarrington/2014-09-15-86.jpg"));
14  } catch (MalformedURLException e) {
15  // TODO Auto-generated catch block
16  throw new RuntimeException(e);
17  }
18  }
19  };
21  return getFactory().getVirtualCamera();
22  }
24  return factory;
25  }
28  }
29 }
static void setFactory(IVirtualCameraFactory factory)