Blender  V3.3
Public Member Functions | List of all members
Freestyle::Interface0D Class Reference

#include <Interface0D.h>

Inheritance diagram for Freestyle::Interface0D:
Freestyle::CurvePoint Freestyle::SVertex Freestyle::ViewVertex Freestyle::StrokeVertex Freestyle::NonTVertex Freestyle::TVertex

Public Member Functions

 Interface0D ()
 
virtual ~Interface0D ()
 
virtual string getExactTypeName () const
 
virtual real getX () const
 
virtual real getY () const
 
virtual real getZ () const
 
virtual Geometry::Vec3r getPoint3D () const
 
virtual real getProjectedX () const
 
virtual real getProjectedY () const
 
virtual real getProjectedZ () const
 
virtual Geometry::Vec2r getPoint2D () const
 
virtual FEdgegetFEdge (Interface0D &)
 
virtual Id getId () const
 
virtual Nature::VertexNature getNature () const
 
virtual SVertexcastToSVertex ()
 
virtual ViewVertexcastToViewVertex ()
 
virtual NonTVertexcastToNonTVertex ()
 
virtual TVertexcastToTVertex ()
 

Detailed Description

Base class for any 0D element.

Definition at line 41 of file Interface0D.h.

Constructor & Destructor Documentation

◆ Interface0D()

Freestyle::Interface0D::Interface0D ( )
inline

Default constructor

Definition at line 44 of file Interface0D.h.

◆ ~Interface0D()

virtual Freestyle::Interface0D::~Interface0D ( )
inlinevirtual

Destructor

Definition at line 49 of file Interface0D.h.

Member Function Documentation

◆ castToNonTVertex()

NonTVertex * Freestyle::Interface0D::castToNonTVertex ( )
virtual

Cast the Interface0D in NonTVertex if it can be.

Reimplemented in Freestyle::NonTVertex, Freestyle::SVertex, and Freestyle::CurvePoint.

Definition at line 95 of file Interface0D.cpp.

◆ castToSVertex()

SVertex * Freestyle::Interface0D::castToSVertex ( )
virtual

Cast the Interface0D in SVertex if it can be.

Reimplemented in Freestyle::NonTVertex, Freestyle::SVertex, and Freestyle::CurvePoint.

Definition at line 83 of file Interface0D.cpp.

◆ castToTVertex()

TVertex * Freestyle::Interface0D::castToTVertex ( )
virtual

Cast the Interface0D in TVertex if it can be.

Reimplemented in Freestyle::TVertex, Freestyle::SVertex, and Freestyle::CurvePoint.

Definition at line 101 of file Interface0D.cpp.

◆ castToViewVertex()

ViewVertex * Freestyle::Interface0D::castToViewVertex ( )
virtual

◆ getExactTypeName()

virtual string Freestyle::Interface0D::getExactTypeName ( ) const
inlinevirtual

◆ getFEdge()

FEdge * Freestyle::Interface0D::getFEdge ( Interface0D )
virtual

◆ getId()

Id Freestyle::Interface0D::getId ( ) const
virtual

◆ getNature()

Nature::VertexNature Freestyle::Interface0D::getNature ( ) const
virtual

Returns the nature of the point.

Reimplemented in Freestyle::ViewVertex, Freestyle::SVertex, and Freestyle::CurvePoint.

Definition at line 77 of file Interface0D.cpp.

References Freestyle::Nature::POINT.

◆ getPoint2D()

Geometry::Vec2r Freestyle::Interface0D::getPoint2D ( ) const
virtual

◆ getPoint3D()

Geometry::Vec3r Freestyle::Interface0D::getPoint3D ( ) const
virtual

Returns the 3D point.

Reimplemented in Freestyle::NonTVertex, Freestyle::TVertex, Freestyle::SVertex, and Freestyle::CurvePoint.

Definition at line 35 of file Interface0D.cpp.

◆ getProjectedX()

real Freestyle::Interface0D::getProjectedX ( ) const
virtual

◆ getProjectedY()

real Freestyle::Interface0D::getProjectedY ( ) const
virtual

◆ getProjectedZ()

real Freestyle::Interface0D::getProjectedZ ( ) const
virtual

Returns the 2D z coordinate of the point.

Reimplemented in Freestyle::NonTVertex, Freestyle::TVertex, Freestyle::SVertex, and Freestyle::CurvePoint.

Definition at line 53 of file Interface0D.cpp.

Referenced by Freestyle::Functions0D::GetProjectedZF0D::operator()().

◆ getX()

real Freestyle::Interface0D::getX ( ) const
virtual

◆ getY()

real Freestyle::Interface0D::getY ( ) const
virtual

◆ getZ()

real Freestyle::Interface0D::getZ ( ) const
virtual

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