Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Types | Public Member Functions | Public Attributes
ON_ClippingRegion Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_xform.h>

Public Types

enum  {
  max_clip_plane_count = 16, frustum_bitmask = 0x0000003F, near_plane_bitmask = 0x00000020, far_plane_bitmask = 0x00000010,
  clip_plane_bitmask = 0x7FFFFFC0, negw_bitmask = 0x80000000
}
 

Public Member Functions

 ON_ClippingRegion ()
 
void SetClipPlaneTolerance (double clip_plane_tolerance)
 
double ClipPlaneTolerance () const
 
int InViewFrustum (ON_3dPoint P) const
 
int InViewFrustum (const ON_BoundingBox &bbox) const
 
int InViewFrustum (int count, const ON_3fPoint *p) const
 
int InViewFrustum (int count, const ON_3dPoint *p) const
 
int InViewFrustum (int count, const ON_4dPoint *p) const
 
int InClipPlaneRegion (ON_3dPoint P) const
 
int InClipPlaneRegion (const ON_BoundingBox &bbox) const
 
int InClipPlaneRegion (int count, const ON_3fPoint *p) const
 
int InClipPlaneRegion (int count, const ON_3dPoint *p) const
 
int InClipPlaneRegion (int count, const ON_4dPoint *p) const
 
int IsVisible (ON_3dPoint P) const
 
int IsVisible (const ON_BoundingBox &bbox) const
 
int IsVisible (int count, const ON_3fPoint *p) const
 
int IsVisible (int count, const ON_3dPoint *p) const
 
int IsVisible (int count, const ON_4dPoint *p) const
 
int TransformPoints (int count, ON_4dPoint *p) const
 
int TransformPoints (int count, ON_4dPoint *p, unsigned int *pflags) const
 
unsigned int TransformPoint (const ON_4dPoint &P, ON_4dPoint &Q) const
 
unsigned int TransformPoint (const ON_3dPoint &P, ON_3dPoint &Q) const
 
unsigned int TransformPoint (const ON_3fPoint &P, ON_3dPoint &Q) const
 
bool GetLineClipPlaneParamters (ON_4dPoint P0, ON_4dPoint P1, double *t0, double *t1) const
 

Public Attributes

ON_Xform m_xform
 
int m_clip_plane_count
 
ON_PlaneEquation m_clip_plane [max_clip_plane_count]
 

Detailed Description

Definition at line 766 of file opennurbs_xform.h.

Member Enumeration Documentation

anonymous enum
Enumerator
max_clip_plane_count 
frustum_bitmask 
near_plane_bitmask 
far_plane_bitmask 
clip_plane_bitmask 
negw_bitmask 

Definition at line 799 of file opennurbs_xform.h.

Constructor & Destructor Documentation

ON_ClippingRegion::ON_ClippingRegion ( )

Member Function Documentation

double ON_ClippingRegion::ClipPlaneTolerance ( ) const
bool ON_ClippingRegion::GetLineClipPlaneParamters ( ON_4dPoint  P0,
ON_4dPoint  P1,
double *  t0,
double *  t1 
) const
int ON_ClippingRegion::InClipPlaneRegion ( ON_3dPoint  P) const
int ON_ClippingRegion::InClipPlaneRegion ( const ON_BoundingBox bbox) const
int ON_ClippingRegion::InClipPlaneRegion ( int  count,
const ON_3fPoint p 
) const
int ON_ClippingRegion::InClipPlaneRegion ( int  count,
const ON_3dPoint p 
) const
int ON_ClippingRegion::InClipPlaneRegion ( int  count,
const ON_4dPoint p 
) const
int ON_ClippingRegion::InViewFrustum ( ON_3dPoint  P) const
int ON_ClippingRegion::InViewFrustum ( const ON_BoundingBox bbox) const
int ON_ClippingRegion::InViewFrustum ( int  count,
const ON_3fPoint p 
) const
int ON_ClippingRegion::InViewFrustum ( int  count,
const ON_3dPoint p 
) const
int ON_ClippingRegion::InViewFrustum ( int  count,
const ON_4dPoint p 
) const
int ON_ClippingRegion::IsVisible ( ON_3dPoint  P) const
int ON_ClippingRegion::IsVisible ( const ON_BoundingBox bbox) const
int ON_ClippingRegion::IsVisible ( int  count,
const ON_3fPoint p 
) const
int ON_ClippingRegion::IsVisible ( int  count,
const ON_3dPoint p 
) const
int ON_ClippingRegion::IsVisible ( int  count,
const ON_4dPoint p 
) const
void ON_ClippingRegion::SetClipPlaneTolerance ( double  clip_plane_tolerance)
unsigned int ON_ClippingRegion::TransformPoint ( const ON_4dPoint P,
ON_4dPoint Q 
) const
unsigned int ON_ClippingRegion::TransformPoint ( const ON_3dPoint P,
ON_3dPoint Q 
) const
unsigned int ON_ClippingRegion::TransformPoint ( const ON_3fPoint P,
ON_3dPoint Q 
) const
int ON_ClippingRegion::TransformPoints ( int  count,
ON_4dPoint p 
) const
int ON_ClippingRegion::TransformPoints ( int  count,
ON_4dPoint p,
unsigned int *  pflags 
) const

Member Data Documentation

ON_PlaneEquation ON_ClippingRegion::m_clip_plane[max_clip_plane_count]

Definition at line 822 of file opennurbs_xform.h.

int ON_ClippingRegion::m_clip_plane_count

Definition at line 812 of file opennurbs_xform.h.

ON_Xform ON_ClippingRegion::m_xform

Definition at line 774 of file opennurbs_xform.h.


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