INET Framework for OMNeT++/OMNEST
|
This class represents an immobile physical object, a rigid body and its physical properties. More...
#include <PhysicalObject.h>
Public Member Functions | |
PhysicalObject (const char *name, int id, const Coord &position, const EulerAngles &orientation, const ShapeBase *shape, const Material *material, double lineWidth, const cFigure::Color &lineColor, const cFigure::Color &fillColor, double opacity, const char *texture, const char *tags) | |
virtual int | getId () const |
virtual const Coord & | getPosition () const override |
virtual const EulerAngles & | getOrientation () const override |
virtual const ShapeBase * | getShape () const override |
virtual const Material * | getMaterial () const override |
virtual double | getLineWidth () const override |
virtual const cFigure::Color & | getLineColor () const override |
virtual const cFigure::Color & | getFillColor () const override |
virtual double | getOpacity () const override |
virtual const char * | getTexture () const override |
virtual const char * | getTags () const override |
Protected Attributes | |
const int | id |
A globally unique identifier for the whole lifetime of the simulation among all physical objects. More... | |
Object properties | |
Coord | position |
The center of the object's bounding box. More... | |
EulerAngles | orientation |
The orientation of the object relative to the default orientation of the shape. More... | |
const ShapeBase * | shape |
The shape of the object independently of its position and orientation. More... | |
const Material * | material |
The material of the object determines its physical properties. More... | |
Graphics properties | |
const double | lineWidth |
const cFigure::Color | lineColor |
const cFigure::Color | fillColor |
const double | opacity |
const char * | texture |
const char * | tags |
This class represents an immobile physical object, a rigid body and its physical properties.
The properties of physical objects cannot change over time.
inet::physicalenvironment::PhysicalObject::PhysicalObject | ( | const char * | name, |
int | id, | ||
const Coord & | position, | ||
const EulerAngles & | orientation, | ||
const ShapeBase * | shape, | ||
const Material * | material, | ||
double | lineWidth, | ||
const cFigure::Color & | lineColor, | ||
const cFigure::Color & | fillColor, | ||
double | opacity, | ||
const char * | texture, | ||
const char * | tags | ||
) |
|
inlineoverridevirtual |
Implements inet::physicalenvironment::IPhysicalObject.
|
inlinevirtual |
|
inlineoverridevirtual |
Implements inet::physicalenvironment::IPhysicalObject.
|
inlineoverridevirtual |
Implements inet::physicalenvironment::IPhysicalObject.
|
inlineoverridevirtual |
Implements inet::physicalenvironment::IPhysicalObject.
|
inlineoverridevirtual |
Implements inet::physicalenvironment::IPhysicalObject.
|
inlineoverridevirtual |
Implements inet::physicalenvironment::IPhysicalObject.
|
inlineoverridevirtual |
Implements inet::physicalenvironment::IPhysicalObject.
|
inlineoverridevirtual |
Implements inet::physicalenvironment::IPhysicalObject.
|
inlineoverridevirtual |
Implements inet::physicalenvironment::IPhysicalObject.
|
inlineoverridevirtual |
Implements inet::physicalenvironment::IPhysicalObject.
|
protected |
|
protected |
A globally unique identifier for the whole lifetime of the simulation among all physical objects.
|
protected |
|
protected |
|
protected |
The material of the object determines its physical properties.
The physical object doesn't own its material.
|
protected |
|
protected |
The orientation of the object relative to the default orientation of the shape.
|
protected |
The center of the object's bounding box.
|
protected |
The shape of the object independently of its position and orientation.
The physical object doesn't own its shape.
|
protected |
|
protected |