SoSphere man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



								 SoSphere(3IV)

NAME
     SoSphere (SoSphere) - sphere shape node

INHERITS FROM
     SoBase > SoFieldContainer > SoNode > SoShape > SoSphere

SYNOPSIS
     #include <Inventor_c/nodes/SoSphere.h>

	  Fields from class SoSphere:

     SoSFFloat		 radius

	  Functions from class SoSphere:

     SoSphere *		 SoSphereCreate()
     SoType		 SoSphereGetClassTypeId()

	  Functions from class SoNode:

     void		 SoSphereSetOverride(SoSphere *this, SbBool state)
     SbBool		 SoSphereIsOverride(const SoSphere *this)
     SoNode *		 SoSphereCopy(const SoSphere *this, SbBool
			      copyConnections = FALSE)
     SbBool		 SoSphereAffectsState(const SoSphere *this)
     SoNode *		 SoSphereGetByName(const char *name)
     int		 SoSphereGetByNameList(const char *name, SoNodeList
			      *list)

	  Functions from class SoFieldContainer:

     void		 SoSphereSetToDflts(SoSphere *this)
     SbBool		 SoSphereHasDfltVals(const SoSphere *this)
     SbBool		 SoSphereFldsAreEq(const SoSphere *this, const
			      SoFieldContainer *fc)
     void		 SoSphereCopyFieldVals(SoSphere *this, const
			      SoFieldContainer *fc, SbBool copyConnections =
			      FALSE)
     SbBool		 SoSphereSet(SoSphere *this, const char
			      *fieldDataString)
     void		 SoSphereGet(SoSphere *this, SbString
			      *fieldDataString)
     int		 SoSphereGetFields(const SoSphere *this, SoFieldList
			      *resultList)
     SoField *		 SoSphereGetField(const SoSphere *this, const char
			      *fieldName)
     SbBool		 SoSphereGetFieldName(const SoSphere *this, const
			      SoField *field, SbName *fieldName)
     SbBool		 SoSphereIsNotifyEnabled(const SoSphere *this)
     SbBool		 SoSphereEnableNotify(SoSphere *this, SbBool flag)

	  Functions from class SoBase:

Page 1

SoSphere(3IV)

     void		 SoSphereRef(SoSphere *this)
     void		 SoSphereUnref(const SoSphere *this)
     void		 SoSphereUnrefNoDelete(const SoSphere *this)
     void		 SoSphereTouch(SoSphere *this)
     SoType		 SoSphereGetTypeId(const SoSphere *this)
     SbBool		 SoSphereIsOfType(const SoSphere *this, SoType type)
     void		 SoSphereSetName(SoSphere *this, const char *name)
     SbName		 SoSphereGetName(const SoSphere *this)

DESCRIPTION
     This node represents a sphere. By default, the sphere is centered at the
     origin and has a radius of 1. The sphere is transformed by the current
     cumulative transformation and is drawn with the current lighting model,
     drawing style, material, and geometric complexity.

     A sphere does not have faces or parts. Therefore, the sphere ignores
     material and normal bindings, using the first material for the entire
     sphere and using its own normals. When a texture is applied to a sphere,
     the texture covers the entire surface, wrapping counterclockwise from the
     back of the sphere. The texture has a seam at the back on the yz-plane.

FIELDS
     SoSFFloat		 radius
	  Radius of sphere. This must be greater than 0.

FUNCTIONS
     SoSphere *		 SoSphereCreate()
	  Creates a sphere node with default settings.

     SoType		 SoSphereGetClassTypeId()
	  Returns type identifier for this class.

ACTION BEHAVIOR
     SoGLRenderAction
	  Draws sphere based on the current coordinates, materials, drawing
	  style, and so on.

     SoRayPickAction
	  Intersects the ray with the sphere. No details are created for
	  intersections.

     SoGetBoundingBoxAction
	  Computes the bounding box that encloses the sphere.

     SoCallbackAction
	  If any triangle callbacks are registered with the action, they will
	  be invoked for each successive triangle that approximates the
	  sphere.

Page 2

								 SoSphere(3IV)

FILE FORMAT/DEFAULTS
     Sphere {
	  radius  1
     }

SEE ALSO
     SoCone, SoCube, SoCylinder

Page 3

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net