125 void Push(
double scalar);
131 virtual void Clear();
137 double operation(
double));
143 double operation(
double,
double));
Buffer for reading and writing cube data.
void LessThanOrEqual()
Pop two elements off the stack and compare them to see where one is less than or equal to the other...
void MaximumLine()
Pop one element, then push the maximum on the stack.
void And()
Pop two elements, AND them, then push the result on the stack.
void Divide()
Pops two, divides them, then pushes the quotient on the stack.
void ArctangentH()
Pops one element and push the inverse hyperbolic tangent.
void Multiply()
Pops two elements, multiplies them, then pushes the product on the stack.
void NotEqual()
Pop two elements off the stack and compare them to see where one is not equal to the other...
void GreaterThan()
Pop two elements off the stack and compare them to see where one is greater than the other...
void LeftShift()
Pop the top element, then perform a left shift with zero fill.
void MinimumLine()
Pop one element, then push the minimum on the stack.
void Arctangent()
Pops one element and push the arctangent.
void PrintTop()
Print the vector at the top of the stack.
void Arctangent2()
Pops two elements and push the arctangent.
void MinimumPixel()
Pop two elements, then push the minimum on a pixel by pixel basis back on the stack.
void Or()
Pop two elements, OR them, then push the result on the stack.
void Arccosine()
Pops one element and push the arccosine.
void LessThan()
Pop two elements off the stack and compare them to see where one is less than the other...
void Modulus()
Pops two elements, mods them, then pushes the result on the stack.
void GreaterThanOrEqual()
Pop two elements off the stack and compare them to see where one is greater than or equal to the othe...
void Cotangent()
Pops one element and push the cotangent.
QVector< double > Pop(bool keepSpecials=false)
Pop an element off the stack.
virtual ~Calculator()
Virtual Constructor.
void SineH()
Pops one element and push the hyperbolic sine.
void Negative()
Pops an element, negates it, then pushes the result.
void Log()
Pop an element, compute its log, then push the result on the stack.
void Arcsine()
Pops one element and push the arcsine.
void PerformOperation(QVector< double > &results, QVector< double >::iterator arg1Start, QVector< double >::iterator arg1End, double operation(double))
Performs the mathematical operations on each argument.
void SquareRoot()
Pop an element, compute its square root, then push the root on the stack.
void Add()
Pops two elements, adds them, then pushes the sum on the stack.
int StackSize()
Returns the current stack size.
void Subtract()
Pops two elements, subtracts them, then pushes the difference on the stack.
void Equal()
Pop two elements off the stack and compare them to see where one is equal to the other, then push the results on the stack.
Calculator()
The code that performs math operations is designed to call a function and use the result...
bool Empty()
Check if the stack is empty.
void CosineH()
Pops one element and push the hyperbolic cosine.
void Push(double scalar)
Push a scalar onto the stack.
void ArccosineH()
Pops one element and push the inverse hyperbolic cosine.
QStack< QVector< double > > * p_valStack
The current stack of arguments.
virtual void Clear()
Clear out the stack.
void AbsoluteValue()
Pop an element, compute its absolute value, then push the result on the stack.
void MaximumPixel()
Pop two elements, then push the maximum on a pixel by pixel basis back on the stack.
void Secant()
Pops one element and push the secant.
void Sine()
Pops one element and push the sine.
void RightShift()
Pop the top element, then perform a right shift with zero fill.
void Tangent()
Pops one element and push the tangent.
Namespace for ISIS/Bullet specific routines.
void Cosecant()
Pops one element and push the cosecant.
void Minimum2()
Not implemented in Calculator.cpp.
void Log10()
Pop an element, compute its base 10 log, then push the result on the stack.
void Exponent()
Pops two elements, computes the power then pushes the result on the stack The exponent has to be a sc...
void ArcsineH()
Pops one element and push the inverse hyperbolic sine.
void Cosine()
Pops one element and push the cosine.
void TangentH()
Pops one element and push the hyperbolic tangent.
void Maximum2()
Not implemented in Calculator.cpp.