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

#include <VertexRep.h>

Inheritance diagram for Freestyle::VertexRep:
Freestyle::Rep Freestyle::BaseObject

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 14 of file VertexRep.h.

Constructor & Destructor Documentation

◆ VertexRep() [1/2]

Freestyle::VertexRep::VertexRep ( )
inline

Definition at line 16 of file VertexRep.h.

◆ VertexRep() [2/2]

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

Definition at line 22 of file VertexRep.h.

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

◆ ~VertexRep()

Freestyle::VertexRep::~VertexRep ( )
inline

Definition at line 32 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 37 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 12 of file VertexRep.cpp.

References Freestyle::Rep::setBBox().

◆ coordinates()

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

Definition at line 52 of file VertexRep.h.

◆ pointSize()

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

Definition at line 72 of file VertexRep.h.

◆ setCoordinates()

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

Definition at line 98 of file VertexRep.h.

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

◆ setPointSize()

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

Definition at line 105 of file VertexRep.h.

◆ setVid()

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

modifiers

Definition at line 78 of file VertexRep.h.

References id.

◆ setX()

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

Definition at line 83 of file VertexRep.h.

References x().

◆ setY()

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

Definition at line 88 of file VertexRep.h.

References y().

◆ setZ()

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

Definition at line 93 of file VertexRep.h.

References z().

◆ vid()

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

accessors

Definition at line 47 of file VertexRep.h.

◆ x()

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

Definition at line 57 of file VertexRep.h.

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

◆ y()

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

Definition at line 62 of file VertexRep.h.

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

◆ z()

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

Definition at line 67 of file VertexRep.h.

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


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