library: libRGL
#include "TGLClip.h"

TGLClipBox


class description - source file - inheritance tree (.pdf)

class TGLClipBox : public TGLClip

Inheritance Chart:
TGLDrawable
<-
TGLPhysicalShape
<-
TGLClip
<-
TGLClipBox

    public:
TGLClipBox(const TGLVector3& halfLengths, const TGLVertex3& center) virtual ~TGLClipBox() static TClass* Class() virtual TClass* IsA() const virtual void PlaneSet(TGLPlaneSet_t& set) const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
static const float fgColor[4]

Class Description

                                                                      
 TGLClip                                                              
                                                                      
 Abstract clipping shape - derives from TGLPhysicalShape              
 Adds clip mode (inside/outside) and pure virtual method to           
 approximate shape as set of planes. This plane set is used to perform
 interactive clipping using OpenGL clip planes.                       


TGLClipBox(const TGLVector3 & halfLengths, const TGLVertex3 & center) : TGLClip(*CreateLogicalBox(halfLengths), TGLMatrix(center), fgColor)
 Construct an (initially) axis aligned clip pbox object, extents 'halfLengths',
 centered on 'center' vertex.
 Box can be translated, rotated and scaled in all (xyz) local axes.

~TGLClipBox()
 Destroy clip box object

void PlaneSet(TGLPlaneSet_t & set) const
 Return set of 6 planes describing faces of the box



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)


Author: Richard Maunder 16/09/2005
Last update: root/gl:$Name: $:$Id: TGLClip.cxx,v 1.7 2006/02/20 11:02:19 brun Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.