MeshGui::SoPolygon Class Reference

#include <SoPolygon.h>

Public Member Functions

 SoPolygon ()
 

Static Public Member Functions

static void initClass ()
 

Public Attributes

SoSFBool highlight
 
SoSFInt32 numVertices
 
SoSFBool render
 
SoSFInt32 startIndex
 

Protected Member Functions

virtual void computeBBox (SoAction *action, SbBox3f &box, SbVec3f &center)
 Sets the bounding box of the mesh to box and its center to center. More...
 
virtual void generatePrimitives (SoAction *action)
 
virtual void GLRender (SoGLRenderAction *action)
 Renders the polygon. More...
 
virtual void rayPick (SoRayPickAction *action)
 Calculates picked point based on primitives generated by subclasses. More...
 
virtual ~SoPolygon ()
 

Constructor & Destructor Documentation

◆ SoPolygon()

SoPolygon::SoPolygon ( )

References highlight, numVertices, render, and startIndex.

◆ ~SoPolygon()

virtual MeshGui::SoPolygon::~SoPolygon ( )
protectedvirtual

Member Function Documentation

◆ computeBBox()

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

Sets the bounding box of the mesh to box and its center to center.

References numVertices, and startIndex.

◆ generatePrimitives()

void SoPolygon::generatePrimitives ( SoAction action)
protectedvirtual

◆ GLRender()

void SoPolygon::GLRender ( SoGLRenderAction action)
protectedvirtual

Renders the polygon.

References render.

◆ initClass()

void SoPolygon::initClass ( void  )
static

◆ rayPick()

void SoPolygon::rayPick ( SoRayPickAction *  action)
protectedvirtual

Calculates picked point based on primitives generated by subclasses.

Member Data Documentation

◆ highlight

SoSFBool MeshGui::SoPolygon::highlight

◆ numVertices

SoSFInt32 MeshGui::SoPolygon::numVertices

Referenced by computeBBox(), and SoPolygon().

◆ render

SoSFBool MeshGui::SoPolygon::render

Referenced by GLRender(), and SoPolygon().

◆ startIndex

SoSFInt32 MeshGui::SoPolygon::startIndex

Referenced by computeBBox(), and SoPolygon().


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