Developer documentation | Axl-2.5.1

axlVolumeDiscreteProcessCreator Class Reference

#include <axlVolumeDiscreteProcessCreator.h>

Inheritance diagram for axlVolumeDiscreteProcessCreator:
axlAbstractCreatorProcess axlAbstractProcess

Public Member Functions

 axlVolumeDiscreteProcessCreator (void)
 
 ~axlVolumeDiscreteProcessCreator (void)
 
void copyProcess (axlAbstractProcess *process)
 
bool hasParameters (void)
 
virtual int update (void)
 
virtual QString description (void) const
 
virtual QString identifier (void) const
 
QString form (void) const
 Description of the form for the dialog with the process. More...
 
virtual void setInput (dtkAbstractData *newData, int channel)
 
virtual void setParameter (int value, int channel)
 
virtual dtkAbstractData * output (void)
 
- Public Member Functions inherited from axlAbstractCreatorProcess
 axlAbstractCreatorProcess (QObject *parent=0)
 
virtual ~axlAbstractCreatorProcess (void)
 
axlAbstractDatagetInput (int channel) const
 
virtual dtkAbstractData * output (int channel)
 
virtual int channelCount (void)
 
- Public Member Functions inherited from axlAbstractProcess
 axlAbstractProcess (void)
 
virtual ~axlAbstractProcess (void)
 
virtual void setDescription (QString description)
 
virtual void setIdentifier (QString identifier)
 

Static Public Member Functions

static bool registered (void)
 

Detailed Description

Definition at line 30 of file axlVolumeDiscreteProcessCreator.h.

Constructor & Destructor Documentation

axlVolumeDiscreteProcessCreator::axlVolumeDiscreteProcessCreator ( void  )

Definition at line 41 of file axlVolumeDiscreteProcessCreator.cpp.

axlVolumeDiscreteProcessCreator::~axlVolumeDiscreteProcessCreator ( void  )

Definition at line 47 of file axlVolumeDiscreteProcessCreator.cpp.

Member Function Documentation

void axlVolumeDiscreteProcessCreator::copyProcess ( axlAbstractProcess process)
virtual

Reimplemented from axlAbstractProcess.

Definition at line 61 of file axlVolumeDiscreteProcessCreator.cpp.

QString axlVolumeDiscreteProcessCreator::description ( void  ) const
virtual

Reimplemented from axlAbstractCreatorProcess.

Definition at line 142 of file axlVolumeDiscreteProcessCreator.cpp.

QString axlVolumeDiscreteProcessCreator::form ( void  ) const
inlinevirtual

Description of the form for the dialog with the process.

The string use to describe the form is formatted as follows:

"INPUT[:CHANNEL] TYPE LABEL"
"PARAMETER[:CHANNEL] TYPE LABEL"
"OUTPUT [:CHANNEL] LABEL"

where:

  • CHANNEL is a number identifying the rank of an input, see dtkAbstractProcess. Write this value only if the process method setInput uses a channel in its parameters !
  • TYPE is either int, double or data.
  • LABEL is the input's name.

Here is an example of such a declaration:

QString form(void) const
{
return QString(
" INPUT:0 data StartPoint \n"
" INPUT:1 data EndPoint \n"
" PARAMETER:0 double Radius \n"
" OUTPUT Cylinder ");
}

Reimplemented from axlAbstractProcess.

Definition at line 63 of file axlVolumeDiscreteProcessCreator.h.

bool axlVolumeDiscreteProcessCreator::hasParameters ( void  )
virtual

returns true if the process needs parameters. By default, equals false.

Reimplemented from axlAbstractProcess.

Definition at line 68 of file axlVolumeDiscreteProcessCreator.cpp.

QString axlVolumeDiscreteProcessCreator::identifier ( void  ) const
virtual

Reimplemented from axlAbstractCreatorProcess.

Definition at line 147 of file axlVolumeDiscreteProcessCreator.cpp.

dtkAbstractData * axlVolumeDiscreteProcessCreator::output ( void  )
virtual

Reimplemented from axlAbstractCreatorProcess.

Definition at line 80 of file axlVolumeDiscreteProcessCreator.cpp.

bool axlVolumeDiscreteProcessCreator::registered ( void  )
static

Definition at line 151 of file axlVolumeDiscreteProcessCreator.cpp.

void axlVolumeDiscreteProcessCreator::setInput ( dtkAbstractData *  newData,
int  channel 
)
virtual

Reimplemented from axlAbstractCreatorProcess.

Definition at line 86 of file axlVolumeDiscreteProcessCreator.cpp.

void axlVolumeDiscreteProcessCreator::setParameter ( int  value,
int  channel 
)
virtual

Definition at line 93 of file axlVolumeDiscreteProcessCreator.cpp.

int axlVolumeDiscreteProcessCreator::update ( void  )
virtual

Reimplemented from axlAbstractCreatorProcess.

Definition at line 106 of file axlVolumeDiscreteProcessCreator.cpp.


The documentation for this class was generated from the following files: