Choreonoid  1.8
VRML.h
Go to the documentation of this file.
1 
6 #ifndef CNOID_UTIL_VRML_H
7 #define CNOID_UTIL_VRML_H
8 
9 #include "Referenced.h"
10 #include <Eigen/Core>
11 #include <Eigen/Geometry>
12 #include <cnoid/stdx/variant>
13 #include <string>
14 #include <bitset>
15 #include <vector>
16 #include <map>
17 #include "exportdecl.h"
18 
19 namespace cnoid {
20 
21 typedef bool SFBool;
22 typedef int SFInt32;
23 typedef double SFFloat;
24 typedef std::string SFString;
25 
26 // Define SFTime as struct to clearly distinguish its type from SFFloat
27 struct SFTime {
28  double value;
29  inline SFTime() { value = 0.0; }
30  inline SFTime(double time) { value = time; }
31  inline double operator=(double time) { return (value = time); }
32 };
33 
34 typedef Eigen::Vector2d SFVec2f;
35 typedef Eigen::Vector2f SFVec2s; // single-precision type used for texture coordinates
36 typedef Eigen::Vector3d SFVec3f;
37 typedef Eigen::Vector3f SFVec3s; // single-precision type used for vertices and normals
38 typedef Eigen::Vector3f SFColor;
39 typedef Eigen::AngleAxisd SFRotation;
40 
41 typedef struct {
42  int width;
43  int height;
45  std::vector<unsigned char> pixels;
46 } SFImage;
47 
48 typedef std::vector<SFInt32> MFInt32;
49 typedef std::vector<SFFloat> MFFloat;
50 typedef std::vector<SFVec2f, Eigen::aligned_allocator<SFVec2f>> MFVec2f;
51 typedef std::vector<SFVec2s> MFVec2s; // single-precision type used for texture coordinates
52 typedef std::vector<SFVec3f> MFVec3f;
53 typedef std::vector<SFVec3s> MFVec3s; // single-precision type used for vertices and normals
54 typedef std::vector<SFRotation, Eigen::aligned_allocator<SFRotation>> MFRotation;
55 typedef std::vector<SFTime> MFTime;
56 typedef std::vector<SFColor> MFColor;
57 typedef std::vector<SFString> MFString;
58 
59 // see 4.6.3 - 4.6.10 of the VRML97 specification
61 
62  ANY_NODE = -1,
63 
66 
71 
76 
83 
85 
87 
90 
92 };
93 
94 class VRMLNode;
95 
97 class CNOID_EXPORT VRMLNode : public Referenced
98 {
99 public:
100 
101  VRMLNode();
102  virtual ~VRMLNode();
103  virtual const char* typeName() const = 0;
104 
105  std::string defName;
106 
107  bool isCategoryOf(VRMLNodeCategory category);
108 
109 protected:
110  std::bitset<NUM_VRML_NODE_CATEGORIES> categorySet;
111 };
112 
114 
116 typedef std::vector<SFNode> MFNode;
117 
118 
119 class CNOID_EXPORT VRMLUnsupportedNode : public VRMLNode
120 {
121 public:
122  VRMLUnsupportedNode(const std::string& nodeTypeName);
123  virtual const char* typeName() const override;
124  std::string nodeTypeName;
125 };
127 
128 
130 class CNOID_EXPORT VRMLViewpoint : public VRMLNode
131 {
132 public:
133  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
134 
135  VRMLViewpoint();
136  virtual const char* typeName() const override;
137 
143 };
145 
146 
148 class CNOID_EXPORT VRMLNavigationInfo : public VRMLNode
149 {
150 public:
152  virtual const char* typeName() const override;
153 
159 };
161 
162 
164 class CNOID_EXPORT VRMLBackground : public VRMLNode
165 {
166 public:
167  VRMLBackground();
168  virtual const char* typeName() const override;
169 
180 };
182 
183 
184 class CNOID_EXPORT AbstractVRMLGroup : public VRMLNode
185 {
186 public:
188 
189  virtual MFNode& getChildren() = 0;
190  virtual int countChildren() = 0;
191  virtual VRMLNode* getChild(int index) = 0;
192  virtual void replaceChild(int childIndex, VRMLNode* childNode) = 0;
193 
194  void removeChild(int childIndex);
195 };
197 
198 
200 class CNOID_EXPORT VRMLGroup : public AbstractVRMLGroup
201 {
202 public:
203  VRMLGroup();
204  virtual const char* typeName() const override;
205 
206  virtual MFNode& getChildren() override;
207  virtual int countChildren() override;
208  virtual VRMLNode* getChild(int index) override;
209  virtual void replaceChild(int childIndex, VRMLNode* childNode) override;
210 
214 };
216 
217 
219 class CNOID_EXPORT VRMLTransform : public VRMLGroup
220 {
221 public:
222  VRMLTransform();
223  virtual const char* typeName() const override;
224 
225  Eigen::Affine3d toAffine3d();
226 
232 };
234 
236 class CNOID_EXPORT VRMLInline : public VRMLGroup
237 {
238 public:
239  VRMLInline();
240  virtual const char* typeName() const override;
241 
243 };
245 
246 
247 class CNOID_EXPORT VRMLNonVrmlInline : public VRMLNode
248 {
249 public:
251  virtual const char* typeName() const override;
252 
253  SFString url; // An absolute path should be specified
254 };
256 
257 
260 
263 
264 
266 class CNOID_EXPORT VRMLShape : public VRMLNode
267 {
268 public:
269  VRMLShape();
270  virtual const char* typeName() const override;
271 
274 };
276 
277 
280 
283 
286 
288 class CNOID_EXPORT VRMLAppearance : public VRMLNode
289 {
290 public:
291  VRMLAppearance();
292  virtual const char* typeName() const override;
293 
297 };
298 
299 
301 class CNOID_EXPORT VRMLMaterial : public VRMLNode
302 {
303 public:
304  VRMLMaterial();
305  virtual const char* typeName() const override;
306 
313 };
314 
315 
317 class CNOID_EXPORT VRMLTexture : public VRMLNode
318 {
319 public:
320  VRMLTexture();
321 };
322 
323 
325 class CNOID_EXPORT VRMLImageTexture : public VRMLTexture
326 {
327 public:
329  virtual const char* typeName() const override;
330 
331  MFString url; // original url information
332  MFString filepath; // Absolute file path in the file system
335 };
337 
338 
340 class CNOID_EXPORT VRMLTextureTransform : public VRMLNode
341 {
342 public:
343  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
344 
346  virtual const char* typeName() const override;
347 
352 };
353 
355 class CNOID_EXPORT VRMLGeometry : public VRMLNode
356 {
357 public:
358  VRMLGeometry();
359 };
360 
362 class CNOID_EXPORT VRMLBox : public VRMLGeometry
363 {
364 public:
365  VRMLBox();
366  virtual const char* typeName() const override;
367 
369 };
371 
372 
374 class CNOID_EXPORT VRMLCone : public VRMLGeometry
375 {
376 public:
377  VRMLCone();
378  virtual const char* typeName() const override;
379 
384 };
386 
387 
389 class CNOID_EXPORT VRMLCylinder : public VRMLGeometry
390 {
391 public:
392  VRMLCylinder();
393  virtual const char* typeName() const override;
394 
400 };
402 
403 
405 class CNOID_EXPORT VRMLSphere : public VRMLGeometry
406 {
407 public:
408  VRMLSphere();
409  virtual const char* typeName() const override;
410 
412 };
414 
415 
417 class CNOID_EXPORT VRMLFontStyle : public VRMLNode
418 {
419 public:
420  VRMLFontStyle();
421  virtual const char* typeName() const override;
422 
432 };
434 
435 
437 class CNOID_EXPORT VRMLText : public VRMLGeometry
438 {
439 public:
440  VRMLText();
441  virtual const char* typeName() const override;
442 
447 };
449 
450 
451 class VRMLColor;
453 
456 
458 class CNOID_EXPORT VRMLIndexedLineSet : public VRMLGeometry
459 {
460 public:
462  virtual const char* typeName() const override;
463 
469 };
471 
472 
475 
478 
479 
481 class CNOID_EXPORT VRMLIndexedFaceSet : public VRMLIndexedLineSet
482 {
483 public:
485  virtual const char* typeName() const override;
486 
496 };
498 
499 
501 class CNOID_EXPORT VRMLColor : public VRMLNode
502 {
503 public:
504  VRMLColor();
505  virtual const char* typeName() const override;
506 
508 };
509 
510 
512 class CNOID_EXPORT VRMLCoordinate : public VRMLNode
513 {
514 public:
515  VRMLCoordinate();
516  virtual const char* typeName() const override;
517 
519 };
520 
521 
523 class CNOID_EXPORT VRMLTextureCoordinate : public VRMLNode
524 {
525 public:
527  virtual const char* typeName() const override;
528 
530 };
531 
532 
534 class CNOID_EXPORT VRMLNormal : public VRMLNode
535 {
536 public:
537  VRMLNormal();
538  virtual const char* typeName() const override;
539 
541 };
542 
543 
545 class CNOID_EXPORT VRMLCylinderSensor : public VRMLNode
546 {
547 public:
549  virtual const char* typeName() const override;
550 
557 };
559 
560 
562 class CNOID_EXPORT VRMLPointSet : public VRMLGeometry
563 {
564 public:
565  VRMLPointSet();
566  virtual const char* typeName() const override;
567 
570 };
571 
573 
574 
576 class CNOID_EXPORT VRMLPixelTexture : public VRMLTexture
577 {
578 public:
580  virtual const char* typeName() const override;
581 
585 };
586 
588 
589 
591 class CNOID_EXPORT VRMLMovieTexture : public VRMLTexture
592 {
593 public:
595  virtual const char* typeName() const override;
596 
604 };
605 
607 
608 
610 class CNOID_EXPORT VRMLElevationGrid : public VRMLGeometry
611 {
612 public:
614  virtual const char* typeName() const override;
615 
629 };
630 
632 
633 
635 class CNOID_EXPORT VRMLExtrusion : public VRMLGeometry
636 {
637 public:
638  VRMLExtrusion();
639  virtual const char* typeName() const override;
640 
651 };
652 
654 
655 
656 class CNOID_EXPORT VRMLSwitch : public AbstractVRMLGroup
657 {
658 public:
659  VRMLSwitch();
660  virtual const char* typeName() const override;
661 
662  virtual MFNode& getChildren() override;
663  virtual int countChildren() override;
664  virtual VRMLNode* getChild(int index) override;
665  virtual void replaceChild(int childIndex, VRMLNode* childNode) override;
666 
669 };
670 
672 
673 
674 class CNOID_EXPORT VRMLLOD : public AbstractVRMLGroup
675 {
676 public:
677  VRMLLOD();
678  virtual const char* typeName() const override;
679 
680  virtual MFNode& getChildren() override;
681  virtual int countChildren() override;
682  virtual VRMLNode* getChild(int index) override;
683  virtual void replaceChild(int childIndex, VRMLNode* childNode) override;
684 
688 };
689 
691 
692 
693 class CNOID_EXPORT VRMLCollision : public VRMLGroup
694 {
695 public:
696  VRMLCollision();
697  virtual const char* typeName() const override;
698 
701 };
702 
704 
705 
706 class CNOID_EXPORT VRMLAnchor : public VRMLGroup
707 {
708 public:
709  VRMLAnchor();
710  virtual const char* typeName() const override;
711 
715 };
716 
718 
719 
720 class CNOID_EXPORT VRMLBillboard : public VRMLGroup
721 {
722 public:
723  VRMLBillboard();
724  virtual const char* typeName() const override;
725 
727 };
728 
730 
731 
732 class CNOID_EXPORT VRMLFog : public VRMLNode
733 {
734 public:
735  VRMLFog();
736  virtual const char* typeName() const override;
737 
741 };
742 
744 
745 
746 class CNOID_EXPORT VRMLWorldInfo : public VRMLNode
747 {
748 public:
749  VRMLWorldInfo();
750  virtual const char* typeName() const override;
751 
754 };
755 
757 
758 
759 class CNOID_EXPORT VRMLLight : public VRMLNode
760 {
761 public:
762  VRMLLight();
763 
768 };
769 
771 
772 
773 class CNOID_EXPORT VRMLPointLight : public VRMLLight
774 {
775 public:
776  VRMLPointLight();
777  virtual const char* typeName() const override;
778 
782 };
783 
785 
786 
787 class CNOID_EXPORT VRMLDirectionalLight : public VRMLLight
788 {
789 public:
791  virtual const char* typeName() const override;
792 
794 };
795 
797 
798 
799 class CNOID_EXPORT VRMLSpotLight : public VRMLPointLight
800 {
801 public:
802  VRMLSpotLight();
803  virtual const char* typeName() const override;
804 
808 };
809 
811 
812 typedef stdx::variant<
813  SFBool,
817 
823 };
824 
825 typedef std::map <std::string, VRMLVariantField> VRMLProtoFieldMap;
826 typedef std::pair<std::string, VRMLVariantField> VRMLProtoFieldPair;
827 
828 CNOID_EXPORT const char* labelOfVRMLfieldTypeId(const std::type_info& fieldType);
829 
830 template<typename TValue> inline const char* labelOfVRMLfieldType() {
831  return labelOfVRMLfieldTypeId(typeid(TValue));
832 }
833 
835 class CNOID_EXPORT VRMLProto : public VRMLNode
836 {
837 public:
838  std::string protoName;
840 
841  VRMLProto(const std::string& n);
842  virtual const char* typeName() const override;
843 
844  inline VRMLVariantField* findField(const std::string& fieldName) {
845  VRMLProtoFieldMap::iterator p = fields.find(fieldName);
846  return (p != fields.end()) ? &p->second : 0;
847  }
848 
849  inline VRMLVariantField& field(const std::string& fieldName){
850  return fields[fieldName];
851  }
852 
853  /*
854  inline VRMLVariantField& addField(const std::string& fieldName, VRMLFieldTypeId typeId){
855  VRMLVariantField* field = &(fields[fieldName]);
856  field->setType(typeId);
857  return field;
858  }
859  */
860 
861 };
863 
864 
866 class CNOID_EXPORT VRMLProtoInstance : public VRMLNode
867 {
868 public:
872 
874  virtual const char* typeName() const override;
875 
876  inline VRMLVariantField* findField(const std::string& fieldName) {
877  VRMLProtoFieldMap::iterator p = fields.find(fieldName);
878  return (p != fields.end()) ? &p->second : 0;
879  }
880 };
882 
888 template<class VRMLNodeType>
890  VRMLProtoInstancePtr protoInstance = dynamic_pointer_cast<VRMLProtoInstance>(node);
891  if(protoInstance){
892  return dynamic_pointer_cast<VRMLNodeType>(protoInstance->actualNode);
893  } else {
894  return dynamic_pointer_cast<VRMLNodeType>(node);
895  }
896 }
897 
898 #ifdef CNOID_BACKWARD_COMPATIBILITY
899 typedef VRMLNodeCategory VrmlNodeCategory;
900 typedef VRMLNode VrmlNode;
901 typedef VRMLNodePtr VrmlNodePtr;
902 typedef VRMLUnsupportedNode VrmlUnsupportedNode;
903 typedef VRMLUnsupportedNodePtr VrmlUnsupportedNodePtr;
904 typedef VRMLViewpoint VrmlViewpoint;
905 typedef VRMLViewpointPtr VrmlViewpointPtr;
906 typedef VRMLNavigationInfo VrmlNavigationInfo;
907 typedef VRMLNavigationInfoPtr VrmlNavigationInfoPtr;
908 typedef VRMLBackground VrmlBackground;
909 typedef VRMLBackgroundPtr VrmlBackgroundPtr;
910 typedef AbstractVRMLGroup AbstractVrmlGroup;
911 typedef AbstractVRMLGroupPtr AbstractVrmlGroupPtr;
912 typedef VRMLGroup VrmlGroup;
913 typedef VRMLGroupPtr VrmlGroupPtr;
914 typedef VRMLTransform VrmlTransform;
915 typedef VRMLTransformPtr VrmlTransformPtr;
916 typedef VRMLInline VrmlInline;
917 typedef VRMLInlinePtr VrmlInlinePtr;
918 typedef VRMLShape VrmlShape;
919 typedef VRMLShapePtr VrmlShapePtr;
920 typedef VRMLAppearance VrmlAppearance;
921 typedef VRMLAppearancePtr VrmlAppearancePtr;
922 typedef VRMLMaterial VrmlMaterial;
923 typedef VRMLMaterialPtr VrmlMaterialPtr;
924 typedef VRMLTexture VrmlTexture;
925 typedef VRMLTexturePtr VrmlTexturePtr;
926 typedef VRMLImageTexture VrmlImageTexture;
927 typedef VRMLImageTexturePtr VrmlImageTexturePtr;
928 typedef VRMLTextureTransform VrmlTextureTransform;
929 typedef VRMLTextureTransformPtr VrmlTextureTransformPtr;
930 typedef VRMLGeometry VrmlGeometry;
931 typedef VRMLGeometryPtr VrmlGeometryPtr;
932 typedef VRMLBox VrmlBox;
933 typedef VRMLBoxPtr VrmlBoxPtr;
934 typedef VRMLCone VrmlCone;
935 typedef VRMLConePtr VrmlConePtr;
936 typedef VRMLCylinder VrmlCylinder;
937 typedef VRMLCylinderPtr VrmlCylinderPtr;
938 typedef VRMLSphere VrmlSphere;
939 typedef VRMLSpherePtr VrmlSpherePtr;
940 typedef VRMLFontStyle VrmlFontStyle;
941 typedef VRMLFontStylePtr VrmlFontStylePtr;
942 typedef VRMLText VrmlText;
943 typedef VRMLTextPtr VrmlTextPtr;
944 typedef VRMLIndexedLineSet VrmlIndexedLineSet;
945 typedef VRMLIndexedLineSetPtr VrmlIndexedLineSetPtr;
946 typedef VRMLIndexedFaceSet VrmlIndexedFaceSet;
947 typedef VRMLIndexedFaceSetPtr VrmlIndexedFaceSetPtr;
948 typedef VRMLColor VrmlColor;
949 typedef VRMLColorPtr VrmlColorPtr;
950 typedef VRMLCoordinate VrmlCoordinate;
951 typedef VRMLCoordinatePtr VrmlCoordinatePtr;
952 typedef VRMLTextureCoordinate VrmlTextureCoordinate;
953 typedef VRMLTextureCoordinatePtr VrmlTextureCoordinatePtr;
954 typedef VRMLNormal VrmlNormal;
955 typedef VRMLNormalPtr VrmlNormalPtr;
956 typedef VRMLCylinderSensor VrmlCylinderSensor;
957 typedef VRMLCylinderSensorPtr VrmlCylinderSensorPtr;
958 typedef VRMLPointSet VrmlPointSet;
959 typedef VRMLPointSetPtr VrmlPointSetPtr;
960 typedef VRMLPixelTexture VrmlPixelTexture;
961 typedef VRMLPixelTexturePtr VrmlPixelTexturePtr;
962 typedef VRMLMovieTexture VrmlMovieTexture;
963 typedef VRMLMovieTexturePtr VrmlMovieTexturePtr;
964 typedef VRMLElevationGrid VrmlElevationGrid;
965 typedef VRMLElevationGridPtr VrmlElevationGridPtr;
966 typedef VRMLExtrusion VrmlExtrusion;
967 typedef VRMLExtrusionPtr VrmlExtrusionPtr;
968 typedef VRMLSwitch VrmlSwitch;
969 typedef VRMLSwitchPtr VrmlSwitchPtr;
970 typedef VRMLLOD VrmlLOD;
971 typedef VRMLLODPtr VrmlLODPtr;
972 typedef VRMLCollision VrmlCollision;
973 typedef VRMLCollisionPtr VrmlCollisionPtr;
974 typedef VRMLAnchor VrmlAnchor;
975 typedef VRMLAnchorPtr VrmlAnchorPtr;
976 typedef VRMLBillboard VrmlBillboard;
977 typedef VRMLBillboardPtr VrmlBillboardPtr;
978 typedef VRMLFog VrmlFog;
979 typedef VRMLFogPtr VrmlFogPtr;
980 typedef VRMLWorldInfo VrmlWorldInfo;
981 typedef VRMLWorldInfoPtr VrmlWorldInfoPtr;
982 typedef VRMLPointLight VrmlPointLight;
983 typedef VRMLPointLightPtr VrmlPointLightPtr;
984 typedef VRMLDirectionalLight VrmlDirectionalLight;
985 typedef VRMLDirectionalLightPtr VrmlDirectionalLightPtr;
986 typedef VRMLSpotLight VrmlSpotLight;
987 typedef VRMLSpotLightPtr VrmlSpotLightPtr;
988 typedef VRMLProto VrmlProto;
989 typedef VRMLProtoPtr VrmlProtoPtr;
990 typedef VRMLProtoInstance VrmlProtoInstance;
991 typedef VRMLProtoInstancePtr VrmlProtoInstancePtr;
992 typedef VRMLVariantField VrmlVariantField;
993 #endif
994 
995 }
996 
997 #endif
cnoid::SFNODE
@ SFNODE
Definition: VRML.h:820
cnoid::TEXTURE_TRANSFORM_NODE
@ TEXTURE_TRANSFORM_NODE
Definition: VRML.h:75
cnoid::VRMLSphere::radius
SFFloat radius
Definition: VRML.h:411
cnoid::VRMLTexture
Base class of VRML Texture nodes.
Definition: VRML.h:317
cnoid::VRMLWorldInfo::info
MFString info
Definition: VRML.h:753
cnoid::VRMLPixelTexture::repeatS
SFBool repeatS
Definition: VRML.h:583
cnoid::VRMLCylinder::radius
SFFloat radius
Definition: VRML.h:397
cnoid::VRMLNonVrmlInline
Definition: VRML.h:247
cnoid::SFVEC3F
@ SFVEC3F
Definition: VRML.h:820
cnoid::VRMLElevationGrid::creaseAngle
SFFloat creaseAngle
Definition: VRML.h:623
cnoid::VRMLExtrusion::convex
SFBool convex
Definition: VRML.h:649
cnoid::VRMLUnsupportedNode::nodeTypeName
std::string nodeTypeName
Definition: VRML.h:124
cnoid::MFInt32
std::vector< SFInt32 > MFInt32
Definition: VRML.h:48
cnoid::VRMLElevationGrid::texCoord
VRMLTextureCoordinatePtr texCoord
Definition: VRML.h:628
cnoid::VRMLViewpoint::orientation
SFRotation orientation
Definition: VRML.h:138
cnoid::VRMLSwitch::whichChoice
SFInt32 whichChoice
Definition: VRML.h:668
cnoid::MFRotation
std::vector< SFRotation, Eigen::aligned_allocator< SFRotation > > MFRotation
Definition: VRML.h:54
cnoid::VRMLExtrusion::crossSection
MFVec2f crossSection
Definition: VRML.h:641
Referenced.h
cnoid::SFSTRING
@ SFSTRING
Definition: VRML.h:820
cnoid::MFSTRING
@ MFSTRING
Definition: VRML.h:821
cnoid::VRMLIndexedFaceSet::texCoordIndex
MFInt32 texCoordIndex
Definition: VRML.h:495
cnoid::VRMLCylinder
VRML Cylinder node.
Definition: VRML.h:389
cnoid::MFVec3s
std::vector< SFVec3s > MFVec3s
Definition: VRML.h:53
cnoid::VRMLBackground::backUrl
MFString backUrl
Definition: VRML.h:174
cnoid::VRMLBoxPtr
ref_ptr< VRMLBox > VRMLBoxPtr
Definition: VRML.h:370
cnoid::SFBOOL
@ SFBOOL
Definition: VRML.h:819
cnoid::VRMLInline::urls
MFString urls
Definition: VRML.h:242
cnoid::VRMLExtrusion::creaseAngle
SFFloat creaseAngle
Definition: VRML.h:650
cnoid::TOP_NODE
@ TOP_NODE
Definition: VRML.h:67
cnoid::VRMLNavigationInfo
VRML NavigationInfo node.
Definition: VRML.h:148
cnoid::VRMLCone
VRML Cone node.
Definition: VRML.h:374
cnoid::VRMLLOD::center
SFVec3f center
Definition: VRML.h:686
cnoid::VRMLTransform::scaleOrientation
SFRotation scaleOrientation
Definition: VRML.h:230
cnoid::VRMLFontStyle::justify
MFString justify
Definition: VRML.h:425
cnoid::SFROTATION
@ SFROTATION
Definition: VRML.h:820
cnoid::VRMLTransform
VRML Transform node.
Definition: VRML.h:219
cnoid::VRMLCoordinate::point
MFVec3s point
Definition: VRML.h:518
cnoid::VRMLProto
VRML Proto definition.
Definition: VRML.h:835
cnoid::VRMLBackground::skyColor
MFColor skyColor
Definition: VRML.h:173
cnoid::VRMLSpotLight::direction
SFVec3f direction
Definition: VRML.h:805
cnoid::VRMLProtoFieldMap
std::map< std::string, VRMLVariantField > VRMLProtoFieldMap
Definition: VRML.h:825
cnoid::VRMLFog
Definition: VRML.h:732
cnoid::VRMLColor
VRML Color node.
Definition: VRML.h:501
cnoid::PROTO_DEF_NODE
@ PROTO_DEF_NODE
Definition: VRML.h:64
cnoid::VRMLBackground::frontUrl
MFString frontUrl
Definition: VRML.h:176
cnoid::ANY_NODE
@ ANY_NODE
Definition: VRML.h:62
cnoid::labelOfVRMLfieldType
const char * labelOfVRMLfieldType()
Definition: VRML.h:830
cnoid::VRMLFogPtr
ref_ptr< VRMLFog > VRMLFogPtr
Definition: VRML.h:743
cnoid::VRMLSwitchPtr
ref_ptr< VRMLSwitch > VRMLSwitchPtr
Definition: VRML.h:671
cnoid::SFVec3f
Eigen::Vector3d SFVec3f
Definition: VRML.h:36
cnoid::VRMLExtrusion::orientation
MFRotation orientation
Definition: VRML.h:644
cnoid::VRMLViewpoint::position
SFVec3f position
Definition: VRML.h:141
cnoid::VRMLMaterial::shininess
SFFloat shininess
Definition: VRML.h:310
cnoid::VRMLCylinderSensor::offset
SFFloat offset
Definition: VRML.h:556
cnoid::VRMLPointSetPtr
ref_ptr< VRMLPointSet > VRMLPointSetPtr
Definition: VRML.h:572
cnoid::MFVec2s
std::vector< SFVec2s > MFVec2s
Definition: VRML.h:51
cnoid::VRMLElevationGrid::zDimension
SFInt32 zDimension
Definition: VRML.h:617
cnoid::VRMLIndexedFaceSet::convex
SFBool convex
Definition: VRML.h:490
cnoid::VRMLExtrusion::spine
MFVec3f spine
Definition: VRML.h:642
cnoid::VRMLCone::bottomRadius
SFFloat bottomRadius
Definition: VRML.h:381
cnoid::SFColor
Eigen::Vector3f SFColor
Definition: VRML.h:38
cnoid::SFTime::value
double value
Definition: VRML.h:28
cnoid::VRMLProtoInstance::fields
VRMLProtoFieldMap fields
Definition: VRML.h:870
cnoid::SFVec2f
Eigen::Vector2d SFVec2f
Definition: VRML.h:34
cnoid::VRMLNode
Abstract base class of all vrml nodes.
Definition: VRML.h:97
cnoid::VRMLCylinderSensor::diskAngle
SFFloat diskAngle
Definition: VRML.h:552
cnoid::VRMLNormalPtr
ref_ptr< VRMLNormal > VRMLNormalPtr
Definition: VRML.h:473
cnoid::VRMLFontStyle::style
SFString style
Definition: VRML.h:430
cnoid::VRMLExtrusion::scale
MFVec2f scale
Definition: VRML.h:643
cnoid::VRMLAnchor
Definition: VRML.h:706
cnoid::VRMLTextureCoordinate::point
MFVec2s point
Definition: VRML.h:529
cnoid::VRMLBackground::rightUrl
MFString rightUrl
Definition: VRML.h:178
cnoid::VRMLDirectionalLightPtr
ref_ptr< VRMLDirectionalLight > VRMLDirectionalLightPtr
Definition: VRML.h:796
cnoid::VRMLFog::fogType
SFString fogType
Definition: VRML.h:740
cnoid::GROUPING_NODE
@ GROUPING_NODE
Definition: VRML.h:69
cnoid::MFTime
std::vector< SFTime > MFTime
Definition: VRML.h:55
cnoid::VRMLMovieTexture::url
MFString url
Definition: VRML.h:597
cnoid::VRMLAnchor::parameter
MFString parameter
Definition: VRML.h:713
cnoid::SFNode
VRMLNodePtr SFNode
Definition: VRML.h:115
cnoid::VRMLText::fstring
MFString fstring
Definition: VRML.h:443
cnoid::VRMLTransform::rotation
SFRotation rotation
Definition: VRML.h:228
cnoid::VRMLCylinderSensor
VRML CylinderSensor node.
Definition: VRML.h:545
cnoid::VRMLViewpointPtr
ref_ptr< VRMLViewpoint > VRMLViewpointPtr
Definition: VRML.h:144
cnoid::VRMLBillboard::axisOfRotation
SFVec3f axisOfRotation
Definition: VRML.h:726
cnoid::SHAPE_NODE
@ SHAPE_NODE
Definition: VRML.h:77
cnoid::VRMLConePtr
ref_ptr< VRMLCone > VRMLConePtr
Definition: VRML.h:385
cnoid::VRMLIndexedLineSet::coordIndex
MFInt32 coordIndex
Definition: VRML.h:468
cnoid::VRMLBillboardPtr
ref_ptr< VRMLBillboard > VRMLBillboardPtr
Definition: VRML.h:729
cnoid::VRMLImageTexturePtr
ref_ptr< VRMLImageTexture > VRMLImageTexturePtr
Definition: VRML.h:336
cnoid::MFNode
std::vector< SFNode > MFNode
Definition: VRML.h:116
cnoid::VRMLPointLight::radius
SFFloat radius
Definition: VRML.h:780
cnoid::VRMLMovieTexture::stopTime
SFTime stopTime
Definition: VRML.h:601
cnoid::VRMLCoordinatePtr
ref_ptr< VRMLCoordinate > VRMLCoordinatePtr
Definition: VRML.h:454
cnoid::TEXTURE_COORDINATE_NODE
@ TEXTURE_COORDINATE_NODE
Definition: VRML.h:82
cnoid::VRMLSpherePtr
ref_ptr< VRMLSphere > VRMLSpherePtr
Definition: VRML.h:413
cnoid::VRMLAnchor::description
SFString description
Definition: VRML.h:712
cnoid::VRMLWorldInfoPtr
ref_ptr< VRMLWorldInfo > VRMLWorldInfoPtr
Definition: VRML.h:756
cnoid::MFTIME
@ MFTIME
Definition: VRML.h:821
cnoid::MFVEC2F
@ MFVEC2F
Definition: VRML.h:821
cnoid::MFFLOAT
@ MFFLOAT
Definition: VRML.h:821
cnoid::VRMLNode::defName
std::string defName
Definition: VRML.h:105
cnoid::VRMLLOD::level
MFNode level
Definition: VRML.h:687
cnoid::VRMLIndexedLineSet::colorPerVertex
SFBool colorPerVertex
Definition: VRML.h:467
cnoid::VRMLImageTexture::url
MFString url
Definition: VRML.h:331
cnoid::SFRotation
Eigen::AngleAxisd SFRotation
Definition: VRML.h:39
cnoid::SFTime::operator=
double operator=(double time)
Definition: VRML.h:31
cnoid::VRMLPointSet::color
VRMLColorPtr color
Definition: VRML.h:569
cnoid::VRMLMovieTexture::repeatT
SFBool repeatT
Definition: VRML.h:603
cnoid::VRMLProtoPtr
ref_ptr< VRMLProto > VRMLProtoPtr
Definition: VRML.h:862
cnoid::VRMLBackgroundPtr
ref_ptr< VRMLBackground > VRMLBackgroundPtr
Definition: VRML.h:181
cnoid::VRMLElevationGrid::xDimension
SFInt32 xDimension
Definition: VRML.h:616
cnoid::VRMLProtoInstance
VRML node which is instance of VRML Prototype.
Definition: VRML.h:866
cnoid::VRMLFog::visibilityRange
SFFloat visibilityRange
Definition: VRML.h:739
cnoid::VRMLSpotLight
Definition: VRML.h:799
cnoid::VRMLLight
Definition: VRML.h:759
cnoid::VRMLSpotLightPtr
ref_ptr< VRMLSpotLight > VRMLSpotLightPtr
Definition: VRML.h:810
cnoid::SFCOLOR
@ SFCOLOR
Definition: VRML.h:820
cnoid::VRMLGeometry
Base class of VRML geometry nodes.
Definition: VRML.h:355
cnoid::MFFloat
std::vector< SFFloat > MFFloat
Definition: VRML.h:49
cnoid::SFImage::pixels
std::vector< unsigned char > pixels
Definition: VRML.h:45
cnoid::VRMLColor::color
MFColor color
Definition: VRML.h:507
cnoid::MFVec2f
std::vector< SFVec2f, Eigen::aligned_allocator< SFVec2f > > MFVec2f
Definition: VRML.h:50
cnoid::VRMLBackground::groundColor
MFColor groundColor
Definition: VRML.h:171
cnoid::VRMLTransformPtr
ref_ptr< VRMLTransform > VRMLTransformPtr
Definition: VRML.h:233
cnoid::VRMLProto::findField
VRMLVariantField * findField(const std::string &fieldName)
Definition: VRML.h:844
cnoid::VRMLTextureTransformPtr
ref_ptr< VRMLTextureTransform > VRMLTextureTransformPtr
Definition: VRML.h:284
cnoid::VRMLDirectionalLight
Definition: VRML.h:787
cnoid::VRMLProtoInstance::findField
VRMLVariantField * findField(const std::string &fieldName)
Definition: VRML.h:876
cnoid::VRMLCone::height
SFFloat height
Definition: VRML.h:382
cnoid::VRMLFontStyle::family
MFString family
Definition: VRML.h:423
cnoid::SFBool
bool SFBool
Definition: VRML.h:21
cnoid::VRMLShape
VRML Shape node.
Definition: VRML.h:266
cnoid::VRMLMovieTexture::repeatS
SFBool repeatS
Definition: VRML.h:602
cnoid::VRMLCollision::collide
SFBool collide
Definition: VRML.h:699
cnoid::VRMLBillboard
Definition: VRML.h:720
cnoid::VRMLNonVrmlInline::url
SFString url
Definition: VRML.h:253
cnoid::SENSOR_NODE
@ SENSOR_NODE
Definition: VRML.h:88
cnoid::VRMLNavigationInfo::type
MFString type
Definition: VRML.h:157
cnoid::VRMLNavigationInfoPtr
ref_ptr< VRMLNavigationInfo > VRMLNavigationInfoPtr
Definition: VRML.h:160
cnoid::VRMLImageTexture::repeatT
SFBool repeatT
Definition: VRML.h:334
cnoid::SFImage::height
int height
Definition: VRML.h:43
cnoid::VRMLNavigationInfo::speed
SFFloat speed
Definition: VRML.h:156
cnoid::CHILD_NODE
@ CHILD_NODE
Definition: VRML.h:70
cnoid::VRMLIndexedLineSet::colorIndex
MFInt32 colorIndex
Definition: VRML.h:466
cnoid::SFImage::width
int width
Definition: VRML.h:42
cnoid::VRMLElevationGrid::ccw
SFBool ccw
Definition: VRML.h:621
cnoid::VRMLProto::fields
VRMLProtoFieldMap fields
Definition: VRML.h:839
cnoid::VRMLIndexedLineSetPtr
ref_ptr< VRMLIndexedLineSet > VRMLIndexedLineSetPtr
Definition: VRML.h:470
cnoid::COLOR_NODE
@ COLOR_NODE
Definition: VRML.h:80
cnoid::ref_ptr< VRMLNode >
cnoid::VRMLColorPtr
ref_ptr< VRMLColor > VRMLColorPtr
Definition: VRML.h:451
cnoid::VRMLPixelTexture::image
SFImage image
Definition: VRML.h:582
cnoid::MFINT32
@ MFINT32
Definition: VRML.h:821
cnoid::VRMLImageTexture
VRML ImageTexture node.
Definition: VRML.h:325
cnoid::AbstractVRMLGroupPtr
ref_ptr< AbstractVRMLGroup > AbstractVRMLGroupPtr
Definition: VRML.h:196
cnoid::VRMLAppearance::textureTransform
VRMLTextureTransformPtr textureTransform
Definition: VRML.h:296
cnoid::VRMLFieldTypeId
VRMLFieldTypeId
Definition: VRML.h:818
cnoid::VRMLNodeCategory
VRMLNodeCategory
Definition: VRML.h:60
cnoid::VRMLShape::appearance
VRMLAppearancePtr appearance
Definition: VRML.h:272
cnoid::COORDINATE_NODE
@ COORDINATE_NODE
Definition: VRML.h:79
cnoid::VRMLElevationGrid::xSpacing
SFFloat xSpacing
Definition: VRML.h:618
cnoid::VRMLGroup
VRML Group node.
Definition: VRML.h:200
cnoid::VRMLPixelTexture::repeatT
SFBool repeatT
Definition: VRML.h:584
cnoid::VRMLCylinderPtr
ref_ptr< VRMLCylinder > VRMLCylinderPtr
Definition: VRML.h:401
cnoid::VRMLCone::bottom
SFBool bottom
Definition: VRML.h:380
cnoid::VRMLPointLightPtr
ref_ptr< VRMLPointLight > VRMLPointLightPtr
Definition: VRML.h:784
cnoid::SFTime
Definition: VRML.h:27
cnoid::VRMLTransform::scale
SFVec3f scale
Definition: VRML.h:229
cnoid::SFVEC2F
@ SFVEC2F
Definition: VRML.h:820
cnoid::VRMLElevationGrid::height
MFFloat height
Definition: VRML.h:620
cnoid::VRMLWorldInfo::title
SFString title
Definition: VRML.h:752
cnoid::VRMLCollisionPtr
ref_ptr< VRMLCollision > VRMLCollisionPtr
Definition: VRML.h:703
cnoid::SFVec3s
Eigen::Vector3f SFVec3s
Definition: VRML.h:37
cnoid::VRMLProto::protoName
std::string protoName
Definition: VRML.h:838
cnoid::VRMLIndexedFaceSetPtr
ref_ptr< VRMLIndexedFaceSet > VRMLIndexedFaceSetPtr
Definition: VRML.h:497
cnoid::VRMLBackground::leftUrl
MFString leftUrl
Definition: VRML.h:177
cnoid::VRMLIndexedFaceSet::ccw
SFBool ccw
Definition: VRML.h:489
cnoid::VRMLLight::intensity
SFFloat intensity
Definition: VRML.h:766
cnoid::VRMLMovieTexture::speed
SFFloat speed
Definition: VRML.h:599
cnoid::VRMLNodePtr
ref_ptr< VRMLNode > VRMLNodePtr
Definition: VRML.h:113
cnoid::VRMLCylinder::height
SFFloat height
Definition: VRML.h:396
cnoid::VRMLBackground::bottomUrl
MFString bottomUrl
Definition: VRML.h:175
cnoid::VRMLBox
VRML Box node.
Definition: VRML.h:362
cnoid::VRMLFontStyle::spacing
SFFloat spacing
Definition: VRML.h:429
cnoid::VRMLText::fontStyle
VRMLFontStylePtr fontStyle
Definition: VRML.h:444
cnoid::VRMLLOD::range
MFFloat range
Definition: VRML.h:685
cnoid::VRMLPointLight::location
SFVec3f location
Definition: VRML.h:779
cnoid::PROTO_INSTANCE_NODE
@ PROTO_INSTANCE_NODE
Definition: VRML.h:65
cnoid::SFIMAGE
@ SFIMAGE
Definition: VRML.h:820
cnoid::VRMLCylinderSensor::maxAngle
SFFloat maxAngle
Definition: VRML.h:554
cnoid::VRMLTextureCoordinate
VRML TextureCoordinate node.
Definition: VRML.h:523
cnoid
Definition: AbstractSceneLoader.h:11
cnoid::VRMLShape::geometry
SFNode geometry
Definition: VRML.h:273
cnoid::VRMLAppearance
VRML Appearance node.
Definition: VRML.h:288
cnoid::SFFloat
double SFFloat
Definition: VRML.h:23
cnoid::SFImage
Definition: VRML.h:41
cnoid::VRMLNormal
VRML Normal node.
Definition: VRML.h:534
cnoid::VRMLExtrusion::solid
SFBool solid
Definition: VRML.h:647
cnoid::VRMLTextureTransform::translation
SFVec2f translation
Definition: VRML.h:351
cnoid::labelOfVRMLfieldTypeId
const CNOID_EXPORT char * labelOfVRMLfieldTypeId(const std::type_info &fieldType)
Definition: VRML.cpp:10
cnoid::UNKNOWN_VRML_FIELD_TYPE
@ UNKNOWN_VRML_FIELD_TYPE
Definition: VRML.h:822
cnoid::VRMLSpotLight::beamWidth
SFFloat beamWidth
Definition: VRML.h:806
cnoid::VRMLDirectionalLight::direction
SFVec3f direction
Definition: VRML.h:793
cnoid::VRMLPointSet
VRML PointSet node.
Definition: VRML.h:562
cnoid::VRMLNavigationInfo::headlight
SFBool headlight
Definition: VRML.h:155
cnoid::VRMLMaterial
VRML Material node.
Definition: VRML.h:301
cnoid::VRMLCylinder::side
SFBool side
Definition: VRML.h:398
cnoid::VRMLGeometryPtr
ref_ptr< VRMLGeometry > VRMLGeometryPtr
Definition: VRML.h:261
cnoid::VRMLText::maxExtent
SFFloat maxExtent
Definition: VRML.h:446
cnoid::LIGHT_NODE
@ LIGHT_NODE
Definition: VRML.h:84
cnoid::VRMLIndexedFaceSet
VRML IndexedFaseSet node.
Definition: VRML.h:481
cnoid::VRMLCylinderSensor::autoOffset
SFBool autoOffset
Definition: VRML.h:551
cnoid::VRMLProtoInstance::proto
VRMLProtoPtr proto
Definition: VRML.h:869
cnoid::VRMLTransform::center
SFVec3f center
Definition: VRML.h:227
cnoid::SFTime::SFTime
SFTime(double time)
Definition: VRML.h:30
cnoid::VRMLElevationGrid::colorPerVertex
SFBool colorPerVertex
Definition: VRML.h:622
cnoid::NUM_VRML_NODE_CATEGORIES
@ NUM_VRML_NODE_CATEGORIES
Definition: VRML.h:91
cnoid::VRMLViewpoint
VRML Viewpoint node.
Definition: VRML.h:130
cnoid::VRMLLight::color
SFColor color
Definition: VRML.h:765
cnoid::VRMLProto::field
VRMLVariantField & field(const std::string &fieldName)
Definition: VRML.h:849
cnoid::VRMLIndexedLineSet::coord
VRMLCoordinatePtr coord
Definition: VRML.h:465
cnoid::VRMLTextureTransform::center
SFVec2f center
Definition: VRML.h:348
cnoid::VRMLLightPtr
ref_ptr< VRMLLight > VRMLLightPtr
Definition: VRML.h:770
cnoid::VRMLNonVrmlInlinePtr
ref_ptr< VRMLNonVrmlInline > VRMLNonVrmlInlinePtr
Definition: VRML.h:255
cnoid::VRMLShapePtr
ref_ptr< VRMLShape > VRMLShapePtr
Definition: VRML.h:275
cnoid::BINDABLE_NODE
@ BINDABLE_NODE
Definition: VRML.h:68
cnoid::VRMLMaterial::ambientIntensity
SFFloat ambientIntensity
Definition: VRML.h:307
cnoid::VRMLIndexedLineSet::color
VRMLColorPtr color
Definition: VRML.h:464
cnoid::VRMLCollision
Definition: VRML.h:693
cnoid::VRMLSpotLight::cutOffAngle
SFFloat cutOffAngle
Definition: VRML.h:807
cnoid::VRMLCoordinate
VRML Coordinate node.
Definition: VRML.h:512
cnoid::MFString
std::vector< SFString > MFString
Definition: VRML.h:57
cnoid::VRMLText
VRML Text node.
Definition: VRML.h:437
cnoid::MFROTATION
@ MFROTATION
Definition: VRML.h:821
cnoid::SFInt32
int SFInt32
Definition: VRML.h:22
cnoid::VRMLProtoFieldPair
std::pair< std::string, VRMLVariantField > VRMLProtoFieldPair
Definition: VRML.h:826
cnoid::MFVEC3F
@ MFVEC3F
Definition: VRML.h:821
cnoid::VRMLFontStyle::language
SFString language
Definition: VRML.h:426
cnoid::VRMLBackground::groundAngle
MFFloat groundAngle
Definition: VRML.h:170
cnoid::VRMLMaterial::specularColor
SFColor specularColor
Definition: VRML.h:311
cnoid::AbstractVRMLGroup
Definition: VRML.h:184
cnoid::VRMLElevationGridPtr
ref_ptr< VRMLElevationGrid > VRMLElevationGridPtr
Definition: VRML.h:631
cnoid::VRMLVariantField
stdx::variant< SFBool, SFInt32, SFFloat, SFVec2f, SFVec3f, SFRotation, SFColor, SFTime, SFString, SFNode, SFImage, MFInt32, MFFloat, MFVec2f, MFVec3f, MFRotation, MFColor, MFTime, MFString, MFNode > VRMLVariantField
Definition: VRML.h:816
cnoid::VRMLProtoInstance::actualNode
VRMLNodePtr actualNode
Definition: VRML.h:871
cnoid::VRMLTextPtr
ref_ptr< VRMLText > VRMLTextPtr
Definition: VRML.h:448
cnoid::VRMLTextureTransform::scale
SFVec2f scale
Definition: VRML.h:350
cnoid::SFINT32
@ SFINT32
Definition: VRML.h:820
cnoid::VRMLMaterial::diffuseColor
SFColor diffuseColor
Definition: VRML.h:308
cnoid::VRMLIndexedFaceSet::normalPerVertex
SFBool normalPerVertex
Definition: VRML.h:493
cnoid::VRMLAnchorPtr
ref_ptr< VRMLAnchor > VRMLAnchorPtr
Definition: VRML.h:717
cnoid::VRMLIndexedFaceSet::normal
VRMLNormalPtr normal
Definition: VRML.h:487
cnoid::VRMLFontStylePtr
ref_ptr< VRMLFontStyle > VRMLFontStylePtr
Definition: VRML.h:433
cnoid::VRMLGroup::children
MFNode children
Definition: VRML.h:213
cnoid::VRMLFontStyle::topToBottom
SFBool topToBottom
Definition: VRML.h:431
cnoid::VRMLViewpoint::description
SFString description
Definition: VRML.h:142
cnoid::Referenced
Definition: Referenced.h:54
cnoid::APPEARANCE_NODE
@ APPEARANCE_NODE
Definition: VRML.h:72
cnoid::SFTime::SFTime
SFTime()
Definition: VRML.h:29
cnoid::VRMLText::length
MFFloat length
Definition: VRML.h:445
cnoid::VRMLExtrusion::beginCap
SFBool beginCap
Definition: VRML.h:645
cnoid::VRMLCone::side
SFBool side
Definition: VRML.h:383
cnoid::VRMLGroup::bboxSize
SFVec3f bboxSize
Definition: VRML.h:212
cnoid::VRMLSwitch::choice
MFNode choice
Definition: VRML.h:667
cnoid::VRMLExtrusion
VRML Extrusion node.
Definition: VRML.h:635
cnoid::VRMLTextureTransform::rotation
SFFloat rotation
Definition: VRML.h:349
cnoid::VRMLAppearance::material
VRMLMaterialPtr material
Definition: VRML.h:294
cnoid::VRMLGroup::bboxCenter
SFVec3f bboxCenter
Definition: VRML.h:211
cnoid::VRMLElevationGrid
VRML ElevationGrid node.
Definition: VRML.h:610
cnoid::VRMLElevationGrid::solid
SFBool solid
Definition: VRML.h:625
cnoid::VRMLIndexedLineSet
VRML IndexedLineSet node.
Definition: VRML.h:458
cnoid::VRMLMaterial::emissiveColor
SFColor emissiveColor
Definition: VRML.h:309
cnoid::VRMLBox::size
SFVec3f size
Definition: VRML.h:368
cnoid::VRMLTexturePtr
ref_ptr< VRMLTexture > VRMLTexturePtr
Definition: VRML.h:281
cnoid::MFColor
std::vector< SFColor > MFColor
Definition: VRML.h:56
cnoid::VRMLSwitch
Definition: VRML.h:656
cnoid::VRMLElevationGrid::zSpacing
SFFloat zSpacing
Definition: VRML.h:619
cnoid::VRMLMovieTexture::startTime
SFTime startTime
Definition: VRML.h:600
cnoid::VRMLFog::color
SFColor color
Definition: VRML.h:738
cnoid::TEXTURE_NODE
@ TEXTURE_NODE
Definition: VRML.h:74
cnoid::VRMLFontStyle
VRML FontStyle node.
Definition: VRML.h:417
cnoid::VRMLAnchor::url
MFString url
Definition: VRML.h:714
cnoid::VRMLMaterial::transparency
SFFloat transparency
Definition: VRML.h:312
cnoid::VRMLNode::categorySet
std::bitset< NUM_VRML_NODE_CATEGORIES > categorySet
Definition: VRML.h:110
cnoid::VRMLIndexedFaceSet::texCoord
VRMLTextureCoordinatePtr texCoord
Definition: VRML.h:488
cnoid::VRMLTextureCoordinatePtr
ref_ptr< VRMLTextureCoordinate > VRMLTextureCoordinatePtr
Definition: VRML.h:476
cnoid::VRMLPointSet::coord
VRMLCoordinatePtr coord
Definition: VRML.h:568
cnoid::SFVec2s
Eigen::Vector2f SFVec2s
Definition: VRML.h:35
cnoid::SFString
std::string SFString
Definition: VRML.h:24
cnoid::FONT_STYLE_NODE
@ FONT_STYLE_NODE
Definition: VRML.h:86
cnoid::VRMLCylinderSensorPtr
ref_ptr< VRMLCylinderSensor > VRMLCylinderSensorPtr
Definition: VRML.h:558
cnoid::MATERIAL_NODE
@ MATERIAL_NODE
Definition: VRML.h:73
cnoid::VRMLExtrusion::endCap
SFBool endCap
Definition: VRML.h:646
cnoid::VRMLIndexedFaceSet::solid
SFBool solid
Definition: VRML.h:494
cnoid::VRMLInline
VRML Inline node.
Definition: VRML.h:236
cnoid::VRMLInlinePtr
ref_ptr< VRMLInline > VRMLInlinePtr
Definition: VRML.h:244
cnoid::VRMLMovieTexture
VRML MovieTexture node.
Definition: VRML.h:591
cnoid::VRMLUnsupportedNode
Definition: VRML.h:119
cnoid::VRMLPixelTexturePtr
ref_ptr< VRMLPixelTexture > VRMLPixelTexturePtr
Definition: VRML.h:587
cnoid::VRMLWorldInfo
Definition: VRML.h:746
cnoid::dynamic_node_cast
ref_ptr< VRMLNodeType > dynamic_node_cast(VRMLNodePtr node)
Definition: VRML.h:889
cnoid::INLINE_NODE
@ INLINE_NODE
Definition: VRML.h:89
cnoid::MFVec3f
std::vector< SFVec3f > MFVec3f
Definition: VRML.h:52
cnoid::MFCOLOR
@ MFCOLOR
Definition: VRML.h:821
cnoid::VRMLPixelTexture
VRML PixelTexture node.
Definition: VRML.h:576
cnoid::VRMLCylinder::top
SFBool top
Definition: VRML.h:399
cnoid::VRMLViewpoint::jump
SFBool jump
Definition: VRML.h:140
cnoid::VRMLLight::on
SFBool on
Definition: VRML.h:764
cnoid::VRMLTransform::translation
SFVec3f translation
Definition: VRML.h:231
cnoid::VRMLFontStyle::leftToRight
SFBool leftToRight
Definition: VRML.h:427
cnoid::SFTIME
@ SFTIME
Definition: VRML.h:820
cnoid::VRMLViewpoint::fieldOfView
SFFloat fieldOfView
Definition: VRML.h:139
cnoid::VRMLUnsupportedNodePtr
ref_ptr< VRMLUnsupportedNode > VRMLUnsupportedNodePtr
Definition: VRML.h:126
cnoid::VRMLProtoInstancePtr
ref_ptr< VRMLProtoInstance > VRMLProtoInstancePtr
Definition: VRML.h:881
cnoid::VRMLCollision::proxy
SFNode proxy
Definition: VRML.h:700
cnoid::VRMLLight::ambientIntensity
SFFloat ambientIntensity
Definition: VRML.h:767
cnoid::VRMLLODPtr
ref_ptr< VRMLLOD > VRMLLODPtr
Definition: VRML.h:690
cnoid::GEOMETRY_NODE
@ GEOMETRY_NODE
Definition: VRML.h:78
cnoid::VRMLIndexedFaceSet::creaseAngle
SFFloat creaseAngle
Definition: VRML.h:491
cnoid::VRMLFontStyle::size
SFFloat size
Definition: VRML.h:428
cnoid::VRMLElevationGrid::normalPerVertex
SFBool normalPerVertex
Definition: VRML.h:624
cnoid::VRMLImageTexture::filepath
MFString filepath
Definition: VRML.h:332
cnoid::VRMLCylinderSensor::minAngle
SFFloat minAngle
Definition: VRML.h:555
cnoid::VRMLNormal::vector
MFVec3s vector
Definition: VRML.h:540
cnoid::VRMLTextureTransform
VRML TextureTransform node.
Definition: VRML.h:340
cnoid::VRMLExtrusionPtr
ref_ptr< VRMLExtrusion > VRMLExtrusionPtr
Definition: VRML.h:653
cnoid::VRMLSphere
VRML Sphere node.
Definition: VRML.h:405
cnoid::SFFLOAT
@ SFFLOAT
Definition: VRML.h:820
cnoid::VRMLIndexedFaceSet::normalIndex
MFInt32 normalIndex
Definition: VRML.h:492
cnoid::NORMAL_NODE
@ NORMAL_NODE
Definition: VRML.h:81
cnoid::MFNODE
@ MFNODE
Definition: VRML.h:821
cnoid::VRMLPointLight
Definition: VRML.h:773
cnoid::VRMLMovieTexturePtr
ref_ptr< VRMLMovieTexture > VRMLMovieTexturePtr
Definition: VRML.h:606
cnoid::VRMLBackground::skyAngle
MFFloat skyAngle
Definition: VRML.h:172
cnoid::VRMLExtrusion::ccw
SFBool ccw
Definition: VRML.h:648
cnoid::SFImage::numComponents
int numComponents
Definition: VRML.h:44
cnoid::VRMLBackground::topUrl
MFString topUrl
Definition: VRML.h:179
cnoid::VRMLImageTexture::repeatS
SFBool repeatS
Definition: VRML.h:333
cnoid::VRMLElevationGrid::color
VRMLColorPtr color
Definition: VRML.h:626
cnoid::VRMLGroupPtr
ref_ptr< VRMLGroup > VRMLGroupPtr
Definition: VRML.h:215
cnoid::VRMLElevationGrid::normal
VRMLNormalPtr normal
Definition: VRML.h:627
cnoid::VRMLCylinder::bottom
SFBool bottom
Definition: VRML.h:395
cnoid::VRMLCylinderSensor::enabled
SFBool enabled
Definition: VRML.h:553
cnoid::VRMLAppearance::texture
VRMLTexturePtr texture
Definition: VRML.h:295
cnoid::VRMLNavigationInfo::visibilityLimit
SFFloat visibilityLimit
Definition: VRML.h:158
cnoid::VRMLLOD
Definition: VRML.h:674
cnoid::VRMLMaterialPtr
ref_ptr< VRMLMaterial > VRMLMaterialPtr
Definition: VRML.h:278
cnoid::VRMLMovieTexture::loop
SFBool loop
Definition: VRML.h:598
cnoid::VRMLBackground
VRML Background node.
Definition: VRML.h:164
cnoid::VRMLNavigationInfo::avatarSize
MFFloat avatarSize
Definition: VRML.h:154
cnoid::VRMLAppearancePtr
ref_ptr< VRMLAppearance > VRMLAppearancePtr
Definition: VRML.h:258
cnoid::VRMLPointLight::attenuation
SFVec3f attenuation
Definition: VRML.h:781
cnoid::VRMLFontStyle::horizontal
SFBool horizontal
Definition: VRML.h:424