Blender  V2.93
Public Member Functions | List of all members
Freestyle::VertexRep Class Reference

#include <VertexRep.h>

Inherits Freestyle::Rep.

Public Member Functions

 VertexRep ()
 
 VertexRep (real x, real y, real z, int id=0)
 
 ~VertexRep ()
 
virtual void accept (SceneVisitor &v)
 
virtual void ComputeBBox ()
 
const int vid () const
 
const realcoordinates () const
 
real x () const
 
real y () const
 
real z () const
 
float pointSize () const
 
void setVid (int id)
 
void setX (real x)
 
void setY (real y)
 
void setZ (real z)
 
void setCoordinates (real x, real y, real z)
 
void setPointSize (float iPointSize)
 
- Public Member Functions inherited from Freestyle::Rep
 Rep ()
 
 Rep (const Rep &iBrother)
 
void swap (Rep &ioOther)
 
Repoperator= (const Rep &iBrother)
 
virtual ~Rep ()
 
virtual const BBox< Vec3f > & bbox () const
 
Id getId () const
 
const string & getName () const
 
const string & getLibraryPath () const
 
const FrsMaterialfrs_material () const
 
virtual void setBBox (const BBox< Vec3f > &iBox)
 
void setId (const Id &id)
 
void setName (const string &name)
 
void setLibraryPath (const string &path)
 
void setFrsMaterial (const FrsMaterial &iMaterial)
 
- Public Member Functions inherited from Freestyle::BaseObject
 BaseObject ()
 
virtual ~BaseObject ()
 
virtual int destroy ()
 
int addRef ()
 
int release ()
 

Detailed Description

Definition at line 28 of file VertexRep.h.

Constructor & Destructor Documentation

◆ VertexRep() [1/2]

Freestyle::VertexRep::VertexRep ( )
inline

Definition at line 30 of file VertexRep.h.

◆ VertexRep() [2/2]

Freestyle::VertexRep::VertexRep ( real  x,
real  y,
real  z,
int  id = 0 
)
inline

Definition at line 36 of file VertexRep.h.

References id, x(), y(), and z().

◆ ~VertexRep()

Freestyle::VertexRep::~VertexRep ( )
inline

Definition at line 46 of file VertexRep.h.

Member Function Documentation

◆ accept()

virtual void Freestyle::VertexRep::accept ( SceneVisitor v)
inlinevirtual

Accept the corresponding visitor

Reimplemented from Freestyle::Rep.

Definition at line 51 of file VertexRep.h.

References Freestyle::Rep::accept(), and v.

◆ ComputeBBox()

void Freestyle::VertexRep::ComputeBBox ( )
virtual

Computes the rep bounding box.

Implements Freestyle::Rep.

Definition at line 26 of file VertexRep.cpp.

References Freestyle::Rep::setBBox().

◆ coordinates()

const real* Freestyle::VertexRep::coordinates ( ) const
inline

Definition at line 66 of file VertexRep.h.

◆ pointSize()

float Freestyle::VertexRep::pointSize ( ) const
inline

Definition at line 86 of file VertexRep.h.

◆ setCoordinates()

void Freestyle::VertexRep::setCoordinates ( real  x,
real  y,
real  z 
)
inline

Definition at line 112 of file VertexRep.h.

References x(), y(), and z().

◆ setPointSize()

void Freestyle::VertexRep::setPointSize ( float  iPointSize)
inline

Definition at line 119 of file VertexRep.h.

◆ setVid()

void Freestyle::VertexRep::setVid ( int  id)
inline

modifiers

Definition at line 92 of file VertexRep.h.

References id.

◆ setX()

void Freestyle::VertexRep::setX ( real  x)
inline

Definition at line 97 of file VertexRep.h.

References x().

◆ setY()

void Freestyle::VertexRep::setY ( real  y)
inline

Definition at line 102 of file VertexRep.h.

References y().

◆ setZ()

void Freestyle::VertexRep::setZ ( real  z)
inline

Definition at line 107 of file VertexRep.h.

References z().

◆ vid()

const int Freestyle::VertexRep::vid ( ) const
inline

accessors

Definition at line 61 of file VertexRep.h.

◆ x()

real Freestyle::VertexRep::x ( ) const
inline

Definition at line 71 of file VertexRep.h.

Referenced by setCoordinates(), setX(), and VertexRep().

◆ y()

real Freestyle::VertexRep::y ( ) const
inline

Definition at line 76 of file VertexRep.h.

Referenced by setCoordinates(), setY(), and VertexRep().

◆ z()

real Freestyle::VertexRep::z ( ) const
inline

Definition at line 81 of file VertexRep.h.

Referenced by setCoordinates(), setZ(), and VertexRep().


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