SmallChange  1.0.0
A collection of extensions to Coin3D
Loading...
Searching...
No Matches
SkyDome Class Reference

The SkyDome class is a shape node for rendering skydomes. More...

#include <SkyDome.h>

Inheritance diagram for SkyDome:
SoShape

Public Member Functions

 SkyDome (void)
 
virtual void getPrimitiveCount (SoGetPrimitiveCountAction *action)
 
virtual void GLRender (SoGLRenderAction *action)
 

Static Public Member Functions

static void initClass (void)
 

Public Attributes

SoSFFloat endAngle
 
SoSFFloat height
 
SoSFInt32 numSlices
 
SoSFInt32 numStacks
 
SoSFFloat radius
 
SoSFFloat startAngle
 

Protected Member Functions

virtual ~SkyDome ()
 
virtual void computeBBox (SoAction *action, SbBox3f &box, SbVec3f &center)
 
virtual void generatePrimitives (SoAction *action)
 

Detailed Description

The SkyDome class is a shape node for rendering skydomes.

Constructor & Destructor Documentation

◆ SkyDome()

SkyDome::SkyDome ( void )

Constructor.

◆ ~SkyDome()

SkyDome::~SkyDome ( )
protectedvirtual

Destructor.

Member Function Documentation

◆ computeBBox()

void SkyDome::computeBBox ( SoAction * action,
SbBox3f & box,
SbVec3f & center )
protectedvirtual

Coin method. Computes bounding box of skydome.

◆ generatePrimitives()

void SkyDome::generatePrimitives ( SoAction * action)
protectedvirtual

Coin method. Generates skydome primitives. Currently not implemented.

◆ getPrimitiveCount()

void SkyDome::getPrimitiveCount ( SoGetPrimitiveCountAction * action)
virtual

Coin method. Calculates the number of primitives in skydome. Not implemented.

◆ GLRender()

void SkyDome::GLRender ( SoGLRenderAction * action)
virtual

Coin method. Renders skydome.

◆ initClass()

void SkyDome::initClass ( void )
static

Required Coin method.

Member Data Documentation

◆ endAngle

SoSFFloat SkyDome::endAngle

Specifies the vertical angle where the (partial) sphere will end. 0 is straight up (+Z).

◆ height

SoSFFloat SkyDome::height

Specifies the height (+Z) of the skydome.

◆ numSlices

SoSFInt32 SkyDome::numSlices

Specifies the number of slices used when rendering.

◆ numStacks

SoSFInt32 SkyDome::numStacks

Specifies the number of stacks used when rendering.

◆ radius

SoSFFloat SkyDome::radius

Specifies the radius (+X and +Y) if the skydome.

◆ startAngle

SoSFFloat SkyDome::startAngle

Specifies the vertical angle where the (partial) sphere will start. 0 is straight up (+Z).


The documentation for this class was generated from the following files: