Privacy
An open-source, flexible 3D physical simulation framework
mars::graphics::CoordsPrimitive Class Reference

#include <CoordsPrimitive.h>

Public Member Functions

 CoordsPrimitive (GraphicsWidget *gw, const mars::utils::Vector &size, std::string object_path, bool transformFlag=true)
 creates a coordination reference node showing axis x,y and z directions with appropriate labels More...
 
 CoordsPrimitive (GraphicsWidget *gw, std::string object_path)
 

Detailed Description

Definition at line 41 of file CoordsPrimitive.h.

Constructor & Destructor Documentation

◆ CoordsPrimitive() [1/2]

mars::graphics::CoordsPrimitive::CoordsPrimitive ( GraphicsWidget gw,
const mars::utils::Vector size,
std::string  object_path,
bool  transformFlag = true 
)

creates a coordination reference node showing axis x,y and z directions with appropriate labels

Parameters
sizeThe stretching factor of the coordination frame
transformFlagIf set false the main coordination frame will be build

Definition at line 38 of file CoordsPrimitive.cpp.

◆ CoordsPrimitive() [2/2]

mars::graphics::CoordsPrimitive::CoordsPrimitive ( GraphicsWidget gw,
std::string  object_path 
)

Definition at line 88 of file CoordsPrimitive.cpp.


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