Itasca C++ Interface
Loading...
Searching...
No Matches
iparticletrace.h
Go to the documentation of this file.
1#pragma once
2
8#include "dim.h"
9
10namespace itasca {
11 class Thing;
12 class IThing;
13}
14
15namespace itascaxd {
16 using namespace itasca;
20 public:
22 inline static const TType type_ = 0x4c815b8d;
23
25 virtual const IThing *getIThing() const=0;
26
28 virtual uint64 getID() const=0;
29
31 virtual IString getName() const=0;
32
35 virtual IString getLabel() const=0;
36
39 virtual DVect getPosition() const=0;
40
43 virtual DVect getVelocity() const=0;
44
46 virtual const IThing* getTracedObject() const= 0;
47
50 virtual bool isValid() const=0;
51
54 virtual qint64 getStartPosition() const=0;
55
58 virtual int getStorageIndex() const=0;
59
61 virtual DExtent getTraceExtent() const=0;
62
64 virtual double getMaxVelocity() const=0;
65
68 virtual const IParticleTrace *getNext() const=0;
69
70 };
71} // namespace itascaxd
72// EoF
Definition istring.h:14
Base class for items that will be stored in containers.
Definition ithing.h:30
Interface to a particular particle trace being taken by the particle trace logic.
Definition iparticletrace.h:19
virtual IString getName() const =0
Name of the particle trace - generally type and location. This name is assigned by the code.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition iparticletrace.h:22
virtual DExtent getTraceExtent() const =0
Returns the 3D region where the particle traces occured.
virtual IString getLabel() const =0
virtual uint64 getID() const =0
Unique ID associated with the particle trace.
virtual DVect getPosition() const =0
virtual bool isValid() const =0
virtual const IParticleTrace * getNext() const =0
virtual qint64 getStartPosition() const =0
virtual const IThing * getTracedObject() const =0
Returns object being traced.
virtual const IThing * getIThing() const =0
Get IThing interface for the particle trace.
virtual DVect getVelocity() const =0
virtual double getMaxVelocity() const =0
Returns the maximum scalar velocity.
virtual int getStorageIndex() const =0
DIM - Provides code portability between 2D and 3D codes.
uint32 TType
class type indicator
Definition basedef.h:46
DExtent3 DExtent
A DExtent2 in 2D, a DExtent3 in 3D.
Definition dim.h:160
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
namespace Itasca
Definition basememory.cpp:10
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4