Public Member Functions | Private Attributes | Static Private Attributes
cob_3d_mapping::CohenSutherlandClipping Class Reference

#include <clipping.h>

List of all members.

Public Member Functions

bool clip (const Eigen::Vector3f &p0, const Eigen::Vector3f &p1, Eigen::Vector3f &q0, Eigen::Vector3f &q1)
 CohenSutherlandClipping ()
int computeCode (float x, float y, float z=0.0f)
void setBorders (float x_min, float x_max, float y_min, float y_max, float z_min, float z_max)

Private Attributes

float xmax
float xmin
float ymax
float ymin
float zmax
float zmin

Static Private Attributes

static const int BOTTOM = 4
static const int FAR = 32
static const int LEFT = 1
static const int NEAR = 16
static const int RIGHT = 2
static const int TOP = 8

Detailed Description

Definition at line 71 of file clipping.h.


Constructor & Destructor Documentation

Definition at line 74 of file clipping.h.


Member Function Documentation

bool cob_3d_mapping::CohenSutherlandClipping::clip ( const Eigen::Vector3f &  p0,
const Eigen::Vector3f &  p1,
Eigen::Vector3f &  q0,
Eigen::Vector3f &  q1 
)
int cob_3d_mapping::CohenSutherlandClipping::computeCode ( float  x,
float  y,
float  z = 0.0f 
) [inline]

Definition at line 92 of file clipping.h.

void cob_3d_mapping::CohenSutherlandClipping::setBorders ( float  x_min,
float  x_max,
float  y_min,
float  y_max,
float  z_min,
float  z_max 
) [inline]

Definition at line 83 of file clipping.h.


Member Data Documentation

const int cob_3d_mapping::CohenSutherlandClipping::BOTTOM = 4 [static, private]

Definition at line 122 of file clipping.h.

const int cob_3d_mapping::CohenSutherlandClipping::FAR = 32 [static, private]

Definition at line 119 of file clipping.h.

const int cob_3d_mapping::CohenSutherlandClipping::LEFT = 1 [static, private]

Definition at line 124 of file clipping.h.

const int cob_3d_mapping::CohenSutherlandClipping::NEAR = 16 [static, private]

Definition at line 120 of file clipping.h.

const int cob_3d_mapping::CohenSutherlandClipping::RIGHT = 2 [static, private]

Definition at line 123 of file clipping.h.

const int cob_3d_mapping::CohenSutherlandClipping::TOP = 8 [static, private]

Definition at line 121 of file clipping.h.

Definition at line 113 of file clipping.h.

Definition at line 112 of file clipping.h.

Definition at line 115 of file clipping.h.

Definition at line 114 of file clipping.h.

Definition at line 117 of file clipping.h.

Definition at line 116 of file clipping.h.


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


cob_3d_fov_segmentation
Author(s): Georg Arbeiter
autogenerated on Wed Aug 26 2015 11:04:19