SeqGradRamp Class Reference
[Classes for sequence design (odinseq library)]

Gradient Ramp. More...

#include <seqgradramp.h>

Inheritance diagram for SeqGradRamp:

Inheritance graph
[legend]
Collaboration diagram for SeqGradRamp:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SeqGradRamp (const STD_string &object_label, channelNo gradchannel, float initgradstrength, float finalgradstrength, double timestep, rampType type=linear, float steepnessfactor=1.0, bool reverse=false)
 SeqGradRamp (const STD_string &object_label, channelNo gradchannel, double gradduration, float initgradstrength, float finalgradstrength, double timestep, rampType type=linear, bool reverse=false)
 SeqGradRamp (const SeqGradRamp &sgr)
 SeqGradRamp (const STD_string &object_label="unnamedSeqGradRamp")
SeqGradRampset_ramp (float initgradstrength, float finalgradstrength, double timestep, rampType type=linear, float steepnessfactor=1.0, bool reverse=false)
SeqGradRampset_ramp (double gradduration, float initgradstrength, float finalgradstrength, double timestep, rampType type=linear, bool reverse=false)
rampType get_ramptype () const
SeqGradRampoperator= (const SeqGradRamp &sgr)
SeqGradInterfaceset_strength (float gradstrength)

Detailed Description

Gradient Ramp.

This class represents a digitized gradient ramp.

Definition at line 73 of file seqgradramp.h.


Constructor & Destructor Documentation

SeqGradRamp::SeqGradRamp ( const STD_string &  object_label,
channelNo  gradchannel,
float  initgradstrength,
float  finalgradstrength,
double  timestep,
rampType  type = linear,
float  steepnessfactor = 1.0,
bool  reverse = false 
)

Constructs a gradient ramp labeled 'object_label' with the following properties:

SeqGradRamp::SeqGradRamp ( const STD_string &  object_label,
channelNo  gradchannel,
double  gradduration,
float  initgradstrength,
float  finalgradstrength,
double  timestep,
rampType  type = linear,
bool  reverse = false 
)

Constructs a gradient ramp labeled 'object_label' with the following properties:

SeqGradRamp::SeqGradRamp ( const SeqGradRamp sgr  ) 

Constructs a copy of 'sgr'

SeqGradRamp::SeqGradRamp ( const STD_string &  object_label = "unnamedSeqGradRamp"  ) 

Construct an empty gradient object with the given label


Member Function Documentation

SeqGradRamp& SeqGradRamp::set_ramp ( float  initgradstrength,
float  finalgradstrength,
double  timestep,
rampType  type = linear,
float  steepnessfactor = 1.0,
bool  reverse = false 
)

Sets the ramp according to the following parameters:

SeqGradRamp& SeqGradRamp::set_ramp ( double  gradduration,
float  initgradstrength,
float  finalgradstrength,
double  timestep,
rampType  type = linear,
bool  reverse = false 
)

Sets the ramp according to the following parameters:

rampType SeqGradRamp::get_ramptype (  )  const [inline]

Returns the shape for the ramp

Definition at line 148 of file seqgradramp.h.

SeqGradRamp& SeqGradRamp::operator= ( const SeqGradRamp sgr  ) 

Assignment operator that makes this gradient channel object become a copy of 'sgr'

SeqGradInterface& SeqGradRamp::set_strength ( float  gradstrength  )  [virtual]

Changes the strength of the gradient object

Reimplemented from SeqGradChan.


The documentation for this class was generated from the following file:
Generated on Sat Jun 14 12:32:28 2008 by  doxygen 1.5.1