Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
irblocktemplate.h
1
#pragma once
2
3
namespace
itasca
{
4
class
IThing
;
5
}
6
7
namespace
rblock {
8
using namespace
itasca;
9
class
IRBlock
;
10
11
class
IRBlockTemplate
{
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
IString
Definition
istring.h:14
SymTensor
A symmetric 2nd order tensor.
Definition
symtensor.h:22
itasca::IThing
Base class for items that will be stored in containers.
Definition
ithing.h:30
rblock::IRBlock
Definition
irblock.h:25
rblock::IRBlockTemplate
Definition
irblocktemplate.h:11
rblock::IRBlockTemplate::getIThing
virtual IThing * getIThing()=0
Return an IThing interface for this object.
rblock::IRBlockTemplate::getMoiCompTemp
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.
rblock::IRBlockTemplate::getIRBlock
virtual IRBlock * getIRBlock()=0
Return an IRBlock interface for this object.
rblock::IRBlockTemplate::setMoiTemp
virtual void setMoiTemp(const DAVect &)=0
Set the inertia tensor in principal axis form.
rblock::IRBlockTemplate::setMoiCompTemp
virtual void setMoiCompTemp(const double &, int)=0
rblock::IRBlockTemplate::getName
virtual IString getName() const =0
Return the name of the template.
rblock::IRBlockTemplate::getIRBlock
virtual const IRBlock * getIRBlock() const =0
Return a const IRBlock interface for this object.
rblock::IRBlockTemplate::getIThing
virtual const IThing * getIThing() const =0
Return a const IThing interface for this object.
rblock::IRBlockTemplate::getMoiTemp
virtual DAVect getMoiTemp() const =0
Return the inertia tensor in principal axis form.
rblock::IRBlockTemplate::type_
static const TType type_
TType for type casting.
Definition
irblocktemplate.h:14
TType
uint32 TType
class type indicator
Definition
basedef.h:46
DAVect
DAVect3 DAVect
Angular vector of doubles, either 2D or 3D.
Definition
dim.h:158
itasca
namespace Itasca
Definition
basememory.cpp:10
pfc
rblock
interface
irblocktemplate.h
Generated by
1.18.0