MeVisLab Resolution Independence API
SoCalculatorWrapper Class Reference

SoCalculatorWrapper wraps the SoCalculator engine to make it usable inside of MeVisLab. More...

#include <SoCalculatorWrapper.h>

Inheritance diagram for SoCalculatorWrapper:

Public Member Functions

 SoCalculatorWrapper ()
 Constructor.
 
void inputChanged (SoField *whichField) override
 handle input field changes and recompute output fields
 
void evaluate () override
 empty reimplementation of SoEngine method
 

Static Public Member Functions

static void initClass ()
 inventor runtime type system init
 

Public Attributes

SoSFFloat a
 Fields.
 
SoSFFloat b
 
SoSFFloat c
 
SoSFFloat d
 
SoSFFloat e
 
SoSFFloat f
 
SoSFFloat g
 
SoSFFloat h
 
SoSFVec3f va
 input vector fields
 
SoSFVec3f vb
 
SoSFVec3f vc
 
SoSFVec3f vd
 
SoSFVec3f ve
 
SoSFVec3f vf
 
SoSFVec3f vg
 
SoSFVec3f vh
 
SoSFFloat oa
 output float fields
 
SoSFFloat ob
 
SoSFFloat oc
 
SoSFFloat od
 
SoSFVec3f ova
 output vector fields
 
SoSFVec3f ovb
 
SoSFVec3f ovc
 
SoSFVec3f ovd
 
SoSFString expression
 expression that is used to calculate the results
 

Protected Member Functions

 ~SoCalculatorWrapper () override
 

Detailed Description

SoCalculatorWrapper wraps the SoCalculator engine to make it usable inside of MeVisLab.

Uppercase vectors A,B,...,oA,oB of the SoCalculator Engine are mapped to va,vb,...,ova,... because Field names which differ only in lower/uppercase are not supported in MeVisLab. For details on the expression syntax, see the Open Inventor documentation of SoCalculator and the HTML docs of the MeVisLab module.

Definition at line 38 of file SoCalculatorWrapper.h.

Constructor & Destructor Documentation

◆ SoCalculatorWrapper()

SoCalculatorWrapper::SoCalculatorWrapper ( )

Constructor.

◆ ~SoCalculatorWrapper()

SoCalculatorWrapper::~SoCalculatorWrapper ( )
overrideprotected

Member Function Documentation

◆ evaluate()

void SoCalculatorWrapper::evaluate ( )
inlineoverride

empty reimplementation of SoEngine method

Definition at line 71 of file SoCalculatorWrapper.h.

◆ initClass()

static void SoCalculatorWrapper::initClass ( )
static

inventor runtime type system init

◆ inputChanged()

void SoCalculatorWrapper::inputChanged ( SoField * whichField)
override

handle input field changes and recompute output fields

Member Data Documentation

◆ a

SoSFFloat SoCalculatorWrapper::a

Fields.

input float fields

Definition at line 46 of file SoCalculatorWrapper.h.

◆ b

SoSFFloat SoCalculatorWrapper::b

Definition at line 46 of file SoCalculatorWrapper.h.

◆ c

SoSFFloat SoCalculatorWrapper::c

Definition at line 46 of file SoCalculatorWrapper.h.

◆ d

SoSFFloat SoCalculatorWrapper::d

Definition at line 46 of file SoCalculatorWrapper.h.

◆ e

SoSFFloat SoCalculatorWrapper::e

Definition at line 46 of file SoCalculatorWrapper.h.

◆ expression

SoSFString SoCalculatorWrapper::expression

expression that is used to calculate the results

Definition at line 57 of file SoCalculatorWrapper.h.

◆ f

SoSFFloat SoCalculatorWrapper::f

Definition at line 46 of file SoCalculatorWrapper.h.

◆ g

SoSFFloat SoCalculatorWrapper::g

Definition at line 46 of file SoCalculatorWrapper.h.

◆ h

SoSFFloat SoCalculatorWrapper::h

Definition at line 46 of file SoCalculatorWrapper.h.

◆ oa

SoSFFloat SoCalculatorWrapper::oa

output float fields

Definition at line 52 of file SoCalculatorWrapper.h.

◆ ob

SoSFFloat SoCalculatorWrapper::ob

Definition at line 52 of file SoCalculatorWrapper.h.

◆ oc

SoSFFloat SoCalculatorWrapper::oc

Definition at line 52 of file SoCalculatorWrapper.h.

◆ od

SoSFFloat SoCalculatorWrapper::od

Definition at line 52 of file SoCalculatorWrapper.h.

◆ ova

SoSFVec3f SoCalculatorWrapper::ova

output vector fields

Definition at line 54 of file SoCalculatorWrapper.h.

◆ ovb

SoSFVec3f SoCalculatorWrapper::ovb

Definition at line 54 of file SoCalculatorWrapper.h.

◆ ovc

SoSFVec3f SoCalculatorWrapper::ovc

Definition at line 54 of file SoCalculatorWrapper.h.

◆ ovd

SoSFVec3f SoCalculatorWrapper::ovd

Definition at line 54 of file SoCalculatorWrapper.h.

◆ va

SoSFVec3f SoCalculatorWrapper::va

input vector fields

Definition at line 49 of file SoCalculatorWrapper.h.

◆ vb

SoSFVec3f SoCalculatorWrapper::vb

Definition at line 49 of file SoCalculatorWrapper.h.

◆ vc

SoSFVec3f SoCalculatorWrapper::vc

Definition at line 49 of file SoCalculatorWrapper.h.

◆ vd

SoSFVec3f SoCalculatorWrapper::vd

Definition at line 49 of file SoCalculatorWrapper.h.

◆ ve

SoSFVec3f SoCalculatorWrapper::ve

Definition at line 49 of file SoCalculatorWrapper.h.

◆ vf

SoSFVec3f SoCalculatorWrapper::vf

Definition at line 49 of file SoCalculatorWrapper.h.

◆ vg

SoSFVec3f SoCalculatorWrapper::vg

Definition at line 49 of file SoCalculatorWrapper.h.

◆ vh

SoSFVec3f SoCalculatorWrapper::vh

Definition at line 49 of file SoCalculatorWrapper.h.


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