Blender  V3.3
Public Member Functions | List of all members
Freestyle::Rep Class Referenceabstract

#include <Rep.h>

Inheritance diagram for Freestyle::Rep:
Freestyle::BaseObject Freestyle::IndexedFaceSet Freestyle::LineRep Freestyle::TriangleRep Freestyle::VertexRep Freestyle::OrientedLineRep

Public Member Functions

 Rep ()
 
 Rep (const Rep &iBrother)
 
void swap (Rep &ioOther)
 
Repoperator= (const Rep &iBrother)
 
virtual ~Rep ()
 
virtual void accept (SceneVisitor &v)
 
virtual void ComputeBBox ()=0
 
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 29 of file Rep.h.

Constructor & Destructor Documentation

◆ Rep() [1/2]

Freestyle::Rep::Rep ( )
inline

Definition at line 31 of file Rep.h.

◆ Rep() [2/2]

Freestyle::Rep::Rep ( const Rep iBrother)
inline

Definition at line 37 of file Rep.h.

References bbox().

◆ ~Rep()

virtual Freestyle::Rep::~Rep ( )
inlinevirtual

Definition at line 83 of file Rep.h.

Member Function Documentation

◆ accept()

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

Accept the corresponding visitor Must be overload by inherited classes

Reimplemented in Freestyle::VertexRep, Freestyle::TriangleRep, Freestyle::OrientedLineRep, Freestyle::LineRep, and Freestyle::IndexedFaceSet.

Definition at line 94 of file Rep.h.

References v.

Referenced by Freestyle::IndexedFaceSet::accept(), Freestyle::OrientedLineRep::accept(), Freestyle::TriangleRep::accept(), and Freestyle::VertexRep::accept().

◆ bbox()

virtual const BBox<Vec3f>& Freestyle::Rep::bbox ( ) const
inlinevirtual

Returns the rep bounding box

Definition at line 109 of file Rep.h.

Referenced by Freestyle::NodeShape::AddRep(), operator=(), and Rep().

◆ ComputeBBox()

virtual void Freestyle::Rep::ComputeBBox ( )
pure virtual

Computes the rep bounding box. Each Inherited rep must compute its bbox depending on the way the data are stored. So, each inherited class must overload this method

Implemented in Freestyle::VertexRep, Freestyle::TriangleRep, Freestyle::LineRep, and Freestyle::IndexedFaceSet.

◆ frs_material()

const FrsMaterial* Freestyle::Rep::frs_material ( ) const
inline

◆ getId()

Id Freestyle::Rep::getId ( ) const
inline

Definition at line 114 of file Rep.h.

◆ getLibraryPath()

const string& Freestyle::Rep::getLibraryPath ( ) const
inline

Definition at line 124 of file Rep.h.

◆ getName()

const string& Freestyle::Rep::getName ( ) const
inline

Definition at line 119 of file Rep.h.

◆ operator=()

Rep& Freestyle::Rep::operator= ( const Rep iBrother)
inline

Definition at line 61 of file Rep.h.

References bbox().

◆ setBBox()

virtual void Freestyle::Rep::setBBox ( const BBox< Vec3f > &  iBox)
inlinevirtual

◆ setFrsMaterial()

void Freestyle::Rep::setFrsMaterial ( const FrsMaterial iMaterial)
inline

◆ setId()

void Freestyle::Rep::setId ( const Id id)
inline

◆ setLibraryPath()

void Freestyle::Rep::setLibraryPath ( const string &  path)
inline

Definition at line 150 of file Rep.h.

Referenced by Freestyle::BlenderFileLoader::insertShapeNode().

◆ setName()

void Freestyle::Rep::setName ( const string &  name)
inline

Definition at line 145 of file Rep.h.

Referenced by Freestyle::BlenderFileLoader::insertShapeNode().

◆ swap()

void Freestyle::Rep::swap ( Rep ioOther)
inline

Definition at line 52 of file Rep.h.

References swap().

Referenced by Freestyle::IndexedFaceSet::swap().


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