Class for all bodies with a NURBS surface and a primitive closure. More...
#include <nurbsdisk.h>
Public Member Functions | |
std::string | getClassName () |
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 () |
std::vector< double > | getRow (int i) |
virtual void | initializeUsingXML (xercesc::DOMElement *element) |
xercesc::DOMElement * | writeXMLFile (xercesc::DOMNode *parent) |
![]() | |
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 | setHDF5LinkTarget (const boost::shared_ptr< Body > &dest) |
boost::shared_ptr< Body > & | getHDF5LinkTarget () |
bool | isHDF5Link () |
void | setOutLine (bool ol) |
bool | getOutLine () |
void | setShilouetteEdge (bool ol) |
bool | getShilouetteEdge () |
void | setDrawMethod (DrawStyle ds) |
DrawStyle | getDrawMethod () |
![]() | |
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 (bool includingFileName=false, bool stopAtSeparateFile=false) |
boost::shared_ptr< Group > | getSeparateGroup () |
boost::shared_ptr< Group > | getTopLevelGroup () |
boost::weak_ptr< Group > | getParent () |
H5::GroupBase * | getHDF5Group () |
std::string | getID () const |
void | setID (std::string ID_) |
bool | getSelected () const |
void | setSelected (bool selected_) |
![]() | |
Atom & | operator= (const Atom &) |
void | setMessageStreamActive (MsgType type, bool active) |
void | getMessageStream (MsgType type, boost::shared_ptr< bool > &a, boost::shared_ptr< std::ostream > &s) |
void | adoptMessageStreams (const Atom *src=NULL) |
std::ostream & | msg (MsgType type) |
bool | msgAct (MsgType type) |
Protected Member Functions | |
void | createHDF5File () |
void | openHDF5File () |
![]() | |
void | terminate () |
![]() | |
Atom (const Atom &src) | |
Protected Attributes | |
H5::VectorSerie< double > * | data |
std::string | localFrameStr |
String that contains, whether reference Frame should be drawn (="True") or not (="False") | |
double | scaleFactor |
int | drawDegree |
double | Ri |
double | Ro |
int | ElementNumberAzimuthal |
int | ElementNumberRadial |
int | InterpolationDegreeAzimuthal |
int | InterpolationDegreeRadial |
std::vector< double > | KnotVecAzimuthal |
std::vector< double > | KnotVecRadial |
float * | DiskNormal |
float * | DiskPoint |
![]() | |
double | minimalColorValue |
double | maximalColorValue |
double | dynamicColor |
std::vector< double > | diffuseColor |
double | transparency |
![]() | |
std::string | outLineStr |
std::string | shilouetteEdgeStr |
DrawStyle | drawMethod |
boost::shared_ptr< Body > | hdf5LinkBody |
std::string | hdf5LinkStr |
![]() | |
std::string | name |
std::string | enableStr |
std::string | boundingBoxStr |
std::string | ID |
bool | selected |
boost::weak_ptr< Group > | parent |
H5::GroupBase * | hdf5Group |
Friends | |
class | ObjectFactory |
Additional Inherited Members | |
![]() | |
enum | DrawStyle { filled, lines, points } |
![]() | |
enum | MsgType |
![]() | |
static double | getDouble (xercesc::DOMElement *e) |
static std::vector< double > | getVec (xercesc::DOMElement *e, unsigned int rows=0) |
static std::vector < std::vector< double > > | getMat (xercesc::DOMElement *e, unsigned int rows=0, unsigned int cols=0) |
static std::vector< int > | getIntVec (xercesc::DOMElement *e, unsigned int rows=0) |
static std::string | numtostr (int i) |
static std::string | numtostr (double d) |
template<class T > | |
static void | addElementText (xercesc::DOMElement *parent, const MBXMLUtils::FQN &name, const T &value) |
static void | addElementText (xercesc::DOMElement *parent, const MBXMLUtils::FQN &name, double value, double def) |
static void | addElementText (xercesc::DOMElement *parent, const MBXMLUtils::FQN &name, const std::vector< double > &value) |
static void | addElementText (xercesc::DOMElement *parent, const MBXMLUtils::FQN &name, const std::vector< std::vector< double > > &value) |
static void | addElementText (xercesc::DOMElement *parent, const MBXMLUtils::FQN &name, const std::vector< int > &value) |
template<class T > | |
static void | addAttribute (xercesc::DOMNode *node, std::string name, T value) |
template<class T > | |
static void | addAttribute (xercesc::DOMNode *node, std::string name, T value, std::string def) |
![]() | |
static void | setCurrentMessageStream (MsgType type, const boost::shared_ptr< bool > &a=boost::make_shared< bool >(true), const boost::shared_ptr< std::ostream > &s=boost::make_shared< std::ostream >(std::cout.rdbuf())) |
static std::ostream & | msgStatic (MsgType type) |
static bool | msgActStatic (MsgType type) |
![]() | |
static std::vector< double > | toVector (std::string str) |
static std::vector < std::vector< double > > | toMatrix (std::string str) |
static std::vector< int > | toIntVector (std::string str) |
static std::vector < std::vector< int > > | toIntMatrix (std::string str) |
Class for all bodies with a NURBS surface and a primitive closure.
|
inline |
Append a data vector to the h5 datsset
|
protectedvirtual |
Write H5 file for time-dependent data.
Reimplemented from OpenMBV::Body.
|
inlinevirtual |
Retrun the class name
Reimplemented from OpenMBV::Body.
|
inlinevirtual |
Get row number i of the default data. NOTE: see also append()
Implements OpenMBV::Body.
|
inlinevirtual |
Get the number of rows of the default data. Returns -1, if no default data is avaliable. NOTE: see also append()
Implements OpenMBV::Body.
|
virtual |
Initializes the time invariant part of the object using a XML node
Reimplemented from OpenMBV::DynamicColoredBody.
|
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.
|
virtual |
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.