Commit 01d3d350 authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED reorganizing example files

parent 6aa58775
<?xml version="1.0" encoding="UTF-8"?>
<cep xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://camitk.imag.fr/cepcoreschema"
xsi:schemaLocation="http://camitk.imag.fr/cepcoreschema ../cep.xsd">
<name>empty</name>
<contact>
<email>Celine.Fouard@imag.fr</email>
<email>Emmanuel.Promayon@imag.fr</email>
</contact>
<description>Example of empty CEP</description>
</cep>
<?xml version="1.0" encoding="UTF-8"?>
<cep
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns='http://camitk.imag.fr/cepcoreschema'
xsi:schemaLocation='http://camitk.imag.fr/cepcoreschema ../Cep.xsd'>
<name>Example of Tinman with Components</name>
<contact>
<email>Celine.Fouard@imag.fr</email>
</contact>
<description>Tinman Test file containing several kinds of Component Extensions.</description>
<copyright><![CDATA[/* ****************************************************************************
$USERDEF_LICENCE_BEGIN$
CamiTK - Computer Assisted Medical Intervention ToolKit
(c) 2001-2017 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
Visit http://camitk.imag.fr for more information
This file is part of CamiTK.
$CEP_NAME$ is under the following licence:
A specific private licence, just to test Tinman licence managing
$USERDEF_LICENCE_END$
*************************************************************************** */
]]></copyright>
<componentExtensions>
<componentExtension>
<name>Example with no file suffix</name>
<description>
This component tests the ability of Tinman to create and make
compilable and executable component extensions which do not
handle any file suffix (components should then be created from actions).
</description>
<components>
<component>
<name>my own cube</name>
<description>A Mesh Cube</description>
<representation>Mesh</representation>
<properties>
<parameter name="size" type="int" defaultValue="5" description="An integer."/>
<parameter name="color" type="QColor" description="A QColor."/>
</properties>
</component>
</components>
</componentExtension>
<componentExtension>
<name>Example with one file suffix</name>
<description>Simple Mixed component extension handling .example files</description>
<components>
<component>
<name>Tinman Example File</name>
<description>
Simple component handling .example files with no representation.
</description>
<representation>None</representation>
<fileSuffix>example</fileSuffix>
</component>
</components>
</componentExtension>
<componentExtension>
<name>Example with several file suffixes</name>
<description>Simple Mixed component extension handling .example files</description>
<components>
<component>
<name>Tinman A File</name>
<description>
Simple component handling .a files with an image representation.
</description>
<representation>Image</representation>
<properties>
<parameter name="aa" type="int" defaultValue="2" description="An integer."/>
</properties>
<fileSuffix>a</fileSuffix>
</component>
<component>
<name>Tinman B File</name>
<description>
Simple component handling .b files with a Mesh representation.
</description>
<representation>Image</representation>
<properties>
<parameter name="bb" type="bool" description="A boolean."/>
</properties>
<fileSuffix>b</fileSuffix>
</component>
<component>
<name>Tinman C File</name>
<description>
Simple component handling .c files with no representation.
</description>
<representation>None</representation>
<properties>
<parameter name="cc" type="double" defaultValue="3.8" description="A double."/>
</properties>
<fileSuffix>c</fileSuffix>
</component>
</components>
</componentExtension>
</componentExtensions>
</cep>
<?xml version="1.0" encoding="UTF-8"?>
<cep xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://camitk.imag.fr/cepcoreschema"
xsi:schemaLocation="http://camitk.imag.fr/cepcoreschema ../cep.xsd">
<name>CEP created by Wizard</name>
<contact>
<email>Celine.Fouard@imag.fr</email>
</contact>
<description>Example of a CEP containing a library and an action depending on this library.</description>
<actionExtensions>
<actionExtension>
<name>Image Threshold with my own library</name>
<description>This action calls an internal CEP library to threshold an image.</description>
<actions>
<action>
<name>Thresholding with my own library</name>
<description>his action calls an internal CEP library to threshold an image.</description>
<component>ImageComponent</component>
<classification>
<family>CreatedByWizard</family>
<tag>Image</tag>
<tag>threshold</tag>
</classification>
<parameters>
<parameter name="threshold value" type="int" defaultValue="128" description="An integer."/>
</parameters>
</action>
</actions>
<dependencies>
<dependency type="cepLibrary" name="myveryownthreshold"/>
</dependencies>
</actionExtension>
</actionExtensions>
<libraries>
<library static="true">
<name>my very own threshold</name>
<description>Threshold a char** matrix</description>
</library>
</libraries>
</cep>
<?xml version="1.0" encoding="UTF-8"?>
<cep xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://camitk.imag.fr/cepcoreschema"
xsi:schemaLocation="http://camitk.imag.fr/cepcoreschema ../cep.xsd">
<name>CEP created by Wizard</name>
<contact>
<email>Celine.Fouard@imag.fr</email>
</contact>
<description>Example of empty CEP</description>
<actionExtensions>
<actionExtension>
<name>Example of image actions</name>
<description>This action extension proposes several actions on image components</description>
<directoryName>imagewizardactions</directoryName>
<actions>
<action>
<name>Example of Image Action</name>
<description>Example of simple action on image component.</description>
<className>ImageExampleWizardOne</className>
<component>ImageComponent</component>
<classification>
<family>CreatedByWizard</family>
<tag>Image</tag>
</classification>
<parameters>
<parameter name="alpha" type="int"/>
<parameter name="beta" type="bool"/>
</parameters>
</action>
<action>
<name>Example of Image ITK Filter</name>
<description>Example of an itk image action.</description>
<className>ImageExampleWizardTwo</className>
<component>ImageComponent</component>
<classification>
<family>CreatedByWizard</family>
<tag>Image</tag>
<tag>itk</tag>
</classification>
<parameters>
<parameter name="gamma" type="QDate"/>
<parameter name="phi" type="double"/>
</parameters>
</action>
</actions>
</actionExtension>
<actionExtension>
<name>Example of mesh actions</name>
<description>This action extension proposes an action on mesh components</description>
<directoryName>meshwizardactions</directoryName>
<actions>
<action>
<name>Example of Mesh Action</name>
<description>Example of action on a mesh.</description>
<className>MeshExampleWizard</className>
<component>MeshComponent</component>
<classification>
<family>CreatedByWizard</family>
<tag>Mesh</tag>
<tag>Example</tag>
</classification>
</action>
</actions>
</actionExtension>
</actionExtensions>
</cep>
......@@ -8,7 +8,7 @@
<email>Celine.Fouard@imag.fr</email>
</contact>
<description>Tinman Test file containing several kinds of Component Extensions.</description>
<copyright><![CDATA[/*****************************************************************************
<copyright><![CDATA[/* ****************************************************************************
$USERDEF_LICENCE_BEGIN$
CamiTK - Computer Assisted Medical Intervention ToolKit
(c) 2001-2017 Univ. Grenoble Alpes, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
......@@ -21,7 +21,7 @@ $CEP_NAME$ is under the following licence:
A specific private licence, just to test Tinman licence managing
$USERDEF_LICENCE_END$
****************************************************************************/
*************************************************************************** */
]]></copyright>
<componentExtensions>
......@@ -38,8 +38,8 @@ $USERDEF_LICENCE_END$
<description>A Mesh Cube</description>
<representation>Mesh</representation>
<properties>
<parameter name="size" type="int" defaultValue="5"/>
<parameter name="color" type="QColor" />
<parameter name="size" type="int" defaultValue="5" description="An integer."/>
<parameter name="color" type="QColor" description="A QColor."/>
</properties>
</component>
</components>
......@@ -70,7 +70,7 @@ $USERDEF_LICENCE_END$
</description>
<representation>Image</representation>
<properties>
<parameter name="aa" type="int" defaultValue="2"/>
<parameter name="aa" type="int" defaultValue="2" description="An integer."/>
</properties>
<fileSuffix>a</fileSuffix>
</component>
......@@ -81,7 +81,7 @@ $USERDEF_LICENCE_END$
</description>
<representation>Image</representation>
<properties>
<parameter name="bb" type="bool"/>
<parameter name="bb" type="bool" description="A boolean."/>
</properties>
<fileSuffix>b</fileSuffix>
</component>
......@@ -92,7 +92,7 @@ $USERDEF_LICENCE_END$
</description>
<representation>None</representation>
<properties>
<parameter name="cc" type="double" defaultValue="3.8"/>
<parameter name="cc" type="double" defaultValue="3.8" description="A double."/>
</properties>
<fileSuffix>c</fileSuffix>
</component>
......
......@@ -22,7 +22,7 @@
<tag>threshold</tag>
</classification>
<parameters>
<parameter name="threshold value" type="int" defaultValue="128"/>
<parameter name="threshold value" type="int" defaultValue="128" description="An integer."/>
</parameters>
</action>
</actions>
......
<?xml version="1.0" encoding="UTF-8"?>
<cep xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://camitk.imag.fr/cepcoreschema"
xsi:schemaLocation="http://camitk.imag.fr/cepcoreschema ../cep.xsd">
<name>CEP created by Wizard</name>
<contact>
<email>Celine.Fouard@imag.fr</email>
</contact>
<description>Example of empty CEP</description>
<actionExtensions>
<actionExtension>
<name>Wizard created image actions</name>
<description>This action extension proposes several actions on image components</description>
<!-- <directoryName>imagewizardactions</directoryName> -->
<actions>
<action>
<name>Example of Image Action</name>
<description>Example of simple action on image component.</description>
<className>ImageExampleWizardOne</className>
<component>ImageComponent</component>
<classification>
<family>CreatedByWizard</family>
<tag>Image</tag>
</classification>
<parameters>
<parameter name="alpha" type="int"/>
<parameter name="beta" type="bool"/>
</parameters>
</action>
<action>
<name>Example of Image ITK Filter</name>
<description>Example of an itk image action.</description>
<className>ImageExampleWizardTwo</className>
<component>ImageComponent</component>
<classification>
<family>CreatedByWizard</family>
<tag>Image</tag>
<tag>itk</tag>
<itkFilter outputType="Same as Input"/>
</classification>
<parameters>
<parameter name="gamma" type="QDate"/>
<parameter name="phi" type="double"/>
</parameters>
</action>
</actions>
<dependencies>
<dependency type="library" name="itk"/>
</dependencies>
</actionExtension>
<actionExtension>
<name>Wizard created mesh actions</name>
<description>This action extension proposes an action on mesh components</description>
<!-- <directoryName>meshwizardactions</directoryName> -->
<actions>
<action>
<name>Example of Mesh Action</name>
<description>Example of action on a mesh.</description>
<className>MeshExampleWizard</className>
<component>MeshComponent</component>
<classification>
<family>CreatedByWizard</family>
<tag>Mesh</tag>
<tag>Example</tag>
</classification>
</action>
</actions>
</actionExtension>
</actionExtensions>
</cep>
Supports Markdown
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