Itasca C++ Interface
Loading...
Searching...
No Matches
irblocktemplate.h
1#pragma once
2
3#include "baseqt/src/baseqt.h"
4
5namespace itasca {
6 class IThing;
7}
8
9namespace rblock {
10 using namespace itasca;
11 class IRBlock;
12
14 public:
16 inline static const TType type_ = 0x55ef2418;
18 virtual IThing * getIThing()=0;
20 virtual const IThing * getIThing() const=0;
22 virtual IRBlock * getIRBlock()=0;
24 virtual const IRBlock * getIRBlock() const=0;
26 virtual string getName() const=0;
29 virtual double getMoiCompTemp(int) const = 0;
31 virtual DAVect getMoiTemp() const=0;
32 virtual double getVolumeTemp() const=0;
33 virtual void setVolumeTemp(const double &d)=0;
36 virtual void setMoiCompTemp(const double &,int) = 0;
38 virtual void setMoiTemp(const DAVect &)=0;
39#ifdef THREED
40 virtual SymTensor getMoiTensor() const = 0;
41#endif
42
43
44 };
45} // namespace rblock
46// EoF
47
A symmetric 2nd order tensor.
Definition symtensor.h:22
Base class for items that will be stored in containers.
Definition ithing.h:31
Definition irblock.h:26
Definition irblocktemplate.h:13
virtual IThing * getIThing()=0
Return an IThing interface for this object.
virtual string getName() const =0
Return the name of the template.
virtual double getMoiCompTemp(int) const =0
Admissible values are: 11,12,13,22,23,33 in 3D. This is as the RBlock template has been imported.
virtual IRBlock * getIRBlock()=0
Return an IRBlock interface for this object.
virtual void setMoiTemp(const DAVect &)=0
Set the inertia tensor in principal axis form.
virtual void setMoiCompTemp(const double &, int)=0
virtual const IRBlock * getIRBlock() const =0
Return a const IRBlock interface for this object.
virtual const IThing * getIThing() const =0
Return a const IThing interface for this object.
virtual DAVect getMoiTemp() const =0
Return the inertia tensor in principal axis form.
static const TType type_
TType for type casting.
Definition irblocktemplate.h:16
uint32 TType
class type indicator
Definition basedef.h:47
DAVect3 DAVect
Angular vector of doubles, either 2D or 3D.
Definition dim.h:164
namespace Itasca
Definition basememory.cpp:14