Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
irblocktemplate.h
1
#pragma once
2
3
#include "baseqt/src/baseqt.h"
4
5
namespace
itasca
{
6
class
IThing
;
7
}
8
9
namespace
rblock {
10
using namespace
itasca;
11
class
IRBlock
;
12
13
class
IRBlockTemplate
{
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
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:31
rblock::IRBlock
Definition
irblock.h:26
rblock::IRBlockTemplate
Definition
irblocktemplate.h:13
rblock::IRBlockTemplate::getIThing
virtual IThing * getIThing()=0
Return an IThing interface for this object.
rblock::IRBlockTemplate::getName
virtual string getName() const =0
Return the name of the template.
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::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:16
TType
uint32 TType
class type indicator
Definition
basedef.h:47
DAVect
DAVect3 DAVect
Angular vector of doubles, either 2D or 3D.
Definition
dim.h:164
itasca
namespace Itasca
Definition
basememory.cpp:14
pfc
rblock
interface
irblocktemplate.h
Generated by
1.18.0