Exemplo n.º 1
0
Nitf::Rpc00bParser::Rpc00bParser()
{
   setName("RPC00B");
   setDescriptorId("{A427DD09-2C70-4cae-9C46-7BB1D5E3161E}");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(APP_COPYRIGHT);
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
}
Exemplo n.º 2
0
 /**
  * Collect all input workspace property names in the m_workspacePropertyNames vector
  */
 void Fit::addWorkspaces()
 {
   setDomainType();
   auto multiFun = boost::dynamic_pointer_cast<API::MultiDomainFunction>(m_function);
   if (multiFun)
   {
     m_domainCreator.reset(new MultiDomainCreator(this,m_workspacePropertyNames));
   }
   auto props = getProperties();
   for(auto prop = props.begin(); prop != props.end(); ++prop)
   {
     if ((**prop).direction() == Kernel::Direction::Input && dynamic_cast<API::IWorkspaceProperty*>(*prop))
     {
       const std::string workspacePropertyName = (**prop).name();
       API::Workspace_const_sptr ws = getProperty(workspacePropertyName);
       IDomainCreator* creator = NULL;
       if ( boost::dynamic_pointer_cast<const API::MatrixWorkspace>(ws) &&
           !boost::dynamic_pointer_cast<API::IFunctionMD>(m_function) )
       {
         /* IFunction1DSpectrum needs a different domain creator. If a function
          * implements that type, we need to react appropriately at this point.
          * Otherwise, the default creator FitMW is used.
          */
         if(boost::dynamic_pointer_cast<API::IFunction1DSpectrum>(m_function)) {
           creator = new SeqDomainSpectrumCreator(this, workspacePropertyName);
         } else {
           creator = new FitMW(this, workspacePropertyName, m_domainType);
         }
       }
       else
       {// don't know what to do with this workspace
         try
         {
           creator = API::DomainCreatorFactory::Instance().createDomainCreator("FitMD",this, workspacePropertyName, m_domainType);
         }
         catch(Kernel::Exception::NotFoundError&)
         {
           throw std::invalid_argument("Unsupported workspace type" + ws->id());
         }
       }
       const size_t n = std::string("InputWorkspace").size();
       const std::string suffix = (workspacePropertyName.size() > n)? workspacePropertyName.substr(n) : "";
       const size_t index = suffix.empty() ? 0 : boost::lexical_cast<size_t>(suffix.substr(1));
       creator->declareDatasetProperties(suffix,false);
       m_workspacePropertyNames.push_back(workspacePropertyName);
       if (!m_domainCreator)
       {
         m_domainCreator.reset(creator);
       }
       auto multiCreator = boost::dynamic_pointer_cast<MultiDomainCreator>(m_domainCreator);
       if (multiCreator)
       {
         multiCreator->setCreator(index,creator);
       }
     }
   }
 }
Exemplo n.º 3
0
CvCameraInput::CvCameraInput() : MacroBase(), ptrCapture(0) {
  // set up macro description
  setName(L"cv::CameraInput");
  setCreator(L"Lars Libuda");
  setGroup(L"Image Sources");
  setDescription(L"Loads images from a camera supported by ffmpeg library");
  addOutput<cv::Mat>(L"Frame",L"Currently loaded video frame");
  addParameter<int>(L"Camera device ID",L"Camera device id as given by system",0,L"IntSpinBox",L"{\"minValue\": 0, \"maxValue\": 1}");
}
Exemplo n.º 4
0
CvVideoInput::CvVideoInput() : MacroBase(), ptrCapture(0) {
  // set up macro description
  setName(L"cv::VideoInput");
  setCreator(L"Lars Libuda");
  setGroup(L"Image Sources");
  setDescription(L"Loads images from a video");
  addOutput<cv::Mat>(L"Frame",L"Currently loaded video frame");
  addParameter<std::string>(L"Video file",L"Path to video file for playback","",L"StringFileSelector",L"{\"title\": \"Select video file\", \"filters\": [\"Video files (*.mp4 *.avi *.mkv)\",\"All files (*.*)\"]}");
}
Exemplo n.º 5
0
AnnotationImagePalette::AnnotationImagePalette()
{
   setName("Annotation Image Palette");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(APP_COPYRIGHT);
   setVersion(APP_VERSION_NUMBER);
   setDescription("Drag and drop thumbnails into an annotation layer.");
   setDescriptorId("{48828156-5A17-4EA2-8575-2C8E8ED205E1}");
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
}
Exemplo n.º 6
0
NefImporter::NefImporter()
{
   setDescriptorId("{cb8fc80b-4fcd-4c13-8183-61ec61e95cb2}");
   setName("NEF Importer");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright("abc");
   setVersion("0.1");
   setProductionStatus(false);
   setExtensions("NEF Filez (*.nef)");
}
ConvolutionMatrixEditor::ConvolutionMatrixEditor()
{
   setName("Convolution Matrix Editor");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(APP_COPYRIGHT);
   setVersion(APP_VERSION_NUMBER);
   setDescription("Apply convolution matrix filtering to the active dataset.");
   setDescriptorId("{130E18DB-3974-4EC7-AC18-91BA2F5A4181}");
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
}
Exemplo n.º 8
0
DiHdfImporter::DiHdfImporter()
{
   setDescriptorId("{0da1caba-ee6f-440d-b53f-e0c317a8fba1}");
   setName("DI HDF Importer");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(IMPORTERS_COPYRIGHT);
   setVersion(IMPORTERS_VERSION_NUMBER);
   setProductionStatus(IMPORTERS_IS_PRODUCTION_RELEASE);
   setExtensions("DI HDF Files (*.hdf)");
}
Exemplo n.º 9
0
void EvaQunBuddyItem::update(const unsigned int id, const TQString &name, const TQPixmap *pic, const TQPixmap *offPic, const bool isCreator)
{
	nick = name;	
	facePic = pic;
	faceOffPic = offPic;
	TQString display = name + "(" + TQString::number(id) + ")";
	setText( 1, display);
	if(isCreator) setCreator(true);
	if(!pic) return;
}
Exemplo n.º 10
0
CannyEdge::CannyEdge(void) : MacroBase() {
  // set up macro description
  setName(L"lti::cannyEdges");
  setCreator(L"Lars Libuda");
  setGroup(L"Image Processing");
  setDescription(L"Detects edges in a lti::channel8");
  addInput<lti::channel8>(L"Input image",L"8-bit grey scale image for edge detection");
  addOutput<lti::channel8>(L"Output image",L"8-bit grey scale image with detected edges");
  addParameter<int>(L"Edge Treshold",L"Value used to denote an edge pixel",255,L"IntSpinBox",L"{ \"minValue\": 0, \"maxValue\": 255 }");
  addParameter<int>(L"No Edge Treshold",L"Value used to denote a no-edge pixel",0,L"IntSpinBox",L"{ \"minValue\": 0, \"maxValue\": 255 }");
}
Exemplo n.º 11
0
ViewerBaseTypes::ViewerBaseTypes() : ViewerBase() {
  setName(L"Base type viewer");
  setDescription(L"Displays values of base types");
  setCreator(L"Lars Libuda");
  setGroup(L"Viewers");
  addInput<int>(L"Integer value",L"int value to display");
  addInput<bool>(L"Boolean value",L"bool value to display");
  addInput<char*>(L"String value (C)",L"string to display");
  addInput<float>(L"Float value",L"float value to display");
  addInput<double>(L"Double value",L"double value to display");
}
PropertiesFileDescriptor::PropertiesFileDescriptor()
{
   setName("File Descriptor Properties");
   setPropertiesName("File");
   setDescription("General setting properties of a file descriptor");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(APP_COPYRIGHT_MSG);
   setVersion(APP_VERSION_NUMBER);
   setDescriptorId("{C27E4657-635C-47C9-B70C-F5505AB071A6}");
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
}
Exemplo n.º 13
0
DeriveProduct::DeriveProduct()
{
   setName("Derive Product");
   setVersion(APP_VERSION_NUMBER);
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
   setCreator("Ball Aerospace & Technologies, Corp.");
   setCopyright(APP_COPYRIGHT);
   setDescription("Derive a product from an existing view.");
   setDescriptorId("{E89BE407-5255-4faa-BE57-162E1E9A24C6}");
   allowMultipleInstances(true);
}
Exemplo n.º 14
0
PropertiesWavelengths::PropertiesWavelengths()
{
   setName("Wavelength Properties");
   setPropertiesName("Wavelengths");
   setDescription("Wavelengths associated with bands of a raster element");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(APP_COPYRIGHT_MSG);
   setVersion(APP_VERSION_NUMBER);
   setDescriptorId("{13C14B7E-50A4-49CD-B438-66BF88C9A9CB}");
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
}
PropertiesDataDescriptor::PropertiesDataDescriptor()
{
   setName("Data Descriptor Properties");
   setPropertiesName("Data");
   setDescription("General setting properties of a data descriptor");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(APP_COPYRIGHT_MSG);
   setVersion(APP_VERSION_NUMBER);
   setDescriptorId("{75092A96-A74A-4E4B-83A8-1E27282BD6F9}");
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
}
Exemplo n.º 16
0
DiHdfRasterPager::DiHdfRasterPager()
{
   setName("DiHdfRasterPager");
   setCopyright(IMPORTERS_COPYRIGHT);
   setCreator("Ball Aerospace & Technologies Corp.");
   setDescription("Provides access to on-disk DI HDF data");
   setDescriptorId("{b6ebb6b8-c37d-4d2c-9472-80b6474ce6f6}");
   setVersion(IMPORTERS_VERSION_NUMBER);
   setProductionStatus(IMPORTERS_IS_PRODUCTION_RELEASE);
   setShortDescription("DI HDF pager");
}
PropertiesClassification::PropertiesClassification()
{
   setName("Classification Properties");
   setPropertiesName("Classification");
   setDescription("Classification markings for a session item");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(APP_COPYRIGHT_MSG);
   setVersion(APP_VERSION_NUMBER);
   setDescriptorId("{44EF2642-BAE1-411C-B939-F86FA80DF3DD}");
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
}
Exemplo n.º 18
0
GetPrimaryRasterLayer::GetPrimaryRasterLayer() :
   mpSpatialDataView(NULL)
{
   setName("Get Primary Raster Layer");
   setVersion(APP_VERSION_NUMBER);
   setCreator("Ball Aerospace & Technologies, Corp.");
   setCopyright(APP_COPYRIGHT);
   setDescription("Gets the Primary Raster Layer for the specified Spatial Data View");
   setDescriptorId("{023A593B-DD28-4ba8-975F-E6DED903A728}");
   allowMultipleInstances(true);
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
}
Exemplo n.º 19
0
FitsImporter::FitsImporter()
{
   setDescriptorId("{299E1A6D-F80B-45D2-910D-0E318303CF88}");
   setName("FITS Importer");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(APP_COPYRIGHT);
   setVersion(APP_VERSION_NUMBER);
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
   setExtensions("FITS Files (*.fit *.fts *.fits)");
   setWizardSupported(false);
   addDependencyCopyright("CFITSIO", Service<UtilityServices>()->getTextFromFile(":/licenses/cfitsio"));
}
Exemplo n.º 20
0
MetadataExporter::MetadataExporter()
{
   setName("Metadata Exporter");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(APP_COPYRIGHT);
   setVersion(APP_VERSION_NUMBER);
   setExtensions("Metadata Files (*.metadata.xml)");
   setDescription("Export Metadata from Data Elements");
   setSubtype("DataElement");
   setDescriptorId("{f48cae61-5827-45b7-8a0e-bf1a2d9f2f62}");
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
}
LandsatGeotiffImporter::LandsatGeotiffImporter()
{
   setDescriptorId("{A8E57295-9A8-44FD-96D8-26A4FA13298F}");
   setName("Landsat GeoTIFF Importer");
   setCreator("Ball Aerospace & Technologies Corp.");
   setShortDescription("Importer for Landsat data in GeoTIFF format.");
   setCopyright(SPECTRAL_COPYRIGHT);
   setVersion(SPECTRAL_VERSION_NUMBER);
   setProductionStatus(SPECTRAL_IS_PRODUCTION_RELEASE);
   setExtensions("Landsat 5 Files (*_MTL.txt *_mtl.txt *.tif *.TIF);;"
      "Landsat 7 Files (*_MTL.txt *_mtl.txt *.tif *.TIF)");
}
Exemplo n.º 22
0
VideoImporter::VideoImporter()
{
   av_register_all();

   setDescriptorId("{4d4d06b4-fa58-4cb2-b01b-9a027876258f}");
   setName("Video Importer");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(VIDEO_COPYRIGHT);
   setVersion(VIDEO_VERSION_NUMBER);
   setProductionStatus(VIDEO_IS_PRODUCTION_RELEASE);
   setExtensions("Video Files (*.mpg *.avi)");
}
Exemplo n.º 23
0
DicomImporter::DicomImporter()
{
   setDescriptorId("{A680AF67-0304-4e12-9B5F-BEC86CA5EC66}");
   setName("DICOM Importer");
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(IMPORTERS_COPYRIGHT);
   setVersion(IMPORTERS_VERSION_NUMBER);
   setProductionStatus(IMPORTERS_IS_PRODUCTION_RELEASE);
   setExtensions("DICOM Files (*.dcm)");
   DJDecoderRegistration::registerCodecs();
   DcmRLEDecoderRegistration::registerCodecs();
}
Exemplo n.º 24
0
DicomRasterPager::DicomRasterPager() : mpImage(NULL), mConvertRgb(false)
{
   setName("DicomRasterPager");
   setCopyright(IMPORTERS_COPYRIGHT);
   setCreator("Ball Aerospace & Technologies Corp.");
   setDescription("Provides access to on-disk DICOM data");
   setDescriptorId("{27C35133-CBA7-41a6-AEBE-3B570FFC2E9F}");
   setVersion(IMPORTERS_VERSION_NUMBER);
   setProductionStatus(IMPORTERS_IS_PRODUCTION_RELEASE);
   setShortDescription("DICOM pager");
   DJDecoderRegistration::registerCodecs();
   DcmRLEDecoderRegistration::registerCodecs();
}
Exemplo n.º 25
0
GetSessionItemBase<T>::GetSessionItemBase(const std::string& descriptorId) :
   mDialogCaption("Select " + std::string(TypeConverter::toString<T>())),
   mpSessionItem(NULL)
{
   setName("Get " + std::string(TypeConverter::toString<T>()));
   setVersion(APP_VERSION_NUMBER);
   setCreator("Ball Aerospace & Technologies Corp.");
   setCopyright(APP_COPYRIGHT);
   setDescription("Gets a " + std::string(TypeConverter::toString<T>()));
   setDescriptorId(descriptorId);
   allowMultipleInstances(true);
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
}
Exemplo n.º 26
0
Tutorial1::Tutorial1()
{
   setDescriptorId("{5D8F4DD0-9B20-42B1-A060-589DFBC85D00}");
   setName("set using setName()");
   setDescription("set using setDescription()");
   setCreator("set using setCreator()");
   setVersion("set using Version()");
   setCopyright("set using setCopyRight()");
   setProductionStatus(false);
   setType("set using setType()s");
   setMenuLocation("[Set Extension Name Here]/Is this 1?");
   setAbortSupported(false);
}
Exemplo n.º 27
0
MessageLogTestPlugin::MessageLogTestPlugin()
{
   setCreator("Opticks Community");
   setVersion("Sample");
   setCopyright("Copyright (C) 2008, Ball Aerospace & Technologies Corp.");
   setProductionStatus(false);
   setName("Message Log Test");
   setShortDescription( "MessageLogTest" );
   setDescription("MessageLogTest");
   setMenuLocation("[Tests]\\Message Log Test");
   setDescriptorId("{4E1D4266-D816-49a8-AAC5-ECCCF8FF2A50}");
   setWizardSupported(false);
}
Exemplo n.º 28
0
SetDisplayMode::SetDisplayMode() :
   mpRasterLayer(NULL),
   mDisplayMode(GRAYSCALE_MODE)
{
   setName("Set Display Mode");
   setVersion(APP_VERSION_NUMBER);
   setCreator("Ball Aerospace & Technologies, Corp.");
   setCopyright(APP_COPYRIGHT);
   setDescription("Sets the Display Mode for the specified Raster Layer");
   setDescriptorId("{C0CF874D-5DA8-479f-94E9-86B3B10D0559}");
   allowMultipleInstances(true);
   setProductionStatus(APP_IS_PRODUCTION_RELEASE);
}
bilinear_bayer::bilinear_bayer()
{
	setDescriptorId("{77A5FDA5-1C6A-420F-AAEA-98602A38B382}");
	setName("bilinear_bayer");
	setDescription("Demosaicing on CFA of an image");
	setCreator("Pratik Anand");
	setVersion("0.1");
	setCopyright("Copyright (C) 2011, Pratik Anand <*****@*****.**>");
	setProductionStatus(true);
	setType("Algorithm");
	setSubtype("Demosaicing");
	setMenuLocation("[Photography]/Demosaicing - bilinear interpolation");
	setAbortSupported(false);
}
Exemplo n.º 30
0
EdgeDetector::EdgeDetector()
{
   setDescriptorId("{C72E631E-3B4A-4b40-93B0-D2AA01E23315}");
   setName("Edge Detector");
   setDescription("Edge Detector for SAR");
   setCreator("Yiwei Zhang");
   setVersion("Sample");
   setCopyright("Copyright (C) 2008, Ball Aerospace & Technologies Corp.");
   setProductionStatus(false);
   setType("Sample");
   setSubtype("SAR Edge");
   setMenuLocation("[SAR]/SAR Edge Detect");
   setAbortSupported(true);
}