Public Types | Public Member Functions | Public Attributes | Private Attributes
ON_ClippingRegion Class Reference

#include <opennurbs_xform.h>

List of all members.

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

double ClipPlaneTolerance () const
bool GetLineClipPlaneParamters (ON_4dPoint P0, ON_4dPoint P1, double *t0, double *t1) 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 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 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
 ON_ClippingRegion ()
void SetClipPlaneTolerance (double clip_plane_tolerance)
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
int TransformPoints (int count, ON_4dPoint *p) const
int TransformPoints (int count, ON_4dPoint *p, unsigned int *pflags) const

Public Attributes

ON_PlaneEquation m_clip_plane [max_clip_plane_count]
int m_clip_plane_count
ON_Xform m_xform

Private Attributes

float m_clip_plane_tolerance

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

Definition at line 148 of file opennurbs_bounding_box.cpp.


Member Function Documentation

Definition at line 161 of file opennurbs_bounding_box.cpp.

bool ON_ClippingRegion::GetLineClipPlaneParamters ( ON_4dPoint  P0,
ON_4dPoint  P1,
double *  t0,
double *  t1 
) const

Definition at line 1034 of file opennurbs_bounding_box.cpp.

Definition at line 330 of file opennurbs_bounding_box.cpp.

Definition at line 337 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::InClipPlaneRegion ( int  count,
const ON_3fPoint p 
) const

Definition at line 367 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::InClipPlaneRegion ( int  count,
const ON_3dPoint p 
) const

Definition at line 431 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::InClipPlaneRegion ( int  count,
const ON_4dPoint p 
) const

Definition at line 495 of file opennurbs_bounding_box.cpp.

Definition at line 166 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::InViewFrustum ( const ON_BoundingBox bbox) const

Definition at line 173 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::InViewFrustum ( int  count,
const ON_3fPoint p 
) const

Definition at line 198 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::InViewFrustum ( int  count,
const ON_3dPoint p 
) const

Definition at line 242 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::InViewFrustum ( int  count,
const ON_4dPoint p 
) const

Definition at line 286 of file opennurbs_bounding_box.cpp.

Definition at line 559 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::IsVisible ( const ON_BoundingBox bbox) const

Definition at line 564 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::IsVisible ( int  count,
const ON_3fPoint p 
) const

Definition at line 588 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::IsVisible ( int  count,
const ON_3dPoint p 
) const

Definition at line 652 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::IsVisible ( int  count,
const ON_4dPoint p 
) const

Definition at line 717 of file opennurbs_bounding_box.cpp.

void ON_ClippingRegion::SetClipPlaneTolerance ( double  clip_plane_tolerance)

Definition at line 153 of file opennurbs_bounding_box.cpp.

unsigned int ON_ClippingRegion::TransformPoint ( const ON_4dPoint P,
ON_4dPoint Q 
) const

Definition at line 781 of file opennurbs_bounding_box.cpp.

unsigned int ON_ClippingRegion::TransformPoint ( const ON_3dPoint P,
ON_3dPoint Q 
) const

Definition at line 829 of file opennurbs_bounding_box.cpp.

unsigned int ON_ClippingRegion::TransformPoint ( const ON_3fPoint P,
ON_3dPoint Q 
) const

Definition at line 884 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::TransformPoints ( int  count,
ON_4dPoint p 
) const

Definition at line 958 of file opennurbs_bounding_box.cpp.

int ON_ClippingRegion::TransformPoints ( int  count,
ON_4dPoint p,
unsigned int *  pflags 
) const

Definition at line 893 of file opennurbs_bounding_box.cpp.


Member Data Documentation

Definition at line 822 of file opennurbs_xform.h.

Definition at line 812 of file opennurbs_xform.h.

Definition at line 819 of file opennurbs_xform.h.

Definition at line 774 of file opennurbs_xform.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:51