openmbvcppinterface
3.1.0
OpenMBV C++ Interface
|
Class for all bodies with a NURBS surface and a primitive closure. More...
#include <nurbsdisk.h>
Public Member Functions | |
void | setLocalFrame (bool f) |
bool | getLocalFrame () |
void | setScaleFactor (const double scale) |
double | getScaleFactor () |
void | setDrawDegree (int drawDegree_) |
int | getDrawDegree () |
void | setRadii (double Ri_, double Ro_) |
void | setRi (double Ri_) |
void | setRo (double Ro_) |
double | getRi () |
double | getRo () |
void | setKnotVecAzimuthal (const std::vector< double > &KnotVecAzimuthal_) |
std::vector< double > | getKnotVecAzimuthal () |
void | setKnotVecRadial (const std::vector< double > &KnotVecRadial_) |
std::vector< double > | getKnotVecRadial () |
void | setElementNumberAzimuthal (int ElementNumberAzimuthal_) |
int | getElementNumberAzimuthal () |
void | setElementNumberRadial (int ElementNumberRadial_) |
int | getElementNumberRadial () |
void | setInterpolationDegreeRadial (int InterpolationDegreeRadial_) |
int | getInterpolationDegreeRadial () |
void | setInterpolationDegreeAzimuthal (int InterpolationDegreeAzimuthal_) |
int | getInterpolationDegreeAzimuthal () |
void | setDiskNormal (float *DiskNormal_) |
float * | getDiskNormal () |
void | setDiskPoint (float *DiskPoint_) |
float * | getDiskPoint () |
template<typename T > | |
void | append (const T &row) |
int | getRows () override |
std::vector< double > | getRow (int i) override |
void | initializeUsingXML (xercesc::DOMElement *element) override |
xercesc::DOMElement * | writeXMLFile (xercesc::DOMNode *parent) override |
![]() | |
void | setMinimalColorValue (double min) |
double | getMinimalColorValue () |
void | setMaximalColorValue (double max) |
double | getMaximalColorValue () |
void | setDynamicColor (const double col) |
double | getDynamicColor () |
void | setDiffuseColor (const std::vector< double > &hsv) |
void | setDiffuseColor (double h, double s, double v) |
std::vector< double > | getDiffuseColor () |
void | setTransparency (double t) |
double | getTransparency () |
void | initializeUsingXML (xercesc::DOMElement *element) override |
xercesc::DOMElement * | writeXMLFile (xercesc::DOMNode *parent) override |
![]() | |
void | setOutLine (bool ol) |
bool | getOutLine () |
void | setShilouetteEdge (bool ol) |
bool | getShilouetteEdge () |
void | setDrawMethod (DrawStyle ds) |
DrawStyle | getDrawMethod () |
void | setPointSize (double ps) |
double | getPointSize () |
void | setLineWidth (double lw) |
double | getLineWidth () |
void | initializeUsingXML (xercesc::DOMElement *element) override |
xercesc::DOMElement * | writeXMLFile (xercesc::DOMNode *parent) override |
virtual int | getRows ()=0 |
virtual std::vector< double > | getRow (int i)=0 |
![]() | |
void | setEnable (bool enable) |
bool | getEnable () |
void | setBoundingBox (bool bbox) |
bool | getBoundingBox () |
void | setName (const std::string &name_) |
std::string | getName () |
virtual std::string | getFullName () |
void | setEnvironment (bool env) |
bool | getEnvironment () |
virtual void | initializeUsingXML (xercesc::DOMElement *element) |
virtual xercesc::DOMElement * | writeXMLFile (xercesc::DOMNode *parent) |
std::shared_ptr< Group > | getTopLevelGroup () |
std::weak_ptr< Group > | getParent () |
H5::GroupBase * | getHDF5Group () |
std::string | getID () const |
void | setID (std::string ID_) |
Protected Member Functions | |
void | createHDF5File () override |
void | openHDF5File () override |
void | createHDF5File () override |
void | openHDF5File () override |
virtual void | createHDF5File ()=0 |
virtual void | openHDF5File ()=0 |
Protected Attributes | |
H5::VectorSerie< double > * | data {nullptr} |
std::string | localFrameStr |
String that contains, whether reference Frame should be drawn (="True") or not (="False") | |
double | scaleFactor {1} |
int | drawDegree {1} |
double | Ri {0.} |
double | Ro {0.} |
int | ElementNumberAzimuthal {0} |
int | ElementNumberRadial {0} |
int | InterpolationDegreeAzimuthal {8} |
int | InterpolationDegreeRadial {3} |
std::vector< double > | KnotVecAzimuthal |
std::vector< double > | KnotVecRadial |
float * | DiskNormal {nullptr} |
float * | DiskPoint {nullptr} |
![]() | |
double | minimalColorValue {0} |
double | maximalColorValue {1} |
double | dynamicColor |
std::vector< double > | diffuseColor |
double | transparency {0} |
![]() | |
std::string | outLineStr |
std::string | shilouetteEdgeStr |
DrawStyle | drawMethod {filled} |
double | pointSize {0} |
double | lineWidth {0} |
![]() | |
std::string | name |
std::string | enableStr |
std::string | boundingBoxStr |
std::string | ID |
std::string | environmentStr |
std::weak_ptr< Group > | parent |
H5::GroupBase * | hdf5Group {nullptr} |
std::string | fullName |
Friends | |
class | ObjectFactory |
Additional Inherited Members | |
![]() | |
enum | DrawStyle { filled , lines , points } |
Class for all bodies with a NURBS surface and a primitive closure.
|
inline |
Append a data vector to the h5 datsset
|
overrideprotectedvirtual |
Write H5 file for time-dependent data.
Reimplemented from OpenMBV::Body.
|
inlineoverridevirtual |
Get row number i of the default data. NOTE: see also append()
Implements OpenMBV::Body.
|
inlineoverridevirtual |
Get the number of rows of the default data. Returns 0, if no default data is avaliable. NOTE: see also append()
Implements OpenMBV::Body.
|
overridevirtual |
Initializes the time invariant part of the object using a XML node
Reimplemented from OpenMBV::DynamicColoredBody.
|
overrideprotectedvirtual |
Reimplemented from OpenMBV::Body.
|
inline |
Set the global vector of the normal of the disk
|
inline |
Set the point in the center of the disk
|
inline |
Set the number of points drawn between the nodes.
|
inline |
Set the azimuthal number of finite elements used for drawing.
|
inline |
Set the radial number of finite elements used for drawing.
|
inline |
Set the degree of the interpolating splines in azimuthal direction.
|
inline |
Set the degree of the interpolating splines in radial direction.
|
inline |
Set the azimuthal knot vector. These values should be set to the optimal circle values.
|
inline |
Set the radial knot vector. These value should be set to 1 each, resulting in a B-Spline curve.
|
inline |
Draw reference frame of this object in the viewer if true (the default)
|
inline |
Set the inner and outer radius of the disk.
|
inline |
Set the inner radius of the disk.
|
inline |
Set the inner radius of the disk.
|
inline |
Set the scale factor of the body.
|
overridevirtual |
Write XML file for not time-dependent data.
Reimplemented from OpenMBV::DynamicColoredBody.
|
protected |
Each row comprises [time,].
|
protected |
Normal of the disk in global coordinates
|
protected |
Point on the center of the disk used for visualisation
|
protected |
Number of points drawn between the nodes.
|
protected |
Number of finite elements in azimuthal and radial direction
|
protected |
Degree of interpolating spline polynomials in radial and azimuthal direction
|
protected |
Knot vector for azimuthal and radial direction
|
protected |
Inner and outer radius of disk
|
protected |
Scale factor of the body.