Blender V5.0
Freestyle::firstIntersectionGridVisitor Class Reference

#include <Grid.h>

Inherits Freestyle::GridVisitor.

Public Member Functions

 firstIntersectionGridVisitor (const Vec3r &ray_org, const Vec3r &ray_dir, const Vec3r &cell_size)
virtual ~firstIntersectionGridVisitor ()
virtual void discoverCell (Cell *cell)
virtual void examineOccluder (Polygon3r *occ)
virtual bool stop ()
Polygon3roccluder ()
Public Member Functions inherited from Freestyle::GridVisitor
virtual ~GridVisitor ()
virtual void finishCell (Cell *)

Public Attributes

double u_
double v_
double t_

Detailed Description

Finds the first intersection and breaks. The occluder and the intersection information are stored and accessible.

Definition at line 115 of file Grid.h.

Constructor & Destructor Documentation

◆ firstIntersectionGridVisitor()

Freestyle::firstIntersectionGridVisitor::firstIntersectionGridVisitor ( const Vec3r & ray_org,
const Vec3r & ray_dir,
const Vec3r & cell_size )
inline

Definition at line 126 of file Grid.h.

References t_, u_, and v_.

◆ ~firstIntersectionGridVisitor()

virtual Freestyle::firstIntersectionGridVisitor::~firstIntersectionGridVisitor ( )
inlinevirtual

Definition at line 139 of file Grid.h.

Member Function Documentation

◆ discoverCell()

virtual void Freestyle::firstIntersectionGridVisitor::discoverCell ( Cell * cell)
inlinevirtual

Reimplemented from Freestyle::GridVisitor.

Definition at line 141 of file Grid.h.

◆ examineOccluder()

void Freestyle::firstIntersectionGridVisitor::examineOccluder ( Polygon3r * occ)
virtual

◆ occluder()

Polygon3r * Freestyle::firstIntersectionGridVisitor::occluder ( )
inline

Definition at line 150 of file Grid.h.

Referenced by Freestyle::Grid::castRayToFindFirstIntersection().

◆ stop()

bool Freestyle::firstIntersectionGridVisitor::stop ( )
virtual

Reimplemented from Freestyle::GridVisitor.

Definition at line 75 of file Grid.cpp.

Member Data Documentation

◆ t_

double Freestyle::firstIntersectionGridVisitor::t_

◆ u_

double Freestyle::firstIntersectionGridVisitor::u_

◆ v_

double Freestyle::firstIntersectionGridVisitor::v_

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