BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
BALL::VIEW::ClippingPlane Class Reference

#include <BALL/VIEW/KERNEL/clippingPlane.h>

Public Member Functions

 ClippingPlane ()
 
 ClippingPlane (const ClippingPlane &plane)
 
virtual ~ClippingPlane ()
 
const ClippingPlaneoperator= (const ClippingPlane &plane)
 
void clear ()
 
bool operator== (const ClippingPlane &plane) const
 
HashSet< const Representation * > & getRepresentations ()
 
const Vector3getNormal () const
 
void setNormal (const Vector3 &normal)
 
bool isActive () const
 
void setActive (bool state)
 
bool isHidden () const
 
void setHidden (bool hidden)
 
float getDistance () const
 
const Vector3getPoint () const
 
void setPoint (const Vector3 &v)
 
void flip ()
 
bool cappingEnabled () const
 
void setCappingEnabled (bool state)
 

Static Public Member Functions

static ColorRGBAgetCappingColor ()
 

Protected Attributes

HashSet< const Representation * > reps_
 
Vector3 normal_
 
Vector3 point_
 
bool active_
 
bool hidden_
 
bool cap_
 

Static Protected Attributes

static ColorRGBA capping_color_
 

Detailed Description

ClippingPlane

Definition at line 25 of file clippingPlane.h.

Constructor & Destructor Documentation

BALL::VIEW::ClippingPlane::ClippingPlane ( )
BALL::VIEW::ClippingPlane::ClippingPlane ( const ClippingPlane plane)
virtual BALL::VIEW::ClippingPlane::~ClippingPlane ( )
virtual

Destructor

Member Function Documentation

bool BALL::VIEW::ClippingPlane::cappingEnabled ( ) const
inline

Definition at line 86 of file clippingPlane.h.

void BALL::VIEW::ClippingPlane::clear ( )
void BALL::VIEW::ClippingPlane::flip ( )
inline

Definition at line 80 of file clippingPlane.h.

static ColorRGBA& BALL::VIEW::ClippingPlane::getCappingColor ( )
inlinestatic

Definition at line 83 of file clippingPlane.h.

float BALL::VIEW::ClippingPlane::getDistance ( ) const
const Vector3& BALL::VIEW::ClippingPlane::getNormal ( ) const
inline

Definition at line 53 of file clippingPlane.h.

const Vector3& BALL::VIEW::ClippingPlane::getPoint ( ) const
inline

Definition at line 74 of file clippingPlane.h.

HashSet<const Representation*>& BALL::VIEW::ClippingPlane::getRepresentations ( )
inline

Definition at line 50 of file clippingPlane.h.

bool BALL::VIEW::ClippingPlane::isActive ( ) const
inline

Definition at line 59 of file clippingPlane.h.

bool BALL::VIEW::ClippingPlane::isHidden ( ) const
inline

Definition at line 65 of file clippingPlane.h.

const ClippingPlane& BALL::VIEW::ClippingPlane::operator= ( const ClippingPlane plane)
bool BALL::VIEW::ClippingPlane::operator== ( const ClippingPlane plane) const
void BALL::VIEW::ClippingPlane::setActive ( bool  state)
inline

Definition at line 62 of file clippingPlane.h.

void BALL::VIEW::ClippingPlane::setCappingEnabled ( bool  state)
inline

Definition at line 89 of file clippingPlane.h.

void BALL::VIEW::ClippingPlane::setHidden ( bool  hidden)
inline

Definition at line 68 of file clippingPlane.h.

void BALL::VIEW::ClippingPlane::setNormal ( const Vector3 normal)
inline

Definition at line 56 of file clippingPlane.h.

void BALL::VIEW::ClippingPlane::setPoint ( const Vector3 v)
inline

Definition at line 77 of file clippingPlane.h.

Member Data Documentation

bool BALL::VIEW::ClippingPlane::active_
protected

Definition at line 96 of file clippingPlane.h.

bool BALL::VIEW::ClippingPlane::cap_
protected

Definition at line 98 of file clippingPlane.h.

ColorRGBA BALL::VIEW::ClippingPlane::capping_color_
staticprotected

Definition at line 99 of file clippingPlane.h.

bool BALL::VIEW::ClippingPlane::hidden_
protected

Definition at line 97 of file clippingPlane.h.

Vector3 BALL::VIEW::ClippingPlane::normal_
protected

Definition at line 94 of file clippingPlane.h.

Vector3 BALL::VIEW::ClippingPlane::point_
protected

Definition at line 95 of file clippingPlane.h.

HashSet<const Representation*> BALL::VIEW::ClippingPlane::reps_
protected

Definition at line 93 of file clippingPlane.h.