194 {
if (! kidsRequested) requestChildrenFromURL(); }
208 {
if (!kidsAreHere) kidsRequested =
FALSE; }
263 virtual void doAction(
SoAction *action);
264 virtual void doActionOnKidsOrBox(
SoAction *action);
275 static void initClass();
276 static void exitClass();
277 const SbString & getBasePath() {
return basePath; }
278 void setBasePath(
const SbString &path ) { basePath = path; }
294 virtual SbBool readInstance(
SoInput *in,
unsigned short flags);
298 void requestChildrenFromURL();
310 static void *fetchURLdata;
314 static SbBool readAsSoFile;
#define FALSE
Possible value of SbBool.
#define SO_NODE_HEADER(className)
void 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 a scene graph or path.
Abstract base class for objects that contain fields.
Renders a scene graph using Open Inventor's Render Engine.
Computes bounding box of a scene.
Computes transformation matrix for a subgraph.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Counts number of...
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.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
Field containing a a node.
Field containing a three-dimensional vector.
Searches for nodes in a scene graph.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Node that refers...
const SbString & getFullURLName()
Returns the fullURL set by setFullURLName, or if not set, returns the contents of the name field.
SoGroup * copyChildren() const
Return a copy of the hidden children as a Group.
static const SbColor & getBoundingBoxColor()
Queries the color of bounding boxes displayed.
BboxVisibility
BboxVisibility.
@ NEVER
Do not show bounding box.
@ ALWAYS
Show bounding box along with data.
@ UNTIL_LOADED
Show bounding box (if specified) until data is loaded.
static void setReadAsSoFile(SbBool onOff)
Sets the ReadAsSoFile flag.
void requestURLData()
Requests that URL data be fetched.
static SbBool getReadAsSoFile()
Queries the ReadAsSoFile flag.
static void setBoundingBoxColor(SbColor &c)
Specifies the color of bounding boxes displayed.
void setChildData(SoNode *urlData)
Sets the child data the inline should display.
SoSFNode alternateRep
Specifies child data that can be used instead of fetching data from the URL.
static void setFetchURLCallBack(SoWWWInlineFetchURLCB *f, void *userData)
Application callbacks invoked when the inline needs its URL data fetched.
SoSFFilePathString name
Specifies the URL which the application should fetch as child data to this node (e....
SoNode * getChildData() const
Gets the child data the inline should display.
void cancelURLDataRequest()
Cancels the active URL data fetch request.
static BboxVisibility getBoundingBoxVisibility()
Queries when bounding boxes are displayed.
SoWWWInline()
Creates an inline node with default settings.
SbBool isURLDataRequested() const
Returns whether URL data has been requested.
SoSFVec3f bboxCenter
Defines the center of the bounding box surrounding the URL child data.
SbBool isURLDataHere() const
Returns whether URL data is here (i.e. whether setChildData() has been called.)
void setFullURLName(const SbString &url)
If the name field contains a relative URL (e.g. "foo.wrl" instead of "http://bogus....
SoSFVec3f bboxSize
Defines the size of the bounding box surrounding the URL child data.
static void setBoundingBoxVisibility(BboxVisibility b)
Specifies when bounding boxes are displayed.
Writes a scene graph to a file.