Itasca C++ Interface
Loading...
Searching...
No Matches
irblocktemplate.h
1#pragma once
2
3namespace itasca {
4 class IThing;
5}
6
7namespace rblock {
8 using namespace itasca;
9 class IRBlock;
10
12 public:
14 inline static const TType type_ = 0x55ef2418;
16 virtual IThing * getIThing()=0;
18 virtual const IThing * getIThing() const=0;
20 virtual IRBlock * getIRBlock()=0;
22 virtual const IRBlock * getIRBlock() const=0;
24 virtual IString getName() const=0;
27 virtual double getMoiCompTemp(int) const = 0;
29 virtual DAVect getMoiTemp() const=0;
30 virtual double getVolumeTemp() const=0;
31 virtual void setVolumeTemp(const double &d)=0;
34 virtual void setMoiCompTemp(const double &,int) = 0;
36 virtual void setMoiTemp(const DAVect &)=0;
37#ifdef THREED
38 virtual SymTensor getMoiTensor() const = 0;
39#endif
40
41
42 };
43} // namespace rblock
44// EoF
45
Definition istring.h:14
A symmetric 2nd order tensor.
Definition symtensor.h:22
Base class for items that will be stored in containers.
Definition ithing.h:30
Definition irblock.h:25
Definition irblocktemplate.h:11
virtual IThing * getIThing()=0
Return an IThing interface for this object.
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 IString getName() const =0
Return the name of the template.
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:14
uint32 TType
class type indicator
Definition basedef.h:46
DAVect3 DAVect
Angular vector of doubles, either 2D or 3D.
Definition dim.h:162
namespace Itasca
Definition basememory.cpp:14