133 {
if (! kidsRequested) requestChildrenFromURL(); }
142 {
if (!kidsAreHere) kidsRequested =
FALSE; }
199 bool copyConnections);
202 void requestChildrenFromURL();
214 static void *fetchURLdata;
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
void INVENTOR_API SoWWWInlineFetchURLCB(const SbString &url, void *userData, SoWWWInline *node)
This is the format for callbacks that will get URL data for us.
Class for smart character strings.
Abstract base class for all actions.
Performs a generic traversal of the scene graph.
This class maintains a list of child nodes for any node.
Abstract base class for objects that contain fields.
Renders a scene graph using OpenGL.
Computes bounding box of a scene.
Computes transformation matrix for subgraph.
Base class for all group nodes.
Allows nodes in a graph to receive input events.
Abstract base class for all database nodes.
Abstract base class for picking objects in a scene.
Field containing a pointer to a node.
Field containing a string.
Field containing a three-dimensional vector.
Searches for nodes in a scene graph.
Node that refers to children through a URL.
const SbString & getFullURLName()
If the name field contains a relative URL (e.g.
SoGroup * copyChildren() const
Return (hidden) children as Group.
virtual void pick(SoPickAction *action)
virtual void callback(SoCallbackAction *action)
virtual void handleEvent(SoHandleEventAction *action)
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
static const SbColor & getBoundingBoxColor()
This allows the application to specify the color of bounding boxes displayed.
SoSFString name
URL specifying children (might be relative)
@ NEVER
Do not show bounding box.
@ UNTIL_LOADED
Show bounding box (if specified) until data is loaded.
void requestURLData()
Request that URL data be fetched.
static void setBoundingBoxColor(SbColor &c)
This allows the application to specify the color of bounding boxes displayed.
void setChildData(SoNode *urlData)
Set/get the child data the inline should display.
SoSFNode alternateRep
Child data if app cannot fetch URL.
virtual void doActionOnKidsOrBox(SoAction *action)
static void setFetchURLCallBack(SoWWWInlineFetchURLCB *f, void *userData)
Application callbacks invoked when the inline needs its URL data fetched.
SoNode * getChildData() const
Set/get the child data the inline should display.
virtual void GLRender(SoGLRenderAction *action)
These virtual functions implement all of the actions for nodes, Most of the default implementations d...
virtual void doAction(SoAction *action)
Traversal methods for all the actions:
void cancelURLDataRequest()
Cancel the active URL data fetch request.
virtual void copyContents(const SoFieldContainer *fromFC, bool copyConnections)
Copies the child data as well as the rest of the node (if the child data has been set)
static BboxVisibility getBoundingBoxVisibility()
Get the bounding boxes visibility.
virtual void search(SoSearchAction *action)
bool isURLDataRequested() const
Return whether URL data has been requested and whether that data is here (i.e.
bool isURLDataHere() const
Return whether URL data has been requested and whether that data is here (i.e.
virtual void addBoundingBoxChild(SbVec3f center, SbVec3f size)
SoWWWInline()
Creates an inline node with default settings.
virtual SoChildList * getChildren() const
Returns pointer to children, or NULL if none.
virtual bool readInstance(SoInput *in, unsigned short flags)
Reads into instance of SoWWWInline. Returns FALSE on error.
SoSFVec3f bboxCenter
Bounding box center.
void setFullURLName(const SbString &url)
SoSFVec3f bboxSize
Bounding box size.
static void setBoundingBoxVisibility(BboxVisibility b)
This allows the application to specify when bounding boxes are displayed.
virtual void getMatrix(SoGetMatrixAction *action)
Writes a scene graph to a file.