#include <TGLClip.h>
Inheritance diagram for TGLClipPlane:
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] |
Definition at line 77 of file TGLClip.h.
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] |
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 | , | |
0 | ||||
) |
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 | , | |
0 | ||||
) |
static const float TGLClipPlane::fgColor [static, private] |