PeriDyno 1.0.0
Loading...
Searching...
No Matches
dyno::RigidBodyItemLayout Class Reference

#include <QVehicleInfoWidget.h>

Inheritance diagram for dyno::RigidBodyItemLayout:
Collaboration diagram for dyno::RigidBodyItemLayout:

Public Slots

void emitRemove ()
 
void emitChange (int v)
 
void emitNameChange (int v)
 
void createRigidDetailWidget ()
 Create RigidBody Detail Panel.
 

Signals

void removeByElementIndexId (int)
 RigidBody Index in the current list.
 
void valueChange (int)
 RigidBody Data Change.
 
void nameChange (int)
 RigidBody Name Change.
 

Public Member Functions

 RigidBodyItemLayout (int id)
 
 ~RigidBodyItemLayout ()
 
VehicleRigidBodyInfo value ()
 Get current RigidBodyInfo.
 
void setValue (const VehicleRigidBodyInfo &v)
 Initialization RigidBodyInfo.
 
void setId (int id)
 Index in the current RigidBody list.
 
void setObjId (int id)
 Unique objId used to identify this Item.
 
int getObjID ()
 Unique objId used to identify this Item.
 
int getRigidID ()
 RigidBody Index in the current list.
 
ConfigShapeType getType ()
 

Public Attributes

QLineEdit * mNameInput = nullptr
 
VehicleRigidBodyInfo mRigidInfo
 

Private Attributes

int mElementIndex = -1
 
QSpinBox * mShapeIDSpin = nullptr
 
QPushButton * mRemoveButton = nullptr
 
QPushButton * mOffsetButton = nullptr
 
QLabel * mIndexLabel = nullptr
 
QComboBox * mTypeCombox = nullptr
 
const std::vector< ConfigShapeTypemVecShapeType = { Box,Tet,Capsule,Sphere ,Tri, OtherShape }
 
int mObjID = -1
 
std::vector< QRigidBodyDetail * > mDetailWidgets
 

Detailed Description

Definition at line 118 of file QVehicleInfoWidget.h.

Constructor & Destructor Documentation

◆ RigidBodyItemLayout()

dyno::RigidBodyItemLayout::RigidBodyItemLayout ( int id)

Definition at line 299 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:

◆ ~RigidBodyItemLayout()

dyno::RigidBodyItemLayout::~RigidBodyItemLayout ( )

Definition at line 370 of file QVehicleInfoWidget.cpp.

Member Function Documentation

◆ createRigidDetailWidget

void dyno::RigidBodyItemLayout::createRigidDetailWidget ( )
slot

Create RigidBody Detail Panel.

Definition at line 417 of file QVehicleInfoWidget.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ emitChange

void dyno::RigidBodyItemLayout::emitChange ( int v)
inlineslot

Definition at line 176 of file QVehicleInfoWidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ emitNameChange

void dyno::RigidBodyItemLayout::emitNameChange ( int v)
inlineslot

Definition at line 178 of file QVehicleInfoWidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ emitRemove

void dyno::RigidBodyItemLayout::emitRemove ( )
inlineslot

Definition at line 174 of file QVehicleInfoWidget.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getObjID()

int dyno::RigidBodyItemLayout::getObjID ( )
inline

Unique objId used to identify this Item.

Definition at line 147 of file QVehicleInfoWidget.h.

◆ getRigidID()

int dyno::RigidBodyItemLayout::getRigidID ( )
inline

RigidBody Index in the current list.

Definition at line 152 of file QVehicleInfoWidget.h.

◆ getType()

ConfigShapeType dyno::RigidBodyItemLayout::getType ( )
inline

Definition at line 154 of file QVehicleInfoWidget.h.

◆ nameChange

void dyno::RigidBodyItemLayout::nameChange ( int )
signal

RigidBody Name Change.

Here is the caller graph for this function:

◆ removeByElementIndexId

void dyno::RigidBodyItemLayout::removeByElementIndexId ( int )
signal

RigidBody Index in the current list.

Here is the caller graph for this function:

◆ setId()

void dyno::RigidBodyItemLayout::setId ( int id)
inline

Index in the current RigidBody list.

Definition at line 137 of file QVehicleInfoWidget.h.

◆ setObjId()

void dyno::RigidBodyItemLayout::setObjId ( int id)
inline

Unique objId used to identify this Item.

Definition at line 142 of file QVehicleInfoWidget.h.

Here is the caller graph for this function:

◆ setValue()

void dyno::RigidBodyItemLayout::setValue ( const VehicleRigidBodyInfo & v)

Initialization RigidBodyInfo.

Definition at line 397 of file QVehicleInfoWidget.cpp.

Here is the caller graph for this function:

◆ value()

VehicleRigidBodyInfo dyno::RigidBodyItemLayout::value ( )

Get current RigidBodyInfo.

Definition at line 388 of file QVehicleInfoWidget.cpp.

◆ valueChange

void dyno::RigidBodyItemLayout::valueChange ( int )
signal

RigidBody Data Change.

Here is the caller graph for this function:

Member Data Documentation

◆ mDetailWidgets

std::vector<QRigidBodyDetail*> dyno::RigidBodyItemLayout::mDetailWidgets
private

Definition at line 206 of file QVehicleInfoWidget.h.

◆ mElementIndex

int dyno::RigidBodyItemLayout::mElementIndex = -1
private

Definition at line 193 of file QVehicleInfoWidget.h.

◆ mIndexLabel

QLabel* dyno::RigidBodyItemLayout::mIndexLabel = nullptr
private

Definition at line 199 of file QVehicleInfoWidget.h.

◆ mNameInput

QLineEdit* dyno::RigidBodyItemLayout::mNameInput = nullptr

Definition at line 187 of file QVehicleInfoWidget.h.

◆ mObjID

int dyno::RigidBodyItemLayout::mObjID = -1
private

Definition at line 205 of file QVehicleInfoWidget.h.

◆ mOffsetButton

QPushButton* dyno::RigidBodyItemLayout::mOffsetButton = nullptr
private

Definition at line 198 of file QVehicleInfoWidget.h.

◆ mRemoveButton

QPushButton* dyno::RigidBodyItemLayout::mRemoveButton = nullptr
private

Definition at line 197 of file QVehicleInfoWidget.h.

◆ mRigidInfo

VehicleRigidBodyInfo dyno::RigidBodyItemLayout::mRigidInfo

Definition at line 188 of file QVehicleInfoWidget.h.

◆ mShapeIDSpin

QSpinBox* dyno::RigidBodyItemLayout::mShapeIDSpin = nullptr
private

Definition at line 196 of file QVehicleInfoWidget.h.

◆ mTypeCombox

QComboBox* dyno::RigidBodyItemLayout::mTypeCombox = nullptr
private

Definition at line 200 of file QVehicleInfoWidget.h.

◆ mVecShapeType

const std::vector<ConfigShapeType> dyno::RigidBodyItemLayout::mVecShapeType = { Box,Tet,Capsule,Sphere ,Tri, OtherShape }
private

Definition at line 203 of file QVehicleInfoWidget.h.


The documentation for this class was generated from the following files: