Definition at line 27 of file VP1CoordinateAxes.cxx.
◆ Imp()
| VP1CoordinateAxes::Imp::Imp |
( |
VP1CoordinateAxes * | tc, |
|
|
SoMaterial * | xmat, |
|
|
SoMaterial * | ymat, |
|
|
SoMaterial * | zmat, |
|
|
SoSeparator * | attachsep ) |
Definition at line 82 of file VP1CoordinateAxes.cxx.
87{
92}
SoTranslation * singleaxis_cyltranslation
SoTranslation * singleaxis_conetranslation
SoMaterial * materialYAxis
SoSphere * alternative_Sphere
SoMaterial * materialXAxis
SoTranslation * overall_translation
SoMaterial * materialZAxis
VP1CoordinateAxes * theclass
SoCylinder * singleaxis_cyl
SoSeparator * singleaxis_sep
◆ ensureInit3DObjects()
| void VP1CoordinateAxes::Imp::ensureInit3DObjects |
( |
| ) |
|
Definition at line 95 of file VP1CoordinateAxes.cxx.
96{
98 return;
99 theclass->messageVerbose(
"Building 3D objects");
100 sep =
new SoSeparator;
sep->ref();
101
107
109
111
112 #if defined BUILDVP1LIGHT
114 #else
116 #endif
117
118 if (alternativeRep) {
122 return;
123 }
124
125
128
129 SoRotationXYZ * rotx = new SoRotationXYZ;
130 rotx->axis.setValue(SoRotationXYZ::Z);
131 rotx->angle.setValue(-0.5*
M_PI);
133
136
137
138 SoRotationXYZ * rotz = new SoRotationXYZ;
139 rotz->axis.setValue(SoRotationXYZ::X);
140 rotz->angle.setValue(0.5*
M_PI);
142
145
146 singleaxis_cyl->parts.setValue(SoCylinder::SIDES|SoCylinder::BOTTOM);
147}
static bool environmentVariableIsOn(const QString &name)
static bool expertSettingIsOn(const QString &type, const QString &name)
◆ updateFields()
| void VP1CoordinateAxes::Imp::updateFields |
( |
| ) |
|
Definition at line 150 of file VP1CoordinateAxes.cxx.
151{
153 theclass->messageVerbose(
"Updating fields");
154
155 const bool save =
sep->enableNotify(
false);
156
158 const double coneradius = 1.5*cylradius;
159 const double coneheight = 2.0*coneradius;
161
164 } else {
171 }
172
173 if (save) {
174 sep->enableNotify(
true);
176 }
177}
void ensureInit3DObjects()
◆ alternative_Sphere
| SoSphere* VP1CoordinateAxes::Imp::alternative_Sphere |
◆ attachSep
| SoSeparator* VP1CoordinateAxes::Imp::attachSep |
◆ axislength
| double VP1CoordinateAxes::Imp::axislength |
◆ materialXAxis
| SoMaterial* VP1CoordinateAxes::Imp::materialXAxis |
◆ materialYAxis
| SoMaterial* VP1CoordinateAxes::Imp::materialYAxis |
◆ materialZAxis
| SoMaterial* VP1CoordinateAxes::Imp::materialZAxis |
◆ origo
| SbVec3f VP1CoordinateAxes::Imp::origo |
◆ overall_translation
| SoTranslation* VP1CoordinateAxes::Imp::overall_translation |
◆ relaxisthick
| double VP1CoordinateAxes::Imp::relaxisthick |
◆ sep
| SoSeparator* VP1CoordinateAxes::Imp::sep |
◆ shown
| bool VP1CoordinateAxes::Imp::shown |
◆ singleaxis_cone
| SoCone* VP1CoordinateAxes::Imp::singleaxis_cone |
◆ singleaxis_conetranslation
| SoTranslation* VP1CoordinateAxes::Imp::singleaxis_conetranslation |
◆ singleaxis_cyl
| SoCylinder* VP1CoordinateAxes::Imp::singleaxis_cyl |
◆ singleaxis_cyltranslation
| SoTranslation* VP1CoordinateAxes::Imp::singleaxis_cyltranslation |
◆ singleaxis_sep
| SoSeparator* VP1CoordinateAxes::Imp::singleaxis_sep |
◆ theclass
The documentation for this class was generated from the following file: