SoVRMLGeometry - Online Linux Manual PageSection : 3
Updated : Mon Jan 25 2021
Source : Version 2.5.0
Note : Coin

NAMESoVRMLGeometry − The SoVRMLGeometry class is a superclass for VRML shapes​.

SYNOPSIS
#include <Inventor/VRMLnodes/SoVRMLGeometry​.h> Inherits SoShape​. Inherited by SoVRMLBox, SoVRMLCone, SoVRMLCylinder, SoVRMLElevationGrid, SoVRMLExtrusion, SoVRMLSphere, SoVRMLText, SoVRMLVertexLine, SoVRMLVertexPoint, and SoVRMLVertexShape​.

Public Member Functionsvirtual SoType getTypeId (void) const
virtual void search (SoSearchAction *action)
virtual void copyContents (const SoFieldContainer *from, SbBool copyConn)

Static Public Member Functionsstatic SoType getClassTypeId (void)
static void initClass (void)

Protected Member Functionsvirtual const SoFieldData * getFieldData (void) const
SoVRMLGeometry (void)
virtual ~SoVRMLGeometry ()
void setupShapeHints (SoState *state, const SbBool ccw, const SbBool solid)
virtual SbBool shouldGLRender (SoGLRenderAction *action)
virtual SoChildList * getChildren (void) const
virtual void notify (SoNotList *list)

Static Protected Member Functionsstatic const SoFieldData ** getFieldDataPtr (void)

Additional Inherited Members

Detailed DescriptionThe SoVRMLGeometry class is a superclass for VRML shapes​.

Constructor & Destructor Documentation

SoVRMLGeometry::SoVRMLGeometry (void) [protected]Constructor​.

SoVRMLGeometry::~SoVRMLGeometry () [protected], [virtual]Destructor​.

Member Function Documentation

SoType SoVRMLGeometry::getTypeId (void) const [virtual]Returns the type identification of an object derived from a class inheriting SoBase​. This is used for run-time type checking and 'downward' casting​. Usage example: void foo(SoNode * node) { if (node->getTypeId() == SoFile::getClassTypeId()) { SoFile * filenode = (SoFile *)node; // safe downward cast, knows the type } else if (node->getTypeId()​.isOfType(SoGroup::getClassTypeId())) { SoGroup * group = (SoGroup *)node; // safe downward cast, knows the type } }For application programmers wanting to extend the library with new nodes, engines, nodekits, draggers or others: this method needs to be overridden in all subclasses​. This is typically done as part of setting up the full type system for extension classes, which is usually accomplished by using the pre-defined macros available through for instance Inventor/nodes/SoSubNode​.h (SO_NODE_INIT_CLASS and SO_NODE_CONSTRUCTOR for node classes), Inventor/engines/SoSubEngine​.h (for engine classes) and so on​. For more information on writing Coin extensions, see the class documentation of the toplevel superclasses for the various class groups​. Reimplemented from SoShape​. Reimplemented in SoVRMLVertexShape, SoVRMLVertexPoint, SoVRMLVertexLine, SoVRMLText, SoVRMLSphere, SoVRMLPointSet, SoVRMLIndexedShape, SoVRMLIndexedLineSet, SoVRMLIndexedLine, SoVRMLIndexedFaceSet, SoVRMLExtrusion, SoVRMLElevationGrid, SoVRMLCylinder, SoVRMLCone, and SoVRMLBox​.

const SoFieldData * SoVRMLGeometry::getFieldData (void) const [protected], [virtual]Returns a pointer to the class-wide field data storage object for this instance​. If no fields are present, returns NULL​. Reimplemented from SoShape​. Reimplemented in SoVRMLVertexShape, SoVRMLVertexPoint, SoVRMLVertexLine, SoVRMLText, SoVRMLSphere, SoVRMLPointSet, SoVRMLIndexedShape, SoVRMLIndexedLineSet, SoVRMLIndexedLine, SoVRMLIndexedFaceSet, SoVRMLExtrusion, SoVRMLElevationGrid, SoVRMLCylinder, SoVRMLCone, and SoVRMLBox​.

void SoVRMLGeometry::search (SoSearchAction * action) [virtual]Action method for SoSearchAction​. Compares the search criteria from the action to see if this node is a match​. Searching is done by matching up all criteria set up in the SoSearchAction -- if any of the requested criteria is a miss, the search is not deemed successful for the node​. See also SoSearchAction Reimplemented from SoNode​. References getChildren(), SoAction::getPathCode(), SoSearchAction::isFound(), SoNode::search(), SoChildList::traverse(), and SoChildList::traverseInPath()​.

void SoVRMLGeometry::copyContents (const SoFieldContainer * from, SbBool copyconnections) [virtual]Makes a deep copy of all data of from into this instance, except external scenegraph references if copyconnections is FALSE​. This is the protected method that should be overridden by extension node / engine / dragger / whatever subclasses which needs to account for internal data that are not handled automatically​. For copying nodes from application code, you should not invoke this function directly, but rather call the SoNode::copy() function: SoNode * mynewnode = templatenode->copy();The same also goes for engines​. Make sure that when you override the copyContents() method in your extension class that you also make it call upwards to it's parent superclass in the inheritance hierarchy, as copyContents() in for instance SoNode and SoFieldContainer does important work​. It should go something like this: void MyCoinExtensionNode::copyContents(const SoFieldContainer * from, SbBool copyconnections) { // let parent superclasses do their thing (copy fields, copy // instance name, etc etc) SoNode::copyContents(from, copyconnections); // [​.​.then copy internal data​.​.] }Reimplemented from SoNode​. References SoNode::copyContents()​.

void SoVRMLGeometry::setupShapeHints (SoState * state, const SbBool ccw, const SbBool solid) [protected]Convenience method that updates the shape hints element​. Referenced by SoVRMLElevationGrid::GLRender(), SoVRMLExtrusion::GLRender(), and SoVRMLIndexedFaceSet::GLRender()​.

SbBool SoVRMLGeometry::shouldGLRender (SoGLRenderAction * action) [protected], [virtual]This API member is considered internal to the library, as it is not likely to be of interest to the application programmer​.

Reimplemented from SoShape​. Reimplemented in SoVRMLVertexShape, SoVRMLVertexPoint, and SoVRMLVertexLine​. References SoShape::shouldGLRender()​. Referenced by SoVRMLBox::GLRender(), SoVRMLCone::GLRender(), SoVRMLCylinder::GLRender(), SoVRMLElevationGrid::GLRender(), SoVRMLExtrusion::GLRender(), SoVRMLSphere::GLRender(), SoVRMLText::GLRender(), SoVRMLVertexLine::shouldGLRender(), and SoVRMLVertexPoint::shouldGLRender()​.

SoChildList * SoVRMLGeometry::getChildren (void) const [protected], [virtual]Returns list of children for this node​. Reimplemented from SoNode​. Reimplemented in SoVRMLText​. References SoVRMLParent::updateChildList()​. Referenced by search()​.

void SoVRMLGeometry::notify (SoNotList * l) [protected], [virtual]Notifies all auditors for this instance when changes are made​. Reimplemented from SoShape​. Reimplemented in SoVRMLVertexShape, SoVRMLVertexPoint, SoVRMLVertexLine, SoVRMLText, SoVRMLIndexedShape, SoVRMLIndexedLine, SoVRMLExtrusion, and SoVRMLElevationGrid​. References SoNotList::getLastField(), SoField::getTypeId(), and SoShape::notify()​. Referenced by SoVRMLElevationGrid::notify(), SoVRMLExtrusion::notify(), SoVRMLText::notify(), SoVRMLVertexLine::notify(), SoVRMLVertexPoint::notify(), and SoVRMLVertexShape::notify()​.

AuthorGenerated automatically by Doxygen for Coin from the source code​.
0
Johanes Gumabo
Data Size   :   35,654 byte
man-SoVRMLGeometry.3coin2Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 189,298
Visitor ID   :     :  
Visitor IP   :   13.58.84.207   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.