Group node. More...
#include <Inventor/VRMLnodes/SoVRMLGroup.h>
Public Types | |
enum | CacheEnabled { OFF = SO_RENDERCACHING_OFF, ON = SO_RENDERCACHING_ON, AUTO = SO_RENDERCACHING_AUTO } |
Public Member Functions | |
virtual SoType | getTypeId () const |
SoVRMLGroup () | |
SoVRMLGroup (int nChildren) | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoSFEnum | renderCaching |
SoSFEnum | boundingBoxCaching |
SoSFEnum | renderCulling |
SoSFEnum | pickCulling |
SoSFEnum | directVizCaching |
SoSFInt32 | renderUnitId |
Friends | |
class | SoTraversalPassImpl |
Deprecated | |
| |
static SoDEPRECATED void | setNumRenderCaches (int howMany) |
static SoDEPRECATED int | getNumRenderCaches () |
An SoVRMLGroup node is equivalent to an SoVRMLTransform node, without the transformation fields.
NOTE: This class does not exist in Open Inventor 10.0 and later.This section may reference portions of the VRML97 specification that are not present in this help file. The complete VRML97 spec is available at http://www.web3d.org .
An SoVRMLGroup node is equivalent to an SoVRMLTransform node, without the transformation fields.
See the "Concepts - Grouping and Children Nodes" section for a description of the children , addChildren , and removeChildren fields and eventIns.
The bboxCenter and bboxSize fields specify a bounding box that encloses the SoVRMLGroup's children. This is a hint that may be used for optimization purposes. If the specified bounding box is smaller than the actual bounding box of the children at any time, then the results are undefined. A default bboxSize value, (-1 -1 -1), implies that the bounding box is not specified and if needed must be calculated by the browser. See "Concepts - Bounding Boxes" for a description of the bboxCenter and bboxSize fields.
Note: The following fields -- renderCaching, boundingBoxCaching,directVizCaching, renderCulling, and pickCulling -- are specific to the Open Inventor implementation by VSG and are not part of the VRML97 specification. These fields are very useful for performance tuning, but are not written out if the output file is specified as VRML97 format. See SoSeparator for a discussion of Open Inventor caching and culling. The field renderUnitId is likewise not part of the VRML97 specification. It is used with ScaleViz for cluster rendering.
children | [] |
bboxCenter | 0 0 0 |
bboxSize | -1 -1 -1 |
metadata | NULL |
renderCaching | AUTO (see note above) |
boundingBoxCaching | AUTO (see note above) |
renderCulling | AUTO (see note above) |
pickCulling | AUTO (see note above) |
directVizCaching | OFF (see note above) |
renderUnitId | -1 (see note above) |
SoMFNode | addChildren |
SoMFNode | removeChildren |
SoMFNode | set_children |
SoSFNode | set_metadata |
SoMFNode | children_changed |
SoSFNode | metadata_changed |
SoVRMLGroup::SoVRMLGroup | ( | ) |
Default constructor.
SoVRMLGroup::SoVRMLGroup | ( | int | nChildren | ) |
Constructor that takes approximate number of children.
static SoType SoVRMLGroup::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoVRMLParent.
Reimplemented in SoVRMLGeoLocation, SoVRMLAnchor, SoVRMLBillboard, SoVRMLCollision, and SoVRMLTransform.
static SoDEPRECATED int SoVRMLGroup::getNumRenderCaches | ( | ) | [static] |
Returns the current number of render caches.
virtual SoType SoVRMLGroup::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoVRMLParent.
Reimplemented in SoVRMLGeoLocation, SoVRMLAnchor, SoVRMLBillboard, SoVRMLCollision, and SoVRMLTransform.
static SoDEPRECATED void SoVRMLGroup::setNumRenderCaches | ( | int | howMany | ) | [static] |
Sets the maximum number of render caches.
friend class SoTraversalPassImpl [friend] |
Whether to cache during bounding box traversal.
Use enum CacheEnabled. Default is AUTO.
NOTE: This field is not compatible with VRML97. If you specify a non-default value for this field, when this node is written to a VRML file, the file will contain this incompatible field and standard VRML97 file readers will not be able to read it.
Whether to cache during DirectViz rendering traversal.
Use enum CacheEnabled. Default is OFF. NOTE: This field is not compatible with VRML97. If you specify a non-default value for this field, when this node is written to a VRML file, the file will contain this incompatible field and standard VRML97 file readers will not be able to read it.
NOTE: field available since Open Inventor 7.0
Whether to cull during pick traversal.
Use enum CacheEnabled. Default is AUTO.
NOTE: This field is not compatible with VRML97. If you specify a non-default value for this field, when this node is written to a VRML file, the file will contain this incompatible field and standard VRML97 file readers will not be able to read it.
Whether to cache during rendering traversal.
Use enum CacheEnabled. Default is AUTO.
NOTE: This field is not compatible with VRML97. If you specify a non-default value for this field, when this node is written to a VRML file, the file will contain this incompatible field and standard VRML97 file readers will not be able to read it.
Whether to cull during rendering traversal.
Use enum CacheEnabled. Default is AUTO.
NOTE: This field is not compatible with VRML97. If you specify a non-default value for this field, when this node is written to a VRML file, the file will contain this incompatible field and standard VRML97 file readers will not be able to read it.
Used during the ScaleViz depth compositing process, this field specifies which render unit (OIRU) will render the sub scene graph below this separator.