Notice to GitKraken users: A vulnerability has been found in the SSH key generation of GitKraken versions 7.6.0 to 8.0.0 (https://www.gitkraken.com/blog/weak-ssh-key-fix). If you use GitKraken and have generated a SSH key using one of these versions, please remove it both from your local workstation and from your LRZ GitLab profile.

21.10.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 03b640b6 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Introducing Author and ProcessorState fields to AbstractProcessor

parent 848d765c
...@@ -69,6 +69,13 @@ namespace campvis { ...@@ -69,6 +69,13 @@ namespace campvis {
INVALID_PROPERTIES = 1 << 3 ///< Need to update the properties INVALID_PROPERTIES = 1 << 3 ///< Need to update the properties
}; };
/// Current state of a processor in terms of stability.
enum ProcessorState {
EXPERIMENTAL,
TESTING,
STABLE
};
/** /**
* Creates a AbstractProcessor. * Creates a AbstractProcessor.
*/ */
...@@ -112,6 +119,18 @@ namespace campvis { ...@@ -112,6 +119,18 @@ namespace campvis {
*/ */
virtual const std::string getDescription() const = 0; virtual const std::string getDescription() const = 0;
/**
* Gets the name of the author of this processor. Can be handy if you have questions on how to do XYZ with this processor.
* \return The name of the author of this processor.
*/
virtual const std::string getAuthor() const = 0;
/**
* Gets the current processor state in terms of stability. To be defined by every subclass.
* \return The current processor state in terms of stability.
*/
virtual const ProcessorState getProcessorState() const = 0;
/** /**
* Gets the flag whether this processor is currently enabled. * Gets the flag whether this processor is currently enabled.
* \return _enabled * \return _enabled
......
...@@ -72,6 +72,10 @@ namespace campvis { ...@@ -72,6 +72,10 @@ namespace campvis {
virtual const std::string getName() const { return "AdvancedUsFusion"; }; virtual const std::string getName() const { return "AdvancedUsFusion"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Extracts a single slice from the input image and renders it using a transfer function."; }; virtual const std::string getDescription() const { return "Extracts a single slice from the input image and renders it using a transfer function."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
/// \see AbstractProcessor::process() /// \see AbstractProcessor::process()
virtual void process(DataContainer& data); virtual void process(DataContainer& data);
......
...@@ -69,6 +69,10 @@ namespace campvis { ...@@ -69,6 +69,10 @@ namespace campvis {
virtual const std::string getName() const { return "GeometryStrainRenderer"; }; virtual const std::string getName() const { return "GeometryStrainRenderer"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Renders Geometry."; }; virtual const std::string getDescription() const { return "Renders Geometry."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
virtual void process(DataContainer& data); virtual void process(DataContainer& data);
......
...@@ -61,6 +61,10 @@ namespace campvis { ...@@ -61,6 +61,10 @@ namespace campvis {
virtual const std::string getName() const { return "ImageSeriesSplitter"; }; virtual const std::string getName() const { return "ImageSeriesSplitter"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Splits an ImageSeries into its single images."; }; virtual const std::string getDescription() const { return "Splits an ImageSeries into its single images."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
DataNameProperty p_inputID; ///< image ID for input image series DataNameProperty p_inputID; ///< image ID for input image series
DataNameProperty p_outputID; ///< image ID for output image DataNameProperty p_outputID; ///< image ID for output image
......
...@@ -76,6 +76,10 @@ namespace campvis { ...@@ -76,6 +76,10 @@ namespace campvis {
virtual const std::string getName() const { return "StrainFiberRenderer"; }; virtual const std::string getName() const { return "StrainFiberRenderer"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Renders Strain Fibers"; }; virtual const std::string getDescription() const { return "Renders Strain Fibers"; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
virtual void process(DataContainer& data); virtual void process(DataContainer& data);
......
...@@ -66,6 +66,10 @@ namespace campvis { ...@@ -66,6 +66,10 @@ namespace campvis {
virtual const std::string getName() const { return "StrainFiberTracker"; }; virtual const std::string getName() const { return "StrainFiberTracker"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Performs a fiber tracking of incomoing strain data."; }; virtual const std::string getDescription() const { return "Performs a fiber tracking of incomoing strain data."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
DataNameProperty p_strainId; ///< image ID for input strain data DataNameProperty p_strainId; ///< image ID for input strain data
DataNameProperty p_outputID; ///< image ID for output fiber data DataNameProperty p_outputID; ///< image ID for output fiber data
......
...@@ -61,6 +61,10 @@ namespace campvis { ...@@ -61,6 +61,10 @@ namespace campvis {
virtual const std::string getName() const { return "StrainRaycaster"; }; virtual const std::string getName() const { return "StrainRaycaster"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Performs a simple volume ray casting."; }; virtual const std::string getDescription() const { return "Performs a simple volume ray casting."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
DataNameProperty p_targetImageID; ///< image ID for output image DataNameProperty p_targetImageID; ///< image ID for output image
BoolProperty p_enableShadowing; BoolProperty p_enableShadowing;
......
...@@ -78,6 +78,10 @@ namespace campvis { ...@@ -78,6 +78,10 @@ namespace campvis {
virtual const std::string getName() const { return "DevilImageReader"; }; virtual const std::string getName() const { return "DevilImageReader"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Reads an image file into the pipeline using the DevIL library."; }; virtual const std::string getDescription() const { return "Reads an image file into the pipeline using the DevIL library."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
StringProperty p_url; ///< URL for file to read StringProperty p_url; ///< URL for file to read
DataNameProperty p_targetImageID; ///< image ID for read image DataNameProperty p_targetImageID; ///< image ID for read image
......
...@@ -64,6 +64,10 @@ namespace campvis { ...@@ -64,6 +64,10 @@ namespace campvis {
virtual const std::string getName() const { return "CsvdImageReader"; }; virtual const std::string getName() const { return "CsvdImageReader"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Reads a CSVD to read multiple CSV image files into the pipeline."; }; virtual const std::string getDescription() const { return "Reads a CSVD to read multiple CSV image files into the pipeline."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
StringProperty p_url; ///< URL for file to read StringProperty p_url; ///< URL for file to read
DataNameProperty p_targetImageID; ///< image ID for read image DataNameProperty p_targetImageID; ///< image ID for read image
......
...@@ -64,6 +64,10 @@ namespace campvis { ...@@ -64,6 +64,10 @@ namespace campvis {
virtual const std::string getName() const { return "LtfImageReader"; }; virtual const std::string getName() const { return "LtfImageReader"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Reads a series of raw images into the pipeline."; }; virtual const std::string getDescription() const { return "Reads a series of raw images into the pipeline."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
StringProperty p_url; ///< URL for file to read StringProperty p_url; ///< URL for file to read
IVec3Property p_size; ///< Image size IVec3Property p_size; ///< Image size
......
...@@ -65,6 +65,10 @@ namespace campvis { ...@@ -65,6 +65,10 @@ namespace campvis {
virtual const std::string getName() const { return "MhdImageReader"; }; virtual const std::string getName() const { return "MhdImageReader"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Reads an MHD image into the pipeline."; }; virtual const std::string getDescription() const { return "Reads an MHD image into the pipeline."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::TESTING; };
StringProperty p_url; ///< URL for file to read StringProperty p_url; ///< URL for file to read
DataNameProperty p_targetImageID; ///< image ID for read image DataNameProperty p_targetImageID; ///< image ID for read image
......
...@@ -66,6 +66,10 @@ namespace campvis { ...@@ -66,6 +66,10 @@ namespace campvis {
virtual const std::string getName() const { return "RawImageReader"; }; virtual const std::string getName() const { return "RawImageReader"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Reads raw images into the pipeline."; }; virtual const std::string getDescription() const { return "Reads raw images into the pipeline."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
StringProperty p_url; ///< URL for file to read StringProperty p_url; ///< URL for file to read
IVec3Property p_size; ///< Image size IVec3Property p_size; ///< Image size
......
...@@ -65,7 +65,11 @@ namespace campvis { ...@@ -65,7 +65,11 @@ namespace campvis {
/// \see AbstractProcessor::getName() /// \see AbstractProcessor::getName()
virtual const std::string getName() const { return "VtkImageReader"; }; virtual const std::string getName() const { return "VtkImageReader"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Reads an MHD image into the pipeline."; }; virtual const std::string getDescription() const { return "Reads a VTK image into the pipeline."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
StringProperty p_url; ///< URL for file to read StringProperty p_url; ///< URL for file to read
DataNameProperty p_targetImageID; ///< image ID for read image DataNameProperty p_targetImageID; ///< image ID for read image
......
...@@ -60,6 +60,10 @@ namespace campvis { ...@@ -60,6 +60,10 @@ namespace campvis {
virtual const std::string getName() const { return "ItkImageFilter"; }; virtual const std::string getName() const { return "ItkImageFilter"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Creates the gradient volume for the given intensity volume."; }; virtual const std::string getDescription() const { return "Creates the gradient volume for the given intensity volume."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::TESTING; };
virtual void process(DataContainer& data); virtual void process(DataContainer& data);
......
...@@ -60,6 +60,10 @@ namespace campvis { ...@@ -60,6 +60,10 @@ namespace campvis {
virtual const std::string getName() const { return "ItkImageFilterKernel"; }; virtual const std::string getName() const { return "ItkImageFilterKernel"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Creates the gradient volume for the given intensity volume."; }; virtual const std::string getDescription() const { return "Creates the gradient volume for the given intensity volume."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
virtual void process(DataContainer& data); virtual void process(DataContainer& data);
......
...@@ -74,6 +74,10 @@ namespace campvis { ...@@ -74,6 +74,10 @@ namespace campvis {
virtual const std::string getName() const { return "CLRaycaster"; }; virtual const std::string getName() const { return "CLRaycaster"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Proof of concept processor for OpenCL based Volume raycasting."; }; virtual const std::string getDescription() const { return "Proof of concept processor for OpenCL based Volume raycasting."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
/** /**
* Initalizes the Processor, loads and builds the shader. * Initalizes the Processor, loads and builds the shader.
......
...@@ -59,6 +59,10 @@ namespace campvis { ...@@ -59,6 +59,10 @@ namespace campvis {
virtual const std::string getName() const { return "GradientVolumeGenerator"; }; virtual const std::string getName() const { return "GradientVolumeGenerator"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Creates the gradient volume for the given intensity volume."; }; virtual const std::string getDescription() const { return "Creates the gradient volume for the given intensity volume."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
virtual void process(DataContainer& data); virtual void process(DataContainer& data);
......
...@@ -60,6 +60,10 @@ namespace campvis { ...@@ -60,6 +60,10 @@ namespace campvis {
virtual const std::string getName() const { return "ImageFilter"; }; virtual const std::string getName() const { return "ImageFilter"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Creates the gradient volume for the given intensity volume."; }; virtual const std::string getDescription() const { return "Creates the gradient volume for the given intensity volume."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
virtual void process(DataContainer& data); virtual void process(DataContainer& data);
......
...@@ -59,6 +59,10 @@ namespace campvis { ...@@ -59,6 +59,10 @@ namespace campvis {
virtual const std::string getName() const { return "LHHistogram"; }; virtual const std::string getName() const { return "LHHistogram"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Creates Lookup volumes vor generation LH-Histograms of volumes as well as the LH histogram."; }; virtual const std::string getDescription() const { return "Creates Lookup volumes vor generation LH-Histograms of volumes as well as the LH histogram."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::EXPERIMENTAL; };
virtual void process(DataContainer& data); virtual void process(DataContainer& data);
......
...@@ -56,6 +56,10 @@ namespace campvis { ...@@ -56,6 +56,10 @@ namespace campvis {
virtual const std::string getName() const { return "ConfidenceMapGenerator"; }; virtual const std::string getName() const { return "ConfidenceMapGenerator"; };
/// \see AbstractProcessor::getDescription() /// \see AbstractProcessor::getDescription()
virtual const std::string getDescription() const { return "Creates Confidence Maps for Ultrasound Images."; }; virtual const std::string getDescription() const { return "Creates Confidence Maps for Ultrasound Images."; };
/// \see AbstractProcessor::getAuthor()
virtual const std::string getAuthor() const { return "Christian Schulte zu Berge <christian.szb@in.tum.de>"; };
/// \see AbstractProcessor::getProcessorState()
virtual const ProcessorState getProcessorState() const { return AbstractProcessor::TESTING; };
virtual void process(DataContainer& data); virtual void process(DataContainer& data);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment