TGLClipPlane Class Reference

#include <TGLClip.h>

Inheritance diagram for TGLClipPlane:

TGLClip TGLClip TGLPhysicalShape TGLPhysicalShape TGLPhysicalShape TGLPhysicalShape List of all members.

Public Member Functions

 TGLClipPlane ()
 Fixed color of clip plane.
virtual ~TGLClipPlane ()
virtual void Setup (const TGLBoundingBox &bbox)
virtual void Setup (const TGLVector3 &point, const TGLVector3 &normal)
void Set (const TGLPlane &plane)
virtual void PlaneSet (TGLPlaneSet_t &set) const
 ClassDef (TGLClipPlane, 0)
 TGLClipPlane ()
 Fixed color of clip plane.
virtual ~TGLClipPlane ()
virtual void Setup (const TGLBoundingBox &bbox)
virtual void Setup (const TGLVector3 &point, const TGLVector3 &normal)
void Set (const TGLPlane &plane)
virtual void PlaneSet (TGLPlaneSet_t &set) const
 ClassDef (TGLClipPlane, 0)

Static Private Attributes

static const float fgColor [4]

Detailed Description

Definition at line 77 of file TGLClip.h.


Constructor & Destructor Documentation

TGLClipPlane::TGLClipPlane (  ) 

Fixed color of clip plane.

Definition at line 152 of file TGLClip.cxx.

References TGLClip::fValid, kFALSE, TGLPhysicalShape::kRotateX, TGLPhysicalShape::kRotateY, TGLPhysicalShape::kTranslateAll, Set(), and TGLPhysicalShape::SetManip().

TGLClipPlane::~TGLClipPlane (  )  [virtual]

Definition at line 176 of file TGLClip.cxx.

TGLClipPlane::TGLClipPlane (  ) 

Fixed color of clip plane.

virtual TGLClipPlane::~TGLClipPlane (  )  [virtual]


Member Function Documentation

void TGLClipPlane::Setup ( const TGLBoundingBox bbox  )  [virtual]

Implements TGLClip.

Definition at line 182 of file TGLClip.cxx.

References TGLPhysicalShape::BoundingBox(), TGLBoundingBox::Center(), TGLBoundingBox::Extents(), TGLClip::fValid, TGLPhysicalShape::GetLogical(), TGLBoundingBox::GetNearPlane(), TGLClip::IncTimeStamp(), kTRUE, TGLVector3::Mag(), TGLPlane::Norm(), and TGLPhysicalShape::SetTransform().

Referenced by TGLClipSet::GetClipState(), and TGLClipSet::SetupClips().

void TGLClipPlane::Setup ( const TGLVector3 point,
const TGLVector3 normal 
) [virtual]

Reimplemented from TGLClip.

Definition at line 197 of file TGLClip.cxx.

References TGLClip::fValid, TGLPhysicalShape::GetLogical(), TGLClip::IncTimeStamp(), kTRUE, n, TGLPhysicalShape::SetTransform(), and Warning().

void TGLClipPlane::Set ( const TGLPlane plane  ) 

Definition at line 228 of file TGLClip.cxx.

References TGLPhysicalShape::BoundingBox(), TGLBoundingBox::Center(), TGLClip::fValid, TGLClip::IncTimeStamp(), kTRUE, TGLPlane::NearestOn(), TGLPlane::Norm(), and TGLPhysicalShape::SetTransform().

Referenced by TGLClipSet::SetClipState(), and TGLClipPlane().

void TGLClipPlane::PlaneSet ( TGLPlaneSet_t set  )  const [virtual]

Implements TGLClip.

Definition at line 241 of file TGLClip.cxx.

References TGLPhysicalShape::BoundingBox(), TGLBoundingBox::GetNearPlane(), and TGLPlane::Negate().

Referenced by TGLClipSet::GetClipState().

TGLClipPlane::ClassDef ( TGLClipPlane  ,
 
)

virtual void TGLClipPlane::Setup ( const TGLBoundingBox bbox  )  [virtual]

Implements TGLClip.

virtual void TGLClipPlane::Setup ( const TGLVector3 point,
const TGLVector3 normal 
) [virtual]

Reimplemented from TGLClip.

void TGLClipPlane::Set ( const TGLPlane plane  ) 

virtual void TGLClipPlane::PlaneSet ( TGLPlaneSet_t set  )  const [virtual]

Implements TGLClip.

TGLClipPlane::ClassDef ( TGLClipPlane  ,
 
)


Member Data Documentation

static const float TGLClipPlane::fgColor [static, private]

Definition at line 80 of file TGLClip.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:39:58 2011 for ROOT_528-00b_version by  doxygen 1.5.1