Ogre Procedural  0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
Extrusion operations

Table of Contents

Extruder

Extrusion is an operation that consists in creating a mesh from a shape moved along a path.

That operation is particularly well suited for roads, pipelines, pillars...

Figure 1. Generic extrusion

Extrusion can also be applied to a multishape.

Figure 2. Extrusion of a multishape

Special options are available to influence the way the mesh is created :

  • Rotation Track
Figure 3a. Rotation Track
  • Scale Track
Figure 3b. Scale Track
  • Shape Texture Track
Figure 3c. Shape Texture Track

Lathe

Lathe is an operation that takes a shape and rotates it around Y-axis to produce a mesh.

Figure 4. Generic Lathe

Lathe can also be restricted to a given angle range.

Figure 5. Lathe by a given angle range

Example

The Sample_Extrusion project demonstrates how to extrude various shapes.

Procedural::MultiPath::_calcIntersections
void _calcIntersections()
OgreRoot.h
Ogre::Degree
Procedural::Track::addKeyFrame
Track & addKeyFrame(Ogre::Real pos, Ogre::Real value)
Inserts a new Key/Value couple anywhere on the track (it is auto-sorted anyway)
Definition: ProceduralTrack.h:72
Procedural::Path
Definition: ProceduralPath.h:53
Procedural::Cycloid::ROSE_CURVE
@ ROSE_CURVE
Draw a Rose curve.
Definition: ProceduralTextureModifiers.h:1113
Procedural::RoundedCornerSpline2::addPoint
RoundedCornerSpline2 & addPoint(const Ogre::Vector2 &p)
Adds a control point.
Definition: ProceduralShapeGenerators.h:467
Procedural::CubicHermiteSplineControlPoint
Template control point for Cubic Hermite splines.
Definition: ProceduralSplines.h:44
Procedural::Shape::getPoints
std::vector< Ogre::Vector2 > getPoints() const
Gets a copy of raw vector data of this shape.
Definition: ProceduralShape.h:180
Ogre::uint
unsigned int uint
OgrePlane.h
Procedural::Path::scale
Path & scale(Ogre::Real scaleX, Ogre::Real scaleY, Ogre::Real scaleZ)
Applies the given scale to all the points already defined.
Definition: ProceduralPath.h:287
Procedural::Cell::Cell
Cell(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureGenerator.h:102
Procedural::BoxGenerator::BoxGenerator
BoxGenerator(Ogre::Real sizeX=1.f, Ogre::Real sizeY=1.f, Ogre::Real sizeZ=1.f, unsigned int numSegX=1, unsigned int numSegY=1, unsigned int numSegZ=1)
Contructor with arguments.
Definition: ProceduralBoxGenerator.h:49
Procedural::Combine::METHOD_SUB_WRAP
@ METHOD_SUB_WRAP
Definition: ProceduralTextureModifiers.h:773
Procedural::PrismGenerator::setHeight
PrismGenerator & setHeight(Ogre::Real height)
Sets the height of the prism (default=1)
Definition: ProceduralPrismGenerator.h:71
Procedural::Path::appendPathRel
Path & appendPathRel(const Path &other)
Appends another path at the end of this one, relative to the last point of this path.
Definition: ProceduralPath.h:103
Procedural::Utils::signedAngleTo
static Ogre::Radian signedAngleTo(const Ogre::Vector2 &v1, const Ogre::Vector2 &v2)
Gives the oriented angle from v1 to v2 in the ]-PI;PI] range.
Definition: ProceduralUtils.h:160
Procedural::MeshGenerator
Definition: ProceduralMeshGenerator.h:51
Procedural::Combine::METHOD_MULTIPLY
@ METHOD_MULTIPLY
Definition: ProceduralTextureModifiers.h:774
Procedural::Line::setFrom2Points
void setFrom2Points(const Ogre::Vector3 &a, const Ogre::Vector3 &b)
Builds the line between 2 points.
Definition: ProceduralGeometryHelpers.h:99
Procedural::Cycloid::PARAMETER_R
@ PARAMETER_R
Set parameter R.
Definition: ProceduralTextureModifiers.h:1122
Procedural::Channel::SELECT_BLUE
@ SELECT_BLUE
Definition: ProceduralTextureModifiers.h:505
Procedural::BaseSpline2
Definition: ProceduralShapeGeneratorsBase.h:42
Procedural::Extruder::setPathTextureTrack
Extruder & setPathTextureTrack(const Track *pathTextureTrack, unsigned int index=0)
Sets the track that maps path points to V texture coord (optional).
Definition: ProceduralExtruder.h:143
Procedural::Channel
Extract one channel or create gray image.
Definition: ProceduralTextureModifiers.h:498
Procedural::AlphaMask::AlphaMask
AlphaMask(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:254
Procedural::CapsuleGenerator
Definition: ProceduralCapsuleGenerator.h:41
Procedural::CatmullRomSpline3::addPoint
CatmullRomSpline3 & addPoint(const Ogre::Vector3 &pt)
Adds a control point.
Definition: ProceduralPathGenerators.h:72
Procedural::Shape::getPointsReference
std::vector< Ogre::Vector2 > & getPointsReference()
Gets raw vector data of this shape as a non-const reference.
Definition: ProceduralShape.h:186
Procedural::ShowNormalsGenerator::VisualStyle
VisualStyle
Definition: ProceduralDebugRendering.h:41
Procedural::Normals
Convert height map to normal map.
Definition: ProceduralTextureModifiers.h:2031
TRect< Real >::height
Real height() const
Procedural::CubicHermiteSplineControlPoint::position
T position
Position of the control point.
Definition: ProceduralSplines.h:47
Procedural::Abnormals
Use alpha channel as an mask for an other image.
Definition: ProceduralTextureModifiers.h:76
std::swap
void swap(Ogre::SmallVector< T, N > &LHS, Ogre::SmallVector< T, N > &RHS)
Procedural::MultiPath::getIntersections
const std::vector< PathIntersection > & getIntersections() const
Definition: ProceduralPath.h:409
Procedural::Shape::getPoint
const Ogre::Vector2 & getPoint(int i) const
Bounds-safe method to get a point : it will allow you to go beyond the bounds.
Definition: ProceduralShape.h:200
Ogre::Vector2
Vector< 2, Real > Vector2
Procedural::CylinderGenerator::setNumSegHeight
CylinderGenerator & setNumSegHeight(unsigned int numSegHeight)
Sets the number of segments along the height of the cylinder (default=1)
Definition: ProceduralCylinderGenerator.h:81
Procedural::Convolution::~Convolution
~Convolution()
Default destructor to release memory.
Definition: ProceduralTextureModifiers.h:879
Procedural::TextureProcessing::mLog
bool mLog
Definition: ProceduralTextureBuffer.h:324
Procedural::Extruder::Extruder
Extruder()
Default constructor.
Definition: ProceduralExtruder.h:66
Procedural::LinePath::setPoint1
LinePath & setPoint1(Ogre::Vector3 point1)
Sets first point.
Definition: ProceduralPathGenerators.h:180
Procedural::Crack::LENGTH_DECISION_CONSTANT
@ LENGTH_DECISION_CONSTANT
Use a constant value.
Definition: ProceduralTextureModifiers.h:973
Procedural::Threshold::THRESHOLD_MODE
THRESHOLD_MODE
Selection what to do with image parts below/above the threshould value.
Definition: ProceduralTextureModifiers.h:2819
Procedural::Triangulator::setSegmentListToTriangulate
Triangulator & setSegmentListToTriangulate(std::vector< Segment2D > *segList)
Sets segment list to triangulate.
Definition: ProceduralTriangulator.h:183
Procedural::TubeGenerator::TubeGenerator
TubeGenerator(Ogre::Real outerRadius=2.f, Ogre::Real innerRadius=1.f, Ogre::Real height=1.f, unsigned int numSegBase=16, unsigned int numSegHeight=1)
Constructor with arguments.
Definition: ProceduralTubeGenerator.h:51
Procedural::EllipseShape::setNumSeg
EllipseShape & setNumSeg(unsigned int numSeg)
Sets number of segments.
Definition: ProceduralShapeGenerators.h:343
Procedural::CapsuleGenerator::setNumSegments
CapsuleGenerator & setNumSegments(unsigned int numSegments)
Sets the number of segments when rotating around the cylinder (default=16)
Definition: ProceduralCapsuleGenerator.h:97
Ogre.h
Procedural::CylinderGenerator::setHeight
CylinderGenerator & setHeight(Ogre::Real height)
Sets the height of the cylinder (default=1)
Definition: ProceduralCylinderGenerator.h:112
Procedural::CalculateNormalsModifier::mMustWeldUnweldFirst
bool mMustWeldUnweldFirst
Definition: ProceduralMeshModifiers.h:155
translate
virtual void translate(ScriptCompiler *compiler, const AbstractNodePtr &node)
Procedural::Vector2Comparator
Definition: ProceduralGeometryHelpers.h:163
Procedural::CylinderUVModifier::CylinderUVModifier
CylinderUVModifier()
Definition: ProceduralMeshModifiers.h:336
Procedural::TubeGenerator::setOuterRadius
TubeGenerator & setOuterRadius(Ogre::Real outerRadius)
Sets the outer radius of the tube (default=2)
Definition: ProceduralTubeGenerator.h:93
Procedural::RectangleTexture::RectangleTexture
RectangleTexture(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:2319
Procedural::SpherifyModifier
Projects all TriangleBufferVertices on a sphere.
Definition: ProceduralMeshModifiers.h:96
Ogre::AxisAlignedBox::getMinimum
Vector3 & getMinimum(void)
Procedural::TriangleBuffer::invertNormals
TriangleBuffer & invertNormals()
Applies normal inversion on the triangle buffer.
Definition: ProceduralTriangleBuffer.h:299
Procedural::SpringGenerator::setNumSegCircle
SpringGenerator & setNumSegCircle(int numSegCircle)
Sets the number of segments for extruding circle (default=8)
Definition: ProceduralSpringGenerator.h:169
Procedural::MeshLinearTransform
Translates a mesh.
Definition: ProceduralMeshModifiers.h:39
Procedural::IcoSphereGenerator
Definition: ProceduralIcoSphereGenerator.h:41
Procedural::SvgLoader
Load shapes from an SVG file.
Definition: ProceduralSVG.h:67
Procedural::MeshGenerator::resetTransforms
T & resetTransforms()
Resets all transforms (orientation, position and scale) that would have been applied to the mesh to t...
Definition: ProceduralMeshGenerator.h:242
Procedural::MeshGenerator::setSwitchUV
T & setSwitchUV(bool switchUV)
Sets whether to switch U and V texture coordinates.
Definition: ProceduralMeshGenerator.h:186
Procedural::TorusKnotGenerator::setNumSegSection
TorusKnotGenerator & setNumSegSection(unsigned int numSegSection)
Sets the number of segments along the section (default=8)
Definition: ProceduralTorusKnotGenerator.h:69
Procedural::CalculateNormalsModifier::mInputTriangleBuffer
TriangleBuffer * mInputTriangleBuffer
Definition: ProceduralMeshModifiers.h:154
Procedural::TubeGenerator::setInnerRadius
TubeGenerator & setInnerRadius(Ogre::Real innerRadius)
Sets the inner radius of the tube (default=1)
Definition: ProceduralTubeGenerator.h:108
OgreCommon.h
Procedural::CubicHermiteSplineControlPoint::tangentAfter
T tangentAfter
Tangent just after the control point.
Definition: ProceduralSplines.h:51
Procedural::CalculateNormalsModifier
WIP.
Definition: ProceduralMeshModifiers.h:143
Procedural::EdgeDetection::DETECTION_DIFFERENCE
@ DETECTION_DIFFERENCE
Difference edge detector.
Definition: ProceduralTextureModifiers.h:1328
Procedural::KochanekBartelsSplineControlPoint::position
T position
Position of the control point.
Definition: ProceduralSplines.h:133
Procedural::SpherifyModifier::SpherifyModifier
SpherifyModifier()
Definition: ProceduralMeshModifiers.h:105
Procedural::TriangleBuffer::position
TriangleBuffer & position(const Ogre::Vector3 &pos)
Adds a new vertex to the buffer.
Definition: ProceduralTriangleBuffer.h:174
Procedural::Path::insertPoint
Path & insertPoint(size_t index, const Ogre::Vector3 &pt)
Inserts a point to the path.
Definition: ProceduralPath.h:89
Procedural::SpherifyModifier::setRadius
SpherifyModifier & setRadius(Ogre::Real radius)
Definition: ProceduralMeshModifiers.h:120
Procedural::MultiPath::addMultiPath
MultiPath & addMultiPath(const MultiPath &multiPath)
Definition: ProceduralPath.h:381
Procedural::BaseSpline3
Definition: ProceduralPathGeneratorsBase.h:42
Procedural::Shape::appendShapeRel
Shape & appendShapeRel(const Shape &other)
Appends another shape at the end of this one, relative to the last point of this shape.
Definition: ProceduralShape.h:128
Procedural::Alpha
Colour extraction.
Definition: ProceduralTextureModifiers.h:190
Procedural::CalculateNormalsModifier::mComputeMode
NormalComputeMode mComputeMode
Definition: ProceduralMeshModifiers.h:153
Procedural::Path::translate
Path & translate(Ogre::Real translationX, Ogre::Real translationY, Ogre::Real translationZ)
Applies the given translation to all the points already defined.
Definition: ProceduralPath.h:265
Ogre::Vector3
Vector< 3, Real > Vector3
Procedural::Combine::COMBINE_METHOD
COMBINE_METHOD
Methods how to combine image.
Definition: ProceduralTextureModifiers.h:768
Procedural::Shape::addPointRel
Shape & addPointRel(const Ogre::Vector2 &pt)
Adds a point to the shape, relative to the last point added.
Definition: ProceduralShape.h:101
Procedural::WeldVerticesModifier::WeldVerticesModifier
WeldVerticesModifier()
Definition: ProceduralMeshModifiers.h:189
Procedural::Channel::SELECT_RED
@ SELECT_RED
Definition: ProceduralTextureModifiers.h:503
Procedural::TriangleBuffer::rebaseOffset
void rebaseOffset()
Rebase index offset : call that function before you add a new mesh to the triangle buffer.
Definition: ProceduralTriangleBuffer.h:142
Procedural::Blit
copies a part of the input buffer towards the current buffer.
Definition: ProceduralTextureModifiers.h:294
Procedural::SpringGenerator::setNumRound
SpringGenerator & setNumRound(Ogre::Real numRound)
Sets the number of segments along the height of the spring (default=1)
Definition: ProceduralSpringGenerator.h:149
Procedural::Abnormals::ABNORMALS_COMPENSATION
ABNORMALS_COMPENSATION
Methods how to work with parameter map.
Definition: ProceduralTextureModifiers.h:80
Procedural::Channel::SELECT_ALPHA
@ SELECT_ALPHA
Definition: ProceduralTextureModifiers.h:506
Procedural::CubicHermiteSpline3::addPoint
CubicHermiteSpline3 & addPoint(const Ogre::Vector3 &p, const Ogre::Vector3 &tangent)
Adds a control point.
Definition: ProceduralPathGenerators.h:123
Procedural::Lathe::setClosed
Lathe & setClosed(bool closed)
Sets whether the lathe is closed or not.
Definition: ProceduralLathe.h:92
Procedural::RoundedCornerSpline3::RoundedCornerSpline3
RoundedCornerSpline3()
Default constructor.
Definition: ProceduralPathGenerators.h:235
Procedural::ShowNormalsGenerator::ShowNormalsGenerator
ShowNormalsGenerator()
Definition: ProceduralDebugRendering.h:53
Procedural::CubicHermiteSpline2::addPoint
CubicHermiteSpline2 & addPoint(const Ogre::Vector2 &p, CubicHermiteSplineAutoTangentMode autoTangentMode=AT_CATMULL)
Adds a control point.
Definition: ProceduralShapeGenerators.h:66
Procedural::Path::getPoint
const Ogre::Vector3 & getPoint(int i) const
Safely gets a given point.
Definition: ProceduralPath.h:160
Procedural::Shape::translate
Shape & translate(Ogre::Real translationX, Ogre::Real translationY)
Applies the given translation to all the points already defined.
Definition: ProceduralShape.h:406
Procedural::TriangleBuffer::index
TriangleBuffer & index(int i)
Adds an index to the index buffer.
Definition: ProceduralTriangleBuffer.h:218
Procedural::AT_CATMULL
@ AT_CATMULL
Definition: ProceduralSplines.h:37
Procedural::MeshGenerator::setEnableNormals
T & setEnableNormals(bool enableNormals)
Sets whether normals are enabled or not (default=true)
Definition: ProceduralMeshGenerator.h:170
Procedural::Lathe::setNumSeg
Lathe & setNumSeg(unsigned int numSeg)
Sets the number of segments when rotating around the axis (default=16)
Definition: ProceduralLathe.h:65
Procedural::TriangleShape::TriangleShape
TriangleShape()
Default constructor.
Definition: ProceduralShapeGenerators.h:376
Ogre::Math::Clamp
static T Clamp(T val, T minval, T maxval)
Procedural::Image::Image
Image(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureGenerator.h:345
Procedural::Crack::CRACK_QUALITY
CRACK_QUALITY
High quality settings.
Definition: ProceduralTextureModifiers.h:978
Procedural::TriangleBuffer::mVertices
std::vector< Vertex > mVertices
Definition: ProceduralTriangleBuffer.h:61
Procedural::TextureBuffer::getHeight
Ogre::uint getHeight() const
Get the height of the stored image in px.
Definition: ProceduralTextureBuffer.h:294
Procedural::Alpha::Alpha
Alpha(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:200
Procedural::Dilate
Expands bright areas over darker areas.
Definition: ProceduralTextureModifiers.h:1228
Procedural::Image
Load an image from a resource.
Definition: ProceduralTextureGenerator.h:334
Procedural::BoxUVModifier::setBoxCenter
BoxUVModifier & setBoxCenter(const Ogre::Vector3 &boxCenter)
Definition: ProceduralMeshModifiers.h:394
Procedural::MeshLinearTransform::setRotation
MeshLinearTransform & setRotation(const Ogre::Quaternion &rotation)
Definition: ProceduralMeshModifiers.h:54
Procedural::BoxGenerator::setNumSegZ
BoxGenerator & setNumSegZ(unsigned int numSegZ)
Sets the number of segments along Z axis (default=1)
Definition: ProceduralBoxGenerator.h:125
Procedural::TriangleBuffer::Section::mFirstVertex
unsigned int mFirstVertex
Definition: ProceduralTriangleBuffer.h:53
Procedural::MeshGenerator::setScale
T & setScale(Ogre::Real scale)
Sets a uniform scale baked into the resulting mesh.
Definition: ProceduralMeshGenerator.h:226
Procedural::RandomPixels::RandomPixels
RandomPixels(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:2253
Procedural::Cycloid::CYCLOID_TYPE
CYCLOID_TYPE
Which type of cycloid should be painted.
Definition: ProceduralTextureModifiers.h:1107
Procedural::KochanekBartelsSplineControlPoint::KochanekBartelsSplineControlPoint
KochanekBartelsSplineControlPoint(const T &p, Ogre::Real t, Ogre::Real b, Ogre::Real c)
Constructor with arguments.
Definition: ProceduralSplines.h:145
Procedural::PrismGenerator::setRadius
PrismGenerator & setRadius(Ogre::Real radius)
Sets the radius of the prism (default=1)
Definition: ProceduralPrismGenerator.h:59
Procedural::Segment2D::mB
Ogre::Vector2 mB
Definition: ProceduralGeometryHelpers.h:143
Procedural::Triangulator::setManualSuperTriangle
Triangulator & setManualSuperTriangle(Triangle2D *tri)
Sets manual super triangle (instead of letting Triangulator guessing it)
Definition: ProceduralTriangulator.h:190
Procedural::Utils::angleTo
static Ogre::Radian angleTo(const Ogre::Vector2 &v1, const Ogre::Vector2 &v2)
Gives the oriented angle from v1 to v2 in the [0;2PI[ range.
Definition: ProceduralUtils.h:147
Procedural::BoxUVModifier::setBoxSize
BoxUVModifier & setBoxSize(const Ogre::Vector3 &boxSize)
Definition: ProceduralMeshModifiers.h:388
Procedural::ConeGenerator::setHeight
ConeGenerator & setHeight(Ogre::Real height)
Sets the height of the cone (default=1)
Definition: ProceduralConeGenerator.h:102
Procedural::EdgeDetection
Edge detection on input image.
Definition: ProceduralTextureModifiers.h:1321
Procedural::Marble::Marble
Marble(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureGenerator.h:441
Procedural::KochanekBartelsSpline2::addPoint
KochanekBartelsSpline2 & addPoint(Ogre::Vector2 p, Ogre::Real t, Ogre::Real b, Ogre::Real c)
Adds a control point to the spline.
Definition: ProceduralShapeGenerators.h:194
Procedural::Abnormals::COMPENSATION_HEIGHT
@ COMPENSATION_HEIGHT
Use as a height map.
Definition: ProceduralTextureModifiers.h:83
Procedural::TorusKnotGenerator::setRadius
TorusKnotGenerator & setRadius(Ogre::Real radius)
Sets the main radius of the knot (default=1)
Definition: ProceduralTorusKnotGenerator.h:93
Procedural::TextureProcessing::mName
Ogre::String mName
Definition: ProceduralTextureBuffer.h:323
Procedural::computeCatmullRomPoints
void computeCatmullRomPoints(const T &P1, const T &P2, const T &P3, const T &P4, unsigned int numSeg, std::vector< T > &pointList)
Definition: ProceduralSplines.h:114
Procedural::Path::translate
Path & translate(const Ogre::Vector3 &translation)
Applies the given translation to all the points already defined.
Definition: ProceduralPath.h:251
Procedural::MeshUVTransform::MeshUVTransform
MeshUVTransform()
Definition: ProceduralMeshModifiers.h:70
Ogre::Plane
Procedural::Combine::Combine
Combine(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:795
Procedural::Distort::Distort
Distort(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1284
Procedural::Shape::insertPoint
Shape & insertPoint(size_t index, Ogre::Real x, Ogre::Real y)
Inserts a point to the shape.
Definition: ProceduralShape.h:85
Procedural::BaseSpline3::BaseSpline3
BaseSpline3()
Definition: ProceduralPathGeneratorsBase.h:50
Procedural::RectangleShape::realizeShape
Shape realizeShape()
Builds the shape.
Definition: ProceduralShapeGenerators.h:247
Procedural::TriangleBuffer::Vertex::mPosition
Ogre::Vector3 mPosition
Definition: ProceduralTriangleBuffer.h:44
Procedural::Circle::Circle
Circle(Ogre::Vector2 center, Ogre::Real radius)
Contructor with arguments.
Definition: ProceduralGeometryHelpers.h:52
Ogre::Radian::valueRadians
Real valueRadians() const
Procedural::HelixPath::HelixPath
HelixPath()
Default constructor.
Definition: ProceduralSpringGenerator.h:52
Ogre::ColourValue::a
float a
Procedural::MeshGenerator::setScale
T & setScale(const Ogre::Vector3 &scale)
Sets a scale baked into the resulting mesh.
Definition: ProceduralMeshGenerator.h:218
Procedural::BoxGenerator::setSizeZ
BoxGenerator & setSizeZ(Ogre::Real sizeZ)
Sets size along Z axis (default=1)
Definition: ProceduralBoxGenerator.h:80
Procedural::Vortex::Vortex
Vortex(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:2893
Procedural::CatmullRomSpline3
Builds a path from a Catmull-Rom Spline.
Definition: ProceduralPathGenerators.h:47
Procedural::Utils::min
static Ogre::Vector2 min(const Ogre::Vector2 &v1, const Ogre::Vector2 &v2)
Gets the min of the coordinates between 2 vectors.
Definition: ProceduralUtils.h:60
Procedural::TriangleBuffer::TriangleBuffer
TriangleBuffer()
Definition: ProceduralTriangleBuffer.h:71
name
String name
Procedural::Shape::isClosed
bool isClosed() const
Gets whether the shape is closed or not.
Definition: ProceduralShape.h:259
Procedural::HemisphereUVModifier
Definition: ProceduralMeshModifiers.h:295
Procedural::Lerp::Lerp
Lerp(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1797
Procedural::Noise::Noise
Noise(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureGenerator.h:513
Procedural::KochanekBartelsSplineControlPoint::KochanekBartelsSplineControlPoint
KochanekBartelsSplineControlPoint(const T &p)
Constructor with tension=bias=continuity=0.
Definition: ProceduralSplines.h:147
Procedural::Path::getAvgDirection
Ogre::Vector3 getAvgDirection(unsigned int i) const
Returns the local direction at the current point.
Definition: ProceduralPath.h:205
Procedural::CatmullRomSpline3::toSimpleSpline
Ogre::SimpleSpline toSimpleSpline() const
Outputs current spline to an Ogre spline.
Definition: ProceduralPathGenerators.h:63
Procedural::Shape::scale
Shape & scale(const Ogre::Vector2 &amount)
Applies the given scale to all the points already defined.
Definition: ProceduralShape.h:461
Procedural::TriangleBuffer::normal
TriangleBuffer & normal(const Ogre::Vector3 &normal)
Sets the normal of the current vertex.
Definition: ProceduralTriangleBuffer.h:194
Procedural::Extruder::setCapped
Extruder & setCapped(bool capped)
Sets whether caps are added to the extremities or not (not closed paths only)
Definition: ProceduralExtruder.h:153
Procedural::CylinderUVModifier::setHeight
CylinderUVModifier & setHeight(Ogre::Real height)
Definition: ProceduralMeshModifiers.h:353
Procedural::Utils::AABBfromPoints
static Ogre::AxisAlignedBox AABBfromPoints(std::vector< Ogre::Vector3 > points)
Builds an AABB from a list of points.
Definition: ProceduralUtils.h:72
Procedural::Boolean::setBooleanOperation
Boolean & setBooleanOperation(BooleanOperation op)
Definition: ProceduralBoolean.h:62
Procedural::PlaneGenerator::setNormal
PlaneGenerator & setNormal(Ogre::Vector3 normal)
Sets the normal of the plane.
Definition: ProceduralPlaneGenerator.h:91
Procedural::Flip::Flip
Flip(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1575
Procedural::RoundedCornerSpline2::safeGetPoint
const Ogre::Vector2 & safeGetPoint(unsigned int i) const
Safely gets a control point.
Definition: ProceduralShapeGenerators.h:481
Procedural::BezierCurve3::safeGetPoint
const Ogre::Vector3 & safeGetPoint(unsigned int i) const
Safely gets a control point.
Definition: ProceduralPathGenerators.h:317
Procedural::Convolution::Convolution
Convolution(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:863
Procedural::Shape::extractSubShape
Shape extractSubShape(unsigned int first, unsigned int last)
Extracts a part of the shape as a new shape.
Definition: ProceduralShape.h:146
Ogre::AxisAlignedBox::setMinimum
void setMinimum(const Vector3 &vec)
Procedural::Crack
Create lines that can be randomly cracked or follow a normal map.
Definition: ProceduralTextureModifiers.h:966
Procedural::RotationZoom::RotationZoom
RotationZoom(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:2462
Procedural::Cycloid::CYCLOID_PARAMETER
CYCLOID_PARAMETER
Which parameter should be set.
Definition: ProceduralTextureModifiers.h:1120
Procedural::UnweldVerticesModifier::mInputTriangleBuffer
TriangleBuffer * mInputTriangleBuffer
Definition: ProceduralMeshModifiers.h:221
Procedural::Flip::FLIP_VERTICAL
@ FLIP_VERTICAL
Flip vertical.
Definition: ProceduralTextureModifiers.h:1563
Procedural::Side
Side
Definition: ProceduralShape.h:48
Procedural::Shape::getSegCount
size_t getSegCount() const
Gets the number of segments in that shape.
Definition: ProceduralShape.h:253
Procedural::Combine::METHOD_ADD_CLAMP
@ METHOD_ADD_CLAMP
Definition: ProceduralTextureModifiers.h:770
Procedural::HelixPath::setNumSegPath
HelixPath & setNumSegPath(unsigned int numSeg)
Sets number of segments along the path per turn.
Definition: ProceduralSpringGenerator.h:86
Procedural::CapsuleGenerator::setNumSegHeight
CapsuleGenerator & setNumSegHeight(unsigned int numSegHeight)
Sets the number of segments along the axis of the cylinder (default=1)
Definition: ProceduralCapsuleGenerator.h:109
Procedural::Segment3D::epsilonEquivalent
bool epsilonEquivalent(const Segment3D &other) const
Definition: ProceduralGeometryHelpers.h:200
Procedural::computeKochanekBartelsPoints
void computeKochanekBartelsPoints(const KochanekBartelsSplineControlPoint< T > &P1, const KochanekBartelsSplineControlPoint< T > &P2, const KochanekBartelsSplineControlPoint< T > &P3, const KochanekBartelsSplineControlPoint< T > &P4, unsigned int numSeg, std::vector< T > &pointList)
Definition: ProceduralSplines.h:151
Procedural::Invert::Invert
Invert(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1703
Procedural::KochanekBartelsSpline2::addPoint
KochanekBartelsSpline2 & addPoint(Ogre::Real x, Ogre::Real y)
Adds a control point.
Definition: ProceduralShapeGenerators.h:166
Procedural::Vortex
Twist some fragment of input image.
Definition: ProceduralTextureModifiers.h:2879
Procedural::UnweldVerticesModifier::UnweldVerticesModifier
UnweldVerticesModifier()
Definition: ProceduralMeshModifiers.h:219
Procedural::BoxGenerator::setNumSegY
BoxGenerator & setNumSegY(unsigned int numSegY)
Sets the number of segments along Y axis (default=1)
Definition: ProceduralBoxGenerator.h:113
Procedural::BezierCurve3::BezierCurve3
BezierCurve3()
Default constructor.
Definition: ProceduralPathGenerators.h:290
Procedural::RoundedCornerSpline2
Produces a shape from Cubic Hermite control points.
Definition: ProceduralShapeGenerators.h:450
Procedural::Shape::getTotalLength
Ogre::Real getTotalLength() const
Returns the total lineic length of that shape.
Definition: ProceduralShape.h:549
Procedural::Shape::mirror
Shape & mirror(bool flip=false)
Create a symetric copy at the origin point.
Definition: ProceduralShape.h:483
Procedural::computeCubicHermitePoints
void computeCubicHermitePoints(const CubicHermiteSplineControlPoint< T > &pointBefore, const CubicHermiteSplineControlPoint< T > &pointAfter, unsigned int numSeg, std::vector< T > &pointList)
Definition: ProceduralSplines.h:96
TRect< Real >::left
Real left
Procedural::TriangleBuffer::endSection
void endSection(Section &section)
Definition: ProceduralTriangleBuffer.h:95
Ogre::String
_StringBase String
Procedural::CubicHermiteSpline3::addPoint
CubicHermiteSpline3 & addPoint(Ogre::Real x, Ogre::Real y, Ogre::Real z, CubicHermiteSplineAutoTangentMode autoTangentMode=AT_CATMULL)
Adds a control point.
Definition: ProceduralPathGenerators.h:139
Procedural::TextureProcessing::mBuffer
TextureBufferPtr mBuffer
Definition: ProceduralTextureBuffer.h:322
getName
const String & getName(void) const
Procedural::BoxUVModifier::MappingType
MappingType
Definition: ProceduralMeshModifiers.h:364
Procedural::Track::mAddressingMode
AddressingMode mAddressingMode
Adressing mode of the track (see the enum definition for more details)
Definition: ProceduralTrack.h:53
Procedural::RoundedCornerSpline2::addPoint
RoundedCornerSpline2 & addPoint(Ogre::Real x, Ogre::Real y)
Adds a control point.
Definition: ProceduralShapeGenerators.h:474
Procedural::RectangleTexture
Draw a rectangle.
Definition: ProceduralTextureModifiers.h:2305
Ogre::Math::Abs
static Degree Abs(const Degree &dValue)
Procedural::PlaneUVModifier::setInputTriangleBuffer
PlaneUVModifier & setInputTriangleBuffer(TriangleBuffer *inputTriangleBuffer)
Definition: ProceduralMeshModifiers.h:254
Procedural::Solid::Solid
Solid(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureGenerator.h:573
Procedural::MultiPath::getPath
Path getPath(unsigned int i) const
Definition: ProceduralPath.h:397
Procedural::Abnormals::MIRROR_Y_XZ
@ MIRROR_Y_XZ
Y : XZ.
Definition: ProceduralTextureModifiers.h:92
Ogre::ManualObject
Procedural::CalculateNormalsModifier::setMustWeldUnweldFirst
CalculateNormalsModifier & setMustWeldUnweldFirst(bool mustWeldUnweldFirst)
Tells if the mesh must be first weld (NCM_VERTEX mode) or unweld (NCM_TRIANGLE) before computing norm...
Definition: ProceduralMeshModifiers.h:174
Procedural::PlaneGenerator::setSize
PlaneGenerator & setSize(Ogre::Vector2 size)
Sets the size (default=1,1)
Definition: ProceduralPlaneGenerator.h:124
Procedural::Invert
Invert image.
Definition: ProceduralTextureModifiers.h:1696
Procedural::Path::close
Path & close()
Define the path as being closed.
Definition: ProceduralPath.h:129
Ogre::ColourValue
Procedural::RoundedCornerSpline2::setRadius
RoundedCornerSpline2 & setRadius(Ogre::Real radius)
Sets the radius of the corners.
Definition: ProceduralShapeGenerators.h:460
Procedural::Triangle2D::Triangle2D
Triangle2D(const Ogre::Vector2 &a, const Ogre::Vector2 &b, const Ogre::Vector2 &c)
Definition: ProceduralGeometryHelpers.h:220
Procedural::PlaneGenerator::setSizeY
PlaneGenerator & setSizeY(Ogre::Real sizeY)
Sets the size of the plane along local Y axis.
Definition: ProceduralPlaneGenerator.h:115
Procedural::BezierCurve2::getPointCount
const size_t getPointCount() const
Gets the number of control points.
Definition: ProceduralShapeGenerators.h:548
Procedural::CatmullRomSpline3::addPoint
CatmullRomSpline3 & addPoint(Ogre::Real x, Ogre::Real y, Ogre::Real z)
Adds a control point.
Definition: ProceduralPathGenerators.h:79
Procedural::Triangulator::setShapeToTriangulate
Triangulator & setShapeToTriangulate(const Shape *shape)
Sets shape to triangulate.
Definition: ProceduralTriangulator.h:168
TRect< Real >::width
Real width() const
Procedural::TriangleBuffer::scale
TriangleBuffer & scale(Ogre::Real x, Ogre::Real y, Ogre::Real z)
Applies an immediate scale operation to that triangle buffer.
Definition: ProceduralTriangleBuffer.h:293
Procedural::KochanekBartelsSpline2::safeGetPoint
const ControlPoint & safeGetPoint(unsigned int i) const
Safely gets a control point.
Definition: ProceduralShapeGenerators.h:180
Procedural::Combine::METHOD_MULTIPLY2
@ METHOD_MULTIPLY2
Definition: ProceduralTextureModifiers.h:775
Procedural::Lathe::setCapped
Lathe & setCapped(bool capped)
Sets whether the lathe is capped or not (default=true) Only makes sense if the lathe is not closed.
Definition: ProceduralLathe.h:100
Procedural::SphereUVModifier
Definition: ProceduralMeshModifiers.h:276
Procedural::CapsuleGenerator::CapsuleGenerator
CapsuleGenerator(Ogre::Real radius, Ogre::Real height, unsigned int numRings, unsigned int numSegments, unsigned int numSegHeight)
Constructor with arguments.
Definition: ProceduralCapsuleGenerator.h:60
OGRE_EXCEPT
#define OGRE_EXCEPT(...)
Ogre::Math::Cos
static Real Cos(const Radian &fValue, bool useTables=false)
Procedural::CubicHermiteSpline3::getPointCount
const size_t getPointCount() const
Gets the number of control points.
Definition: ProceduralPathGenerators.h:157
Procedural::MeshGenerator::setNumTexCoordSet
T & setNumTexCoordSet(unsigned char numTexCoordSet)
Sets the number of texture coordintate sets (default=1)
Definition: ProceduralMeshGenerator.h:179
Procedural::Shape::addPointRel
Shape & addPointRel(Ogre::Real x, Ogre::Real y)
Adds a point to the shape, relative to the last point added.
Definition: ProceduralShape.h:111
Procedural::MultiShape::clear
void clear()
Clears all the content.
Definition: ProceduralMultiShape.h:72
Procedural::SpringGenerator::setNumSegPath
SpringGenerator & setNumSegPath(int numSegPath)
Sets the number of segments along helix path (default=10)
Definition: ProceduralSpringGenerator.h:159
Ogre::ColourValue::r
float r
Procedural::SIDE_LEFT
@ SIDE_LEFT
Definition: ProceduralShape.h:48
Procedural::BaseSpline3::mNumSeg
unsigned int mNumSeg
The number of segments between 2 control points.
Definition: ProceduralPathGeneratorsBase.h:46
Procedural::EdgeDetection::DETECTION_HOMOGENITY
@ DETECTION_HOMOGENITY
Homogenity edge detector.
Definition: ProceduralTextureModifiers.h:1327
Procedural::Utils::modulo
static int modulo(int n, int cap)
An extend version of the standard modulo, in that int values are "wrapped" in both directions,...
Definition: ProceduralUtils.h:121
Procedural::Utils::max
static Ogre::Vector2 max(const Ogre::Vector2 &v1, const Ogre::Vector2 &v2)
Gets the max of the coordinates between 2 vectors.
Definition: ProceduralUtils.h:66
Procedural::BezierCurve3::addPoint
BezierCurve3 & addPoint(Ogre::Real x, Ogre::Real y, Ogre::Real z)
Adds a control point.
Definition: ProceduralPathGenerators.h:310
Procedural::PlaneGenerator::setNumSegY
PlaneGenerator & setNumSegY(unsigned int numSegY)
Sets the number of segments along local Y axis.
Definition: ProceduralPlaneGenerator.h:79
Procedural::TriangleBuffer::beginSection
Section beginSection(std::string sectionName="")
Definition: ProceduralTriangleBuffer.h:84
Procedural::LinePath::betweenPoints
LinePath & betweenPoints(Ogre::Vector3 point1, Ogre::Vector3 point2)
Builds a linepath between 2 points.
Definition: ProceduralPathGenerators.h:204
Procedural::Sharpen::Sharpen
Sharpen(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:2617
Procedural::Labyrinth::Labyrinth
Labyrinth(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureGenerator.h:386
Procedural::OilPaint
Create an oil painted image.
Definition: ProceduralTextureModifiers.h:2071
Procedural::MeshGenerator::setVTile
T & setVTile(Ogre::Real vTile)
Sets V Tile, ie the number by which v texture coordinates are multiplied (default=1)
Definition: ProceduralMeshGenerator.h:150
Procedural::MultiShape::MultiShape
MultiShape()
Default constructor.
Definition: ProceduralMultiShape.h:50
Procedural::Triangulator::setMultiShapeToTriangulate
Triangulator & setMultiShapeToTriangulate(const MultiShape *multiShape)
Sets multi shape to triangulate.
Definition: ProceduralTriangulator.h:176
Procedural::Crack::QUALITY_ALPHA
@ QUALITY_ALPHA
Use alpha channel.
Definition: ProceduralTextureModifiers.h:981
Ogre::SimpleSpline::getPoint
const Vector3 & getPoint(unsigned short index) const
Procedural::Triangle2D
Represents a 2D triangle.
Definition: ProceduralGeometryHelpers.h:216
Procedural::TriangleBuffer::textureCoord
TriangleBuffer & textureCoord(const Ogre::Vector2 &vec)
Sets the texture coordinates of the current vertex.
Definition: ProceduralTriangleBuffer.h:208
Procedural::Line
Represents a line in 3D.
Definition: ProceduralGeometryHelpers.h:86
Procedural::Shape::getAvgDirection
Ogre::Vector2 getAvgDirection(unsigned int i) const
Gets the average between before direction and after direction.
Definition: ProceduralShape.h:291
Procedural::MeshUVTransform::setOrigin
MeshUVTransform & setOrigin(const Ogre::Vector2 &origin)
Definition: ProceduralMeshModifiers.h:80
Procedural::TriangleBuffer::getVertices
const std::vector< Vertex > & getVertices() const
Gets a non-modifiable reference to vertices.
Definition: ProceduralTriangleBuffer.h:122
Procedural::IcoSphereGenerator::setRadius
IcoSphereGenerator & setRadius(Ogre::Real radius)
Sets the radius of the sphere (default=1)
Definition: ProceduralIcoSphereGenerator.h:63
Procedural::Crack::LENGTH_DECISION_RANDOM
@ LENGTH_DECISION_RANDOM
Use a random number generator.
Definition: ProceduralTextureModifiers.h:972
Procedural::Abnormals::MIRROR_X_YZ
@ MIRROR_X_YZ
X : YZ.
Definition: ProceduralTextureModifiers.h:91
Procedural::Path::reset
Path & reset()
Clears the content of the Path.
Definition: ProceduralPath.h:119
Procedural::Convolution
Convolution filter.
Definition: ProceduralTextureModifiers.h:848
Procedural::SpherifyModifier::setCenter
SpherifyModifier & setCenter(Ogre::Vector3 center)
Definition: ProceduralMeshModifiers.h:129
Procedural::Channel::Channel
Channel(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:518
Procedural::KochanekBartelsSpline2::ControlPoint
KochanekBartelsSplineControlPoint< Ogre::Vector2 > ControlPoint
Definition: ProceduralShapeGenerators.h:160
Procedural::Blur::BLUR_BOX
@ BLUR_BOX
Use simplified block filter to blur.
Definition: ProceduralTextureModifiers.h:432
Procedural::Lathe::setAngleBegin
Lathe & setAngleBegin(Ogre::Radian angleBegin)
Sets the angle to begin lathe with (default=0) Automatically makes the lathe not closed.
Definition: ProceduralLathe.h:75
Procedural::Plane::Plane
Plane(const Ogre::Vector3 &normal, const Ogre::Vector3 &pos)
Contructor with arguments.
Definition: ProceduralGeometryHelpers.h:72
Procedural::BezierCurve2::safeGetPoint
const Ogre::Vector2 & safeGetPoint(unsigned int i) const
Safely gets a control point.
Definition: ProceduralShapeGenerators.h:540
Procedural::BaseSpline2::mClosed
bool mClosed
Whether the shape will be closed or not.
Definition: ProceduralShapeGeneratorsBase.h:48
Procedural::Boolean::setMesh2
Boolean & setMesh2(TriangleBuffer *tb)
Definition: ProceduralBoolean.h:56
Procedural::Path::getSegCount
int getSegCount() const
Gets the number of segments in the path Takes into accound whether path is closed or not.
Definition: ProceduralPath.h:170
Procedural::Path::getPosition
Ogre::Vector3 getPosition(unsigned int i, Ogre::Real coord) const
Gets a position on the shape with index of the point and a percentage of position on the segment.
Definition: ProceduralPath.h:221
Procedural::WeldVerticesModifier::mInputTriangleBuffer
TriangleBuffer * mInputTriangleBuffer
Definition: ProceduralMeshModifiers.h:191
Procedural::Path::isClosed
bool isClosed() const
Tells if the path is closed or not.
Definition: ProceduralPath.h:138
OgreMesh.h
Procedural::Cell
Create a texture consisting of cells aligned in a grid, or a chessboard.
Definition: ProceduralTextureGenerator.h:71
Procedural::Wood
Creates a wood slice image.
Definition: ProceduralTextureGenerator.h:666
Procedural::HemisphereUVModifier::HemisphereUVModifier
HemisphereUVModifier()
Definition: ProceduralMeshModifiers.h:303
Procedural::Shape::getOutSide
Side getOutSide() const
Gets which side is out.
Definition: ProceduralShape.h:240
Procedural::EllipseShape::setRadiusY
EllipseShape & setRadiusY(Ogre::Real radius)
Sets radius in y direction.
Definition: ProceduralShapeGenerators.h:333
Procedural::CubicHermiteSpline3::addPoint
CubicHermiteSpline3 & addPoint(const Ogre::Vector3 &p, const Ogre::Vector3 &before, const Ogre::Vector3 &after)
Adds a control point.
Definition: ProceduralPathGenerators.h:117
Procedural::Line2D::Line2D
Line2D(Ogre::Vector2 point, Ogre::Vector2 direction)
Contructor with arguments.
Definition: ProceduralGeometryHelpers.h:121
Procedural::Line::mDirection
Ogre::Vector3 mDirection
Definition: ProceduralGeometryHelpers.h:89
Procedural::PlaneUVModifier
Recomputes the mesh's UVs based on its projection on a plane.
Definition: ProceduralMeshModifiers.h:235
Procedural::MeshGenerator::setScale
T & setScale(Ogre::Real x, Ogre::Real y, Ogre::Real z)
Sets a scale baked into the resulting mesh.
Definition: ProceduralMeshGenerator.h:234
Procedural::MeshGenerator::mUVOrigin
Ogre::Vector2 mUVOrigin
Rectangle in which the texture coordinates will be placed.
Definition: ProceduralMeshGenerator.h:70
Procedural::PlaneGenerator::setSizeX
PlaneGenerator & setSizeX(Ogre::Real sizeX)
Sets the size of the plane along local X axis.
Definition: ProceduralPlaneGenerator.h:103
Procedural::IntVector2::y
size_t y
Definition: ProceduralGeometryHelpers.h:245
Ogre::StringConverter::parseReal
static Real parseReal(const String &val, Real defaultValue=0)
Procedural::KochanekBartelsSpline2
Builds a shape from a Kochanek Bartels spline.
Definition: ProceduralShapeGenerators.h:157
Procedural::Line::mPoint
Ogre::Vector3 mPoint
Definition: ProceduralGeometryHelpers.h:88
Procedural::Path::reverse
Path & reverse()
Reverses direction of the path.
Definition: ProceduralPath.h:335
Procedural::Blur::BLUR_MEAN
@ BLUR_MEAN
Use mean filter to blur.
Definition: ProceduralTextureModifiers.h:433
Procedural::CubicHermiteSplineControlPoint::tangentBefore
T tangentBefore
Tangent just before the control point.
Definition: ProceduralSplines.h:49
Procedural::CalculateNormalsModifier::CalculateNormalsModifier
CalculateNormalsModifier()
Definition: ProceduralMeshModifiers.h:146
Procedural::MultiPath::PathIntersection
std::vector< PathCoordinate > PathIntersection
Definition: ProceduralPath.h:363
Procedural::Distort
Apply normal (ie.
Definition: ProceduralTextureModifiers.h:1273
Procedural::TriangleBuffer::Vertex::mUV
Ogre::Vector2 mUV
Definition: ProceduralTriangleBuffer.h:46
Procedural::BaseSpline2::setNumSeg
T & setNumSeg(unsigned int numSeg)
Sets the number of segments between 2 control points.
Definition: ProceduralShapeGeneratorsBase.h:70
Procedural::Lerp
Linear interpolation.
Definition: ProceduralTextureModifiers.h:1785
Procedural::Segment2D
Represents a 2D segment.
Definition: ProceduralGeometryHelpers.h:140
Procedural::Shape::mirrorAroundAxis
Shape & mirrorAroundAxis(const Ogre::Vector2 &axis, bool flip=false)
Create a symetric copy at a given axis.
Definition: ProceduralShape.h:527
Procedural::MultiShape::getShapeCount
unsigned int getShapeCount() const
Returns the number of shapes in that MultiShape.
Definition: ProceduralMultiShape.h:93
Procedural::TorusGenerator::setNumSegSection
TorusGenerator & setNumSegSection(unsigned int numSegSection)
Sets the number of segments on the section circle.
Definition: ProceduralTorusGenerator.h:65
Procedural::TubeGenerator
Definition: ProceduralTubeGenerator.h:41
Procedural::MeshGenerator::MeshGenerator
MeshGenerator()
Default constructor.
Definition: ProceduralMeshGenerator.h:92
Procedural::Abnormals::MIRROR_NONE
@ MIRROR_NONE
None.
Definition: ProceduralTextureModifiers.h:90
Procedural::MeshGenerator::setPosition
T & setPosition(const Ogre::Vector3 &position)
Sets a translation baked into the resulting mesh.
Definition: ProceduralMeshGenerator.h:201
Procedural::Abnormals::Abnormals
Abnormals(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:109
Procedural::HelixPath::setHeight
HelixPath & setHeight(Ogre::Real height)
Sets the height of the helix (default=1.0)
Definition: ProceduralSpringGenerator.h:56
Procedural::Shape::getPointCount
const std::vector< Ogre::Vector2 >::size_type getPointCount() const
Gets number of points in current point list.
Definition: ProceduralShape.h:213
Procedural::CapsuleGenerator::setHeight
CapsuleGenerator & setHeight(Ogre::Real height)
Sets the height of the cylinder part of the capsule (default=1)
Definition: ProceduralCapsuleGenerator.h:121
Procedural::Channel::CANNEL_SELECTION
CANNEL_SELECTION
Definition: ProceduralTextureModifiers.h:501
Procedural::Triangulator
Implements a Delaunay Triangulation algorithm.
Definition: ProceduralTriangulator.h:50
Procedural::MeshGenerator::mEnableNormals
bool mEnableNormals
Whether to produces normals or not.
Definition: ProceduralMeshGenerator.h:64
Procedural::CubicHermiteSplineControlPoint::autoTangentBefore
CubicHermiteSplineAutoTangentMode autoTangentBefore
Auto tangent mode for the tangent just before the control point.
Definition: ProceduralSplines.h:53
Procedural::Cloud
Creates a cloud structured image.
Definition: ProceduralTextureGenerator.h:174
Procedural::PlaneGenerator::PlaneGenerator
PlaneGenerator()
Definition: ProceduralPlaneGenerator.h:52
Procedural::Line::Line
Line(Ogre::Vector3 point, Ogre::Vector3 direction)
Contructor with arguments.
Definition: ProceduralGeometryHelpers.h:96
Procedural::TriangleBuffer::mEstimatedVertexCount
int mEstimatedVertexCount
Definition: ProceduralTriangleBuffer.h:63
Procedural::Shape::translate
Shape & translate(const Ogre::Vector2 &translation)
Applies the given translation to all the points already defined.
Definition: ProceduralShape.h:393
Procedural::CatmullRomSpline3::safeGetPoint
const Ogre::Vector3 & safeGetPoint(unsigned int i) const
Safely gets a control point.
Definition: ProceduralPathGenerators.h:86
Procedural::TriangleBuffer::Vertex
Definition: ProceduralTriangleBuffer.h:42
Procedural::Normals::Normals
Normals(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:2041
Procedural::Combine::METHOD_ALPHA
@ METHOD_ALPHA
Definition: ProceduralTextureModifiers.h:777
Procedural::PrismGenerator::setCapped
PrismGenerator & setCapped(bool capped)
Sets whether the prism has endings or not (default=true)
Definition: ProceduralPrismGenerator.h:104
TRect< Real >::right
Real right
Procedural::MultiPath::getIntersectionsMap
const std::map< PathCoordinate, PathIntersection > & getIntersectionsMap() const
Definition: ProceduralPath.h:404
Ogre::Math::Sin
static Real Sin(const Radian &fValue, bool useTables=false)
Procedural::Wood::Wood
Wood(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureGenerator.h:678
Procedural::Plane::Plane
Plane(Ogre::Real a, Ogre::Real b, Ogre::Real c, Ogre::Real d)
Definition: ProceduralGeometryHelpers.h:74
Procedural::Utils::min
static Ogre::Vector3 min(const Ogre::Vector3 &v1, const Ogre::Vector3 &v2)
Gets the min of the coordinates between 2 vectors.
Definition: ProceduralUtils.h:48
Vector< 3, Real >::squaredDistance
Real squaredDistance(const Vector &rhs) const
Procedural::Boolean::Boolean
Boolean()
Definition: ProceduralBoolean.h:48
Procedural::TriangleBuffer::vertex
TriangleBuffer & vertex(const Ogre::Vector3 &position, const Ogre::Vector3 &normal, const Ogre::Vector2 &uv)
Adds a new vertex to the buffer.
Definition: ProceduralTriangleBuffer.h:162
Procedural::Polygon::Polygon
Polygon(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:2132
Procedural::CubicHermiteSplineControlPoint::CubicHermiteSplineControlPoint
CubicHermiteSplineControlPoint()
Default constructor.
Definition: ProceduralSplines.h:58
Procedural::Shape::getPosition
Ogre::Vector2 getPosition(Ogre::Real coord) const
Gets a position on the shape from lineic coordinate.
Definition: ProceduralShape.h:578
v
TextureAddressingMode v
Procedural::Shape::setOutSide
Shape & setOutSide(Side side)
Sets which side (left or right) is on the outside of the shape.
Definition: ProceduralShape.h:233
Procedural::MultiShape::addMultiShape
void addMultiShape(const MultiShape &other)
Append every shape of an other multishape to the current multiShape.
Definition: ProceduralMultiShape.h:99
Procedural::Threshold::MODE_EXPAND_UPWARDS
@ MODE_EXPAND_UPWARDS
Set pixel above threshould value to white.
Definition: ProceduralTextureModifiers.h:2822
Procedural::Path::appendPath
Path & appendPath(const Path &other)
Appends another path at the end of this one.
Definition: ProceduralPath.h:96
Procedural::Boolean::BooleanOperation
BooleanOperation
Definition: ProceduralBoolean.h:38
Procedural::CubicHermiteSpline2::safeGetPoint
const ControlPoint & safeGetPoint(unsigned int i) const
Safely gets a control point.
Definition: ProceduralShapeGenerators.h:88
Procedural::Path::getPointsReference
std::vector< Ogre::Vector3 > & getPointsReference()
Gets raw vector data of this path as a non-const reference.
Definition: ProceduralPath.h:150
Procedural::TorusGenerator::setSectionRadius
TorusGenerator & setSectionRadius(Ogre::Real sectionRadius)
Sets the radius of the section circle.
Definition: ProceduralTorusGenerator.h:101
Procedural::RoundedBoxGenerator::setSizeY
RoundedBoxGenerator & setSizeY(Ogre::Real sizeY)
Sets the size of the box along Y axis.
Definition: ProceduralRoundedBoxGenerator.h:69
Procedural::TriangleShape::setLength
TriangleShape & setLength(Ogre::Real length)
Creates an equilateral triangle.
Definition: ProceduralShapeGenerators.h:380
Procedural::Shape::getAvgNormal
Ogre::Vector2 getAvgNormal(unsigned int i) const
Gets the "normal" of that point ie an average between before and after normals.
Definition: ProceduralShape.h:313
Vector< 3, Real >::isZeroLength
bool isZeroLength() const
Procedural::TriangleBuffer::Vertex::mNormal
Ogre::Vector3 mNormal
Definition: ProceduralTriangleBuffer.h:45
Procedural::EllipseShape
Builds a ellipse shape.
Definition: ProceduralShapeGenerators.h:312
Procedural::KochanekBartelsSplineControlPoint
Template control point for KochanekBartels's splines.
Definition: ProceduralSplines.h:130
Procedural::Shape::getNormalBefore
Ogre::Vector2 getNormalBefore(unsigned int i) const
Gets the shape normal just before that point.
Definition: ProceduralShape.h:305
Procedural::CubicHermiteSpline2
Produces a shape from Cubic Hermite control points.
Definition: ProceduralShapeGenerators.h:46
Procedural::RoundedCornerSpline3::safeGetPoint
const Ogre::Vector3 & safeGetPoint(unsigned int i) const
Safely gets a control point.
Definition: ProceduralPathGenerators.h:259
Procedural::Utils::vec2ToVec3Y
static Ogre::Vector3 vec2ToVec3Y(const Ogre::Vector2 &pos)
Maps a vector2 to vector3, with Y=0.
Definition: ProceduralUtils.h:179
Procedural::Extruder::setExtrusionPath
Extruder & setExtrusionPath(const Path *extrusionPath)
Sets the extrusion path.
Definition: ProceduralExtruder.h:94
Procedural::TextureLightBaker
Apply an illumination on a surface.
Definition: ProceduralTextureModifiers.h:1841
Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME
static const String DEFAULT_RESOURCE_GROUP_NAME
Procedural::Shape::scale
Shape & scale(Ogre::Real scaleX, Ogre::Real scaleY)
Applies the given scale to all the points already defined.
Definition: ProceduralShape.h:446
Procedural::Sharpen::SHARP_TYPE
SHARP_TYPE
List of algorithms to blur.
Definition: ProceduralTextureModifiers.h:2601
Procedural::CubicHermiteSpline2::addPoint
CubicHermiteSpline2 & addPoint(Ogre::Real x, Ogre::Real y, CubicHermiteSplineAutoTangentMode autoTangentMode=AT_CATMULL)
Adds a control point.
Definition: ProceduralShapeGenerators.h:77
Procedural::TextureProcessing
base class for material generation classes.
Definition: ProceduralTextureBuffer.h:319
Procedural::Track::isInsertPoint
bool isInsertPoint() const
Tells whether we should add new points to principal curve if a key is defined here but not on princip...
Definition: ProceduralTrack.h:79
Procedural::Shape
Definition: ProceduralShape.h:57
Procedural::Crack::Crack
Crack(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1000
Procedural::ShowNormalsGenerator
This class creates a visualisation of the normals of a TriangleBuffer.
Definition: ProceduralDebugRendering.h:38
Procedural::Plane
Extends the Ogre::Plane class to be able to compute the intersection between 2 planes.
Definition: ProceduralGeometryHelpers.h:66
Procedural::Cell::MODE_GRID
@ MODE_GRID
Paint cells on a grid.
Definition: ProceduralTextureGenerator.h:77
TRect< Real >::bottom
Real bottom
Procedural::TriangleBuffer::translate
TriangleBuffer & translate(const Ogre::Vector3 &amount)
Applies the translation immediately to all the points contained in that triangle buffer.
Definition: ProceduralTriangleBuffer.h:250
OgreStringConverter.h
Ogre::Math::ACos
static Radian ACos(Real fValue)
Procedural::Colours::Colours
Colours(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:679
Procedural::CapsuleGenerator::setNumRings
CapsuleGenerator & setNumRings(unsigned int numRings)
Sets the number of segments of the sphere part (default=8)
Definition: ProceduralCapsuleGenerator.h:85
Procedural::Vector2Comparator::operator()
bool operator()(const Ogre::Vector2 &one, const Ogre::Vector2 &two) const
Definition: ProceduralGeometryHelpers.h:165
Procedural::Glow
Render a glow.
Definition: ProceduralTextureModifiers.h:1605
Procedural::RotationZoom
Rotate & zoom image.
Definition: ProceduralTextureModifiers.h:2447
OgreAxisAlignedBox.h
Procedural::Shape::rotate
Shape & rotate(Ogre::Radian angle)
Applies the given rotation to all the points already defined.
Definition: ProceduralShape.h:416
Procedural::TorusKnotGenerator
Definition: ProceduralTorusKnotGenerator.h:41
Procedural::MultiPath::PathCoordinate
Definition: ProceduralPath.h:351
Procedural::SphereGenerator::SphereGenerator
SphereGenerator(Ogre::Real radius=1.f, unsigned int numRings=16, unsigned int numSegments=16)
Constructor with arguments.
Definition: ProceduralSphereGenerator.h:49
Procedural::TorusKnotGenerator::setP
TorusKnotGenerator & setP(int p)
Sets the p parameter of the knot (default=2)
Definition: ProceduralTorusKnotGenerator.h:117
Procedural
Definition: ProceduralBoolean.h:32
Ogre::Real
float Real
Procedural::MeshGenerator::setPosition
T & setPosition(Ogre::Real x, Ogre::Real y, Ogre::Real z)
Sets a translation baked into the resulting mesh.
Definition: ProceduralMeshGenerator.h:209
Procedural::Extruder::TrackMap
std::map< unsigned int, const Track * > TrackMap
Definition: ProceduralExtruder.h:53
Procedural::Path::scale
Path & scale(Ogre::Real amount)
Applies the given scale to all the points already defined.
Definition: ProceduralPath.h:275
Procedural::BaseSpline2::mNumSeg
unsigned int mNumSeg
The number of segments between 2 control points.
Definition: ProceduralShapeGeneratorsBase.h:46
Procedural::RoundedBoxGenerator::setSizeX
RoundedBoxGenerator & setSizeX(Ogre::Real sizeX)
Sets the size of the box along X axis.
Definition: ProceduralRoundedBoxGenerator.h:57
Procedural::AT_NONE
@ AT_NONE
Definition: ProceduralSplines.h:37
Procedural::RoundedBoxGenerator::RoundedBoxGenerator
RoundedBoxGenerator()
Definition: ProceduralRoundedBoxGenerator.h:50
Procedural::BoxUVModifier::setInputTriangleBuffer
BoxUVModifier & setInputTriangleBuffer(TriangleBuffer *inputTriangleBuffer)
Definition: ProceduralMeshModifiers.h:382
Procedural::CubicHermiteSplineControlPoint::autoTangentAfter
CubicHermiteSplineAutoTangentMode autoTangentAfter
Auto tangent mode for the tangent just after the control point.
Definition: ProceduralSplines.h:55
Procedural::Path::insertPoint
Path & insertPoint(size_t index, Ogre::Real x, Ogre::Real y, Ogre::Real z)
Inserts a point to the path.
Definition: ProceduralPath.h:80
Procedural::TriangleBuffer::globalOffset
int globalOffset
Definition: ProceduralTriangleBuffer.h:62
Procedural::RoundedCornerSpline2::RoundedCornerSpline2
RoundedCornerSpline2()
Definition: ProceduralShapeGenerators.h:457
Procedural::Shape::mirrorAroundPoint
Shape & mirrorAroundPoint(Ogre::Vector2 point, bool flip=false)
Create a symetric copy at a given point.
Definition: ProceduralShape.h:504
Procedural::TriangleBuffer::getIndices
std::vector< int > & getIndices()
Gets a modifiable reference to vertices.
Definition: ProceduralTriangleBuffer.h:128
Procedural::CatmullRomSpline3::getPointCount
const size_t getPointCount() const
Gets the number of control points.
Definition: ProceduralPathGenerators.h:94
Procedural::TriangleBuffer::mEstimatedIndexCount
int mEstimatedIndexCount
Definition: ProceduralTriangleBuffer.h:64
Procedural::PlaneGenerator
Definition: ProceduralPlaneGenerator.h:43
Procedural::Cell::CELL_PATTERN
CELL_PATTERN
Mode how to construct cells.
Definition: ProceduralTextureGenerator.h:82
Procedural::CubicHermiteSpline3
Produces a path from Cubic Hermite control points.
Definition: ProceduralPathGenerators.h:108
Procedural::computeTangents
void computeTangents(CubicHermiteSplineControlPoint< T > &point, const T &pointBefore, const T &pointAfter)
Definition: ProceduralSplines.h:65
Procedural::MeshGenerator::mVTile
Ogre::Real mVTile
V tile for texture coords generation.
Definition: ProceduralMeshGenerator.h:61
TRect< Real >
Procedural::BoxGenerator::setSizeY
BoxGenerator & setSizeY(Ogre::Real sizeY)
Sets size along Y axis (default=1)
Definition: ProceduralBoxGenerator.h:68
Procedural::Line2D::setFrom2Points
void setFrom2Points(const Ogre::Vector2 &a, const Ogre::Vector2 &b)
Builds the line between 2 points.
Definition: ProceduralGeometryHelpers.h:124
Procedural::TriangleBuffer::Section
Definition: ProceduralTriangleBuffer.h:48
Procedural::SpringGenerator::setRadiusHelix
SpringGenerator & setRadiusHelix(Ogre::Real radiusHelix)
Sets helix radius (default=1)
Definition: ProceduralSpringGenerator.h:129
Procedural::KochanekBartelsSpline2::addPoint
KochanekBartelsSpline2 & addPoint(Ogre::Vector2 p)
Adds a control point.
Definition: ProceduralShapeGenerators.h:173
Procedural::Combine::METHOD_ADD_WRAP
@ METHOD_ADD_WRAP
Definition: ProceduralTextureModifiers.h:771
OgreSimpleSpline.h
Procedural::Path::Path
Path()
Default constructor.
Definition: ProceduralPath.h:59
Procedural::ShowNormalsGenerator::setVisualStyle
ShowNormalsGenerator & setVisualStyle(VisualStyle visualStyle)
Sets the visual style, line or arrow (default = line)
Definition: ProceduralDebugRendering.h:71
Procedural::SpringGenerator::setHeight
SpringGenerator & setHeight(Ogre::Real height)
Sets the height of the spring (default=1)
Definition: ProceduralSpringGenerator.h:119
Procedural::CubicHermiteSpline2::ControlPoint
CubicHermiteSplineControlPoint< Ogre::Vector2 > ControlPoint
Definition: ProceduralShapeGenerators.h:49
Procedural::CircleShape::setNumSeg
CircleShape & setNumSeg(unsigned int numSeg)
Sets number of segments.
Definition: ProceduralShapeGenerators.h:285
Procedural::CatmullRomSpline2::addPoint
CatmullRomSpline2 & addPoint(const Ogre::Vector2 &pt)
Adds a control point.
Definition: ProceduralShapeGenerators.h:118
Procedural::CubicHermiteSpline3::ControlPoint
CubicHermiteSplineControlPoint< Ogre::Vector3 > ControlPoint
Definition: ProceduralPathGenerators.h:111
operator==
bool operator==(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Procedural::Cycloid::HYPOCYCLOID
@ HYPOCYCLOID
Draw a Hypocycloid.
Definition: ProceduralTextureModifiers.h:1109
Procedural::TriangleBuffer::scale
TriangleBuffer & scale(const Ogre::Vector3 &scale)
Applies an immediate scale operation to that triangle buffer.
Definition: ProceduralTriangleBuffer.h:280
Procedural::BoxUVModifier
Definition: ProceduralMeshModifiers.h:361
Procedural::Shape::addPoint
Shape & addPoint(const Ogre::Vector2 &pt)
Adds a point to the shape.
Definition: ProceduralShape.h:68
Procedural::HelixPath::setNumRound
HelixPath & setNumRound(Ogre::Real numRound)
Sets the number of rounds (default = 5.0)
Definition: ProceduralSpringGenerator.h:76
Procedural::TriangleBuffer::Section::mLastVertex
unsigned int mLastVertex
Definition: ProceduralTriangleBuffer.h:54
OgreMatrix4.h
Procedural::MeshGenerator::mOrientation
Ogre::Quaternion mOrientation
Orientation to apply the mesh.
Definition: ProceduralMeshGenerator.h:78
Procedural::Threshold::Threshold
Threshold(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:2837
Procedural::Extruder::setRotationTrack
Extruder & setRotationTrack(const Track *rotationTrack, unsigned int index=0)
Sets the rotation track (optional)
Definition: ProceduralExtruder.h:112
Procedural::Shape::switchSide
Shape & switchSide()
Switches the inside and the outside.
Definition: ProceduralShape.h:246
Procedural::TriangleBuffer::mIndices
std::vector< int > mIndices
Definition: ProceduralTriangleBuffer.h:59
Procedural::BoxUVModifier::BoxUVModifier
BoxUVModifier()
Definition: ProceduralMeshModifiers.h:377
Procedural::BoxUVModifier::setMappingType
BoxUVModifier & setMappingType(MappingType mappingType)
Definition: ProceduralMeshModifiers.h:400
Procedural::MeshGenerator::buildTriangleBuffer
TriangleBuffer buildTriangleBuffer() const
Outputs a triangleBuffer.
Definition: ProceduralMeshGenerator.h:126
Procedural::Segment3D::orderedCopy
Segment3D orderedCopy() const
Definition: ProceduralGeometryHelpers.h:206
Procedural::Gradient
Fills full image with given colour gradients.
Definition: ProceduralTextureGenerator.h:229
Procedural::Textile
Creates a textile structured image.
Definition: ProceduralTextureGenerator.h:611
Procedural::RoundedCornerSpline3::addPoint
RoundedCornerSpline3 & addPoint(const Ogre::Vector3 &p)
Adds a control point.
Definition: ProceduralPathGenerators.h:245
Procedural::TriangleShape::setLengthC
TriangleShape & setLengthC(Ogre::Real length)
Sets length of edge C.
Definition: ProceduralShapeGenerators.h:419
Procedural::ConeGenerator::setNumSegBase
ConeGenerator & setNumSegBase(unsigned int numSegBase)
Sets the number of segments on the side of the base (default=16)
Definition: ProceduralConeGenerator.h:66
Procedural::Path::addPoint
Path & addPoint(Ogre::Real x, Ogre::Real y, Ogre::Real z)
Adds a point to the path, using its 3 coordinates.
Definition: ProceduralPath.h:69
Procedural::Polygon
Draw a polygon.
Definition: ProceduralTextureModifiers.h:2118
Procedural::MeshGenerator::mPosition
Ogre::Vector3 mPosition
Position to apply to the mesh.
Definition: ProceduralMeshGenerator.h:84
Vector< 2, Real >::length
Real length() const
Procedural::Line2D
Represents a line in 2D.
Definition: ProceduralGeometryHelpers.h:110
Procedural::TorusKnotGenerator::TorusKnotGenerator
TorusKnotGenerator(Ogre::Real radius=1.f, Ogre::Real sectionRadius=.2f, int p=2, int q=3, unsigned int numSegSection=8, unsigned int numSegCircle=16)
Constructor with arguments.
Definition: ProceduralTorusKnotGenerator.h:51
Radian
Radian(const Degree &d)
Procedural::Crack::QUALITY_HIGH_OFF
@ QUALITY_HIGH_OFF
Switch high quality off.
Definition: ProceduralTextureModifiers.h:980
Procedural::Segment
Colours image segments based on threshold.
Definition: ProceduralTextureModifiers.h:2541
Procedural::KochanekBartelsSpline2::getPointCount
const size_t getPointCount() const
Gets the number of control points.
Definition: ProceduralShapeGenerators.h:201
Procedural::Shape::getNormalAfter
Ogre::Vector2 getNormalAfter(unsigned int i) const
Gets the shape normal just after that point.
Definition: ProceduralShape.h:297
Procedural::BezierCurve3::setNumSeg
BezierCurve3 & setNumSeg(unsigned int numSeg)
Sets number of segments per two control points.
Definition: ProceduralPathGenerators.h:294
Procedural::TextureLightBaker::TextureLightBaker
TextureLightBaker(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1857
Procedural::CalculateNormalsModifier::setInputTriangleBuffer
CalculateNormalsModifier & setInputTriangleBuffer(TriangleBuffer *inputTriangleBuffer)
Definition: ProceduralMeshModifiers.h:163
Procedural::MeshGenerator::mScale
Ogre::Vector3 mScale
Scale to apply the mesh.
Definition: ProceduralMeshGenerator.h:81
Procedural::SphereUVModifier::SphereUVModifier
SphereUVModifier()
Definition: ProceduralMeshModifiers.h:283
Procedural::MultiPath::getPathCount
unsigned int getPathCount() const
Definition: ProceduralPath.h:392
Procedural::Solid
Fills full image with given colour.
Definition: ProceduralTextureGenerator.h:563
Procedural::CatmullRomSpline3::CatmullRomSpline3
CatmullRomSpline3()
Default constructor.
Definition: ProceduralPathGenerators.h:52
Procedural::Path::getPoints
const std::vector< Ogre::Vector3 > & getPoints() const
Gets the list of points as a vector of Vector3.
Definition: ProceduralPath.h:144
Ogre::SharedPtr< Mesh >
Procedural::RoundedBoxGenerator::setNumSegZ
RoundedBoxGenerator & setNumSegZ(unsigned short numSegZ)
Sets the number of segments along Z axis (default=1)
Definition: ProceduralRoundedBoxGenerator.h:126
Procedural::Boolean::BT_UNION
@ BT_UNION
Definition: ProceduralBoolean.h:40
Procedural::CircleShape::CircleShape
CircleShape()
Default constructor.
Definition: ProceduralShapeGenerators.h:271
Procedural::CatmullRomSpline2::addPoint
CatmullRomSpline2 & addPoint(Ogre::Real x, Ogre::Real y)
Adds a control point.
Definition: ProceduralShapeGenerators.h:125
Procedural::TriangleBuffer::estimateVertexCount
void estimateVertexCount(unsigned int vertexCount)
Gives an estimation of the number of vertices need for this triangle buffer.
Definition: ProceduralTriangleBuffer.h:319
Ogre::AxisAlignedBox::setMaximum
void setMaximum(const Vector3 &vec)
Procedural::CylinderUVModifier::setInputTriangleBuffer
CylinderUVModifier & setInputTriangleBuffer(TriangleBuffer *inputTriangleBuffer)
Definition: ProceduralMeshModifiers.h:341
Procedural::RectangleShape::setHeight
RectangleShape & setHeight(Ogre::Real height)
Sets height.
Definition: ProceduralShapeGenerators.h:238
Procedural::Track::getFirstValue
Ogre::Real getFirstValue() const
Gets the first value in the track.
Definition: ProceduralTrack.h:107
Procedural::Circle::Circle
Circle()
Definition: ProceduralGeometryHelpers.h:49
Vector< 2, Real >::reflect
Vector reflect(const Vector &normal) const
Procedural::Shape::getDirectionAfter
Ogre::Vector2 getDirectionAfter(unsigned int i) const
Returns local direction after the current point.
Definition: ProceduralShape.h:267
Procedural::Triangulator::Triangulator
Triangulator()
Default ctor.
Definition: ProceduralTriangulator.h:165
Procedural::Vector3Comparator::operator()
bool operator()(const Ogre::Vector3 &one, const Ogre::Vector3 &two) const
Definition: ProceduralGeometryHelpers.h:178
Procedural::Blur::Blur
Blur(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:447
Procedural::Jitter::Jitter
Jitter(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1738
Procedural::Extruder::setExtrusionPath
Extruder & setExtrusionPath(const MultiPath *multiExtrusionPath)
Sets the extrusion multipath.
Definition: ProceduralExtruder.h:103
Procedural::Threshold::MODE_COMPRESS_BELOW
@ MODE_COMPRESS_BELOW
Set pixel below threshould value to an avarage value of all pixel below threshould value.
Definition: ProceduralTextureModifiers.h:2823
Procedural::EdgeDetection::EdgeDetection
EdgeDetection(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1344
Procedural::Shape::Shape
Shape()
Default constructor.
Definition: ProceduralShape.h:65
Procedural::WeldVerticesModifier::setInputTriangleBuffer
WeldVerticesModifier & setInputTriangleBuffer(TriangleBuffer *inputTriangleBuffer)
The triangle buffer to modify.
Definition: ProceduralMeshModifiers.h:196
Procedural::CubicHermiteSplineControlPoint::CubicHermiteSplineControlPoint
CubicHermiteSplineControlPoint(const T &p, const T &before, const T &after)
Constructor with arguments.
Definition: ProceduralSplines.h:61
Procedural::Lathe::setAngleEnd
Lathe & setAngleEnd(Ogre::Radian angleEnd)
Sets the angle to end lathe with (default=2PI) Automatically makes the lathe not closed.
Definition: ProceduralLathe.h:84
Procedural::Lathe::setMultiShapeToExtrude
Lathe & setMultiShapeToExtrude(MultiShape *multiShapeToExtrude)
Sets the multiShape to extrude If a shape is already defined, auto-disables it The shapes in this mul...
Definition: ProceduralLathe.h:121
Procedural::LinePath::setNumSeg
LinePath & setNumSeg(unsigned int numSeg)
Sets the number of segments for this line.
Definition: ProceduralPathGenerators.h:195
Procedural::Shape::reflect
Shape & reflect(const Ogre::Vector2 &normal)
Reflect all points in this shape against a zero-origined line with a given normal.
Definition: ProceduralShape.h:470
Procedural::Track::getLastValue
Ogre::Real getLastValue() const
Gets the last value in the track.
Definition: ProceduralTrack.h:113
Procedural::Sharpen
Increase sharpness on input image.
Definition: ProceduralTextureModifiers.h:2597
Procedural::BezierCurve2::addPoint
BezierCurve2 & addPoint(Ogre::Real x, Ogre::Real y)
Adds a control point.
Definition: ProceduralShapeGenerators.h:533
Procedural::MultiPath::PathCoordinate::pathIndex
unsigned int pathIndex
Definition: ProceduralPath.h:353
Procedural::PlaneUVModifier::setPlaneNormal
PlaneUVModifier & setPlaneNormal(const Ogre::Vector3 &planeNormal)
Definition: ProceduralMeshModifiers.h:248
Procedural::WeldVerticesModifier
Welds together the vertices which are 'close enough' one to each other.
Definition: ProceduralMeshModifiers.h:186
Procedural::CalculateNormalsModifier::NCM_VERTEX
@ NCM_VERTEX
Definition: ProceduralMeshModifiers.h:150
Ogre::uint8
unsigned char uint8
Procedural::TriangleShape
Builds a triangele shape.
Definition: ProceduralShapeGenerators.h:370
Procedural::Shape::getDirectionBefore
Ogre::Vector2 getDirectionBefore(unsigned int i) const
Returns local direction after the current point.
Definition: ProceduralShape.h:280
Procedural::Utils::cap
static int cap(int n, int min, int max)
Caps n between min and max.
Definition: ProceduralUtils.h:111
Procedural::CatmullRomSpline2::safeGetPoint
const Ogre::Vector2 & safeGetPoint(unsigned int i) const
Safely gets a control point.
Definition: ProceduralShapeGenerators.h:132
Procedural::LinePath::realizePath
Path realizePath()
Outputs a path.
Definition: ProceduralPathGenerators.h:212
Procedural::Shape::addPoint
Shape & addPoint(Ogre::Real x, Ogre::Real y)
Adds a point to the shape.
Definition: ProceduralShape.h:75
Procedural::PointList
std::vector< Ogre::Vector2 > PointList
Definition: ProceduralTriangulator.h:41
Procedural::CalculateNormalsModifier::setComputeMode
CalculateNormalsModifier & setComputeMode(NormalComputeMode computeMode)
Definition: ProceduralMeshModifiers.h:157
Procedural::Triangulator::setRemoveOutside
Triangulator & setRemoveOutside(bool removeOutside)
Sets if the outside of shape must be removed.
Definition: ProceduralTriangulator.h:197
Procedural::Utils
Holds a bunch of static utility functions.
Definition: ProceduralUtils.h:40
Procedural::Cycloid::Cycloid
Cycloid(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1145
Procedural::Labyrinth
Creates a labyrinth structured image.
Definition: ProceduralTextureGenerator.h:375
Procedural::SphereUVModifier::setInputTriangleBuffer
SphereUVModifier & setInputTriangleBuffer(TriangleBuffer *inputTriangleBuffer)
Definition: ProceduralMeshModifiers.h:288
Procedural::CubicHermiteSplineAutoTangentMode
CubicHermiteSplineAutoTangentMode
Definition: ProceduralSplines.h:35
Procedural::BaseSpline2::getOutSide
Side getOutSide() const
Gets the out side of the shape.
Definition: ProceduralShapeGeneratorsBase.h:63
Procedural::TriangleBuffer::translate
TriangleBuffer & translate(Ogre::Real x, Ogre::Real y, Ogre::Real z)
Applies the translation immediately to all the points contained in that triangle buffer.
Definition: ProceduralTriangleBuffer.h:260
Procedural::MeshUVTransform::setTile
MeshUVTransform & setTile(const Ogre::Vector2 &tile)
Definition: ProceduralMeshModifiers.h:74
Procedural::BoxGenerator::setSize
BoxGenerator & setSize(Ogre::Vector3 size)
Sets the size (default=1,1,1)
Definition: ProceduralBoxGenerator.h:89
Procedural::Segment2D::Segment2D
Segment2D(Ogre::Vector2 a, Ogre::Vector2 b)
Contructor with arguments.
Definition: ProceduralGeometryHelpers.h:148
Procedural::ShowNormalsGenerator::setSize
ShowNormalsGenerator & setSize(Ogre::Real size)
Sets the size of the normals representation (default = 1.0)
Definition: ProceduralDebugRendering.h:63
Procedural::SpringGenerator::setRadiusCircle
SpringGenerator & setRadiusCircle(Ogre::Real radiusCircle)
Sets radius for extruding circle (default=0.1)
Definition: ProceduralSpringGenerator.h:139
Procedural::MultiPath::clear
void clear()
Definition: ProceduralPath.h:370
Procedural::Shape::getPosition
Ogre::Vector2 getPosition(unsigned int i, Ogre::Real coord) const
Gets a position on the shape with index of the point and a percentage of position on the segment.
Definition: ProceduralShape.h:564
Procedural::Noise
Fills full image with noise in a given colour.
Definition: ProceduralTextureGenerator.h:493
Procedural::BaseSpline2::BaseSpline2
BaseSpline2()
Default constructor.
Definition: ProceduralShapeGeneratorsBase.h:53
Procedural::IntVector2
Definition: ProceduralGeometryHelpers.h:243
Procedural::TriangleBuffer::getFullSection
Section getFullSection()
Definition: ProceduralTriangleBuffer.h:103
Procedural::RectangleShape::setWidth
RectangleShape & setWidth(Ogre::Real width)
Sets width.
Definition: ProceduralShapeGenerators.h:228
Procedural::PlaneUVModifier::PlaneUVModifier
PlaneUVModifier()
Definition: ProceduralMeshModifiers.h:243
Procedural::Utils::getName
static std::string getName(const std::string &prefix="default")
Generate a name from a prefix and a counter.
Procedural::Lathe::Lathe
Lathe(Shape *shapeToExtrude=0, unsigned int numSeg=16)
Contructor with arguments.
Definition: ProceduralLathe.h:57
Procedural::TriangleShape::realizeShape
Shape realizeShape()
Builds the shape.
Definition: ProceduralShapeGenerators.h:430
Procedural::ConeGenerator
Definition: ProceduralConeGenerator.h:41
Procedural::TextureBuffer::setPixel
void setPixel(size_t x, size_t y, Ogre::ColourValue colour)
Set colour of a specified pixel.
Definition: ProceduralTextureBuffer.h:66
Procedural::Abnormals::COMPENSATION_NORMAL
@ COMPENSATION_NORMAL
Use as a normal map.
Definition: ProceduralTextureModifiers.h:82
Procedural::HelixPath
Definition: ProceduralSpringGenerator.h:44
Procedural::PlaneGenerator::setNumSegX
PlaneGenerator & setNumSegX(unsigned int numSegX)
Sets the number of segements along local X axis.
Definition: ProceduralPlaneGenerator.h:67
Procedural::CylinderGenerator::setNumSegBase
CylinderGenerator & setNumSegBase(unsigned int numSegBase)
Sets the number of segments when rotating around the cylinder's axis (default=16)
Definition: ProceduralCylinderGenerator.h:69
Procedural::TubeGenerator::setNumSegBase
TubeGenerator & setNumSegBase(unsigned int numSegBase)
Sets the number of segments when rotating around the tube's axis (default=16)
Definition: ProceduralTubeGenerator.h:68
crossProduct
Vector3 crossProduct(const Vector3 &rkVector) const
Procedural::Path::reflect
Path & reflect(const Ogre::Vector3 &normal)
Reflect all points in this path against a zero-origined plane with a given normal.
Definition: ProceduralPath.h:312
Procedural::TorusKnotGenerator::setSectionRadius
TorusKnotGenerator & setSectionRadius(Ogre::Real sectionRadius)
Sets the section radius (default=0.2)
Definition: ProceduralTorusKnotGenerator.h:105
Procedural::BaseSpline3::setNumSeg
T & setNumSeg(unsigned int numSeg)
Sets the number of segments between 2 control points.
Definition: ProceduralPathGeneratorsBase.h:54
Procedural::Combine::METHOD_SUB_CLAMP
@ METHOD_SUB_CLAMP
Definition: ProceduralTextureModifiers.h:772
Ogre::Radian
Procedural::TriangleBuffer::getVertices
std::vector< Vertex > & getVertices()
Gets a modifiable reference to vertices.
Definition: ProceduralTriangleBuffer.h:116
Procedural::WeldVerticesModifier::setTolerance
WeldVerticesModifier & setTolerance(Ogre::Real tolerance)
The tolerance in position to consider that 2 vertices are the same (default = 1e-3)
Definition: ProceduralMeshModifiers.h:203
Procedural::Marble
Creates a marble structured image.
Definition: ProceduralTextureGenerator.h:430
Procedural::UnweldVerticesModifier::setInputTriangleBuffer
UnweldVerticesModifier & setInputTriangleBuffer(TriangleBuffer *inputTriangleBuffer)
Definition: ProceduralMeshModifiers.h:223
Procedural::TorusKnotGenerator::setNumSegCircle
TorusKnotGenerator & setNumSegCircle(unsigned int numSegCircle)
Sets the number of segments along the circle (default=16)
Definition: ProceduralTorusKnotGenerator.h:81
Procedural::Vector3Comparator
Definition: ProceduralGeometryHelpers.h:176
Ogre::Math::TWO_PI
static const Real TWO_PI
Procedural::BezierCurve3::addPoint
BezierCurve3 & addPoint(const Ogre::Vector3 &pt)
Adds a control point.
Definition: ProceduralPathGenerators.h:303
Procedural::SpringGenerator
Definition: ProceduralSpringGenerator.h:106
Procedural::BoxGenerator::setNumSegX
BoxGenerator & setNumSegX(unsigned int numSegX)
Sets the number of segments along X axis (default=1)
Definition: ProceduralBoxGenerator.h:101
Procedural::TriangleBuffer::triangle
TriangleBuffer & triangle(int i1, int i2, int i3)
Adds a triangle to the index buffer.
Definition: ProceduralTriangleBuffer.h:228
Procedural::MultiPath::PathCoordinate::PathCoordinate
PathCoordinate(unsigned int _pathIndex, unsigned int _pointIndex)
Definition: ProceduralPath.h:355
Procedural::Segment3D::mA
Ogre::Vector3 mA
Definition: ProceduralGeometryHelpers.h:193
Procedural::Track::mKeyFrames
std::map< Ogre::Real, Ogre::Real > mKeyFrames
Key frames.
Definition: ProceduralTrack.h:59
Ogre::SimpleSpline
Procedural::Utils::angleBetween
static Ogre::Radian angleBetween(const Ogre::Vector2 &v1, const Ogre::Vector2 &v2)
Equivalent of Ogre::Vector3::angleBetween, applied to Ogre::Vector2.
Definition: ProceduralUtils.h:131
Procedural::Dilate::Dilate
Dilate(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1238
Procedural::CapsuleGenerator::CapsuleGenerator
CapsuleGenerator()
Default constructor.
Definition: ProceduralCapsuleGenerator.h:55
Procedural::BezierCurve2
Builds a shape from a Bezier-Curve.
Definition: ProceduralShapeGenerators.h:506
Procedural::RoundedBoxGenerator::setSize
RoundedBoxGenerator & setSize(Ogre::Vector3 size)
Sets the size (default=1,1,1)
Definition: ProceduralRoundedBoxGenerator.h:90
Procedural::Track::AM_RELATIVE_LINEIC
@ AM_RELATIVE_LINEIC
Definition: ProceduralTrack.h:49
Procedural::EllipseShape::EllipseShape
EllipseShape()
Default constructor.
Definition: ProceduralShapeGenerators.h:319
Procedural::MultiShape::addShape
MultiShape & addShape(const Shape &shape)
Adds a shape to the list of shapes.
Definition: ProceduralMultiShape.h:65
Procedural::TriangleBuffer::mCurrentVertex
Vertex * mCurrentVertex
Definition: ProceduralTriangleBuffer.h:65
Procedural::Extruder::setShapeToExtrude
Extruder & setShapeToExtrude(const Shape *shapeToExtrude)
Sets the shape to extrude.
Definition: ProceduralExtruder.h:78
Procedural::MultiShape::getShape
Shape & getShape(unsigned int i)
Returns the i-th shape.
Definition: ProceduralMultiShape.h:84
Procedural::TriangleBuffer::textureCoord
TriangleBuffer & textureCoord(float u, float v)
Sets the texture coordinates of the current vertex.
Definition: ProceduralTriangleBuffer.h:201
Procedural::CatmullRomSpline2
Builds a shape from a Catmull-Rom Spline.
Definition: ProceduralShapeGenerators.h:113
Procedural::MeshGenerator::addToTriangleBuffer
virtual void addToTriangleBuffer(TriangleBuffer &buffer) const =0
Overloaded by each generator to implement the specifics.
Procedural::Segment2D::Segment2D
Segment2D()
Definition: ProceduralGeometryHelpers.h:145
Procedural::MultiShape
Definition: ProceduralMultiShape.h:44
Procedural::EllipseShape::setRadiusX
EllipseShape & setRadiusX(Ogre::Real radius)
Sets radius in x direction.
Definition: ProceduralShapeGenerators.h:323
Procedural::ConeGenerator::setNumSegHeight
ConeGenerator & setNumSegHeight(unsigned int numSegHeight)
Sets the number of segments on the height (default=1)
Definition: ProceduralConeGenerator.h:78
Procedural::CubicHermiteSpline2::addPoint
CubicHermiteSpline2 & addPoint(const Ogre::Vector2 &p, const Ogre::Vector2 &tangent)
Adds a control point.
Definition: ProceduralShapeGenerators.h:60
Ogre::SimpleSpline::addPoint
void addPoint(const Vector3 &p)
Ogre::Matrix4
Ogre::Image
Procedural::MultiPath::setPath
void setPath(unsigned int i, const Path &path)
Definition: ProceduralPath.h:388
Procedural::TorusGenerator
Definition: ProceduralTorusGenerator.h:41
Procedural::TriangleBuffer::getIndices
const std::vector< int > & getIndices() const
Gets a non-modifiable reference to indices.
Definition: ProceduralTriangleBuffer.h:134
Procedural::SphereGenerator::setNumRings
SphereGenerator & setNumRings(unsigned int numRings)
Sets the number of rings (default=16)
Definition: ProceduralSphereGenerator.h:70
OgreVector2.h
Procedural::Shape::findBoundingRadius
Ogre::Real findBoundingRadius() const
Computes the radius of a bounding circle centered on the origin.
Definition: ProceduralShape.h:597
Procedural::PrismGenerator::PrismGenerator
PrismGenerator(Ogre::Real radius=1.f, Ogre::Real height=1.f, unsigned int numSides=3, unsigned int numSegHeight=1, bool capped=true)
Contructor with arguments.
Definition: ProceduralPrismGenerator.h:52
Vector< 3, Real >::normalisedCopy
Vector normalisedCopy() const
Procedural::Plane::Plane
Plane()
Definition: ProceduralGeometryHelpers.h:69
OgreVector3.h
Procedural::RoundedBoxGenerator::setChamferSize
RoundedBoxGenerator & setChamferSize(Ogre::Real chamferSize)
Sets the size of the chamfer, ie the radius of the rounded part.
Definition: ProceduralRoundedBoxGenerator.h:138
Procedural::IcoSphereGenerator::IcoSphereGenerator
IcoSphereGenerator(Ogre::Real radius=1.f, unsigned int numIterations=2)
Contructor with arguments.
Definition: ProceduralIcoSphereGenerator.h:48
Procedural::CubicHermiteSpline2::addPoint
CubicHermiteSpline2 & addPoint(const Ogre::Vector2 &p, const Ogre::Vector2 &before, const Ogre::Vector2 &after)
Adds a control point.
Definition: ProceduralShapeGenerators.h:54
Procedural::Utils::binom
static unsigned int binom(unsigned int a, unsigned int b)
binomial coefficients (a over b)
Definition: ProceduralUtils.h:187
Procedural::Shape::mirror
Shape & mirror(Ogre::Real x, Ogre::Real y, bool flip=false)
Create a symetric copy at a given point.
Definition: ProceduralShape.h:494
Procedural::Shape::reset
Shape & reset()
Clears the content of the shape.
Definition: ProceduralShape.h:167
Procedural::TriangleShape::setLengthA
TriangleShape & setLengthA(Ogre::Real length)
Sets length of edge A.
Definition: ProceduralShapeGenerators.h:393
Procedural::CircleShape
Builds a circular shape.
Definition: ProceduralShapeGenerators.h:264
Procedural::Cycloid::HYPOTROCHOID
@ HYPOTROCHOID
Draw a Hypotrochoid.
Definition: ProceduralTextureModifiers.h:1110
Ogre::Exception::ERR_INVALIDPARAMS
ERR_INVALIDPARAMS
Procedural::RoundedBoxGenerator::setNumSegY
RoundedBoxGenerator & setNumSegY(unsigned short numSegY)
Sets the number of segments along Y axis (default=1)
Definition: ProceduralRoundedBoxGenerator.h:114
Procedural::CylinderUVModifier::setRadius
CylinderUVModifier & setRadius(Ogre::Real radius)
Definition: ProceduralMeshModifiers.h:347
Procedural::TorusKnotGenerator::setQ
TorusKnotGenerator & setQ(int q)
Sets the q parameter of the knot (default=3)
Definition: ProceduralTorusKnotGenerator.h:129
intensity
float intensity
Procedural::CubicHermiteSpline3::safeGetPoint
const ControlPoint & safeGetPoint(unsigned int i) const
Safely gets a control point.
Definition: ProceduralPathGenerators.h:149
Procedural::CircleTexture
Draw a circle.
Definition: ProceduralTextureModifiers.h:548
Procedural::Lookup
Copy pixels from base input (x, y) to given coordinates from parameter image (red,...
Definition: ProceduralTextureModifiers.h:1974
Procedural::Triangle3D::Triangle3D
Triangle3D(const Ogre::Vector3 &a, const Ogre::Vector3 &b, const Ogre::Vector3 &c)
Definition: ProceduralGeometryHelpers.h:233
Procedural::Extruder::setShapeTextureTrack
Extruder & setShapeTextureTrack(const Track *shapeTextureTrack, unsigned int index=0)
Sets the track that maps shape points to V texture coords (optional).
Definition: ProceduralExtruder.h:133
Procedural::TriangleBuffer::Section::buffer
TriangleBuffer * buffer
Definition: ProceduralTriangleBuffer.h:55
TRect< Real >::top
Real top
Procedural::TextureBuffer
class to store image data while processing
Definition: ProceduralTextureBuffer.h:50
Procedural::Threshold
Simple threshold filter.
Definition: ProceduralTextureModifiers.h:2815
Procedural::TriangleBuffer::mSections
std::map< std::string, Section > mSections
Definition: ProceduralTriangleBuffer.h:67
Procedural::Flip::FLIP_HORIZONTAL
@ FLIP_HORIZONTAL
Flip horizontal.
Definition: ProceduralTextureModifiers.h:1562
Procedural::Shape::getPointsReference
const std::vector< Ogre::Vector2 > & getPointsReference() const
Gets raw vector data of this shape as a non-const reference.
Definition: ProceduralShape.h:192
Procedural::Utils::rotateVector2
static Ogre::Vector2 rotateVector2(const Ogre::Vector2 &in, Ogre::Radian angle)
Definition: ProceduralUtils.h:104
Procedural::UnweldVerticesModifier
Switches the triangle buffer from indexed triangles to (pseudo) triangle list It can be used if you w...
Definition: ProceduralMeshModifiers.h:216
Procedural::MeshUVTransform
Linear transforms on a mesh's UVs.
Definition: ProceduralMeshModifiers.h:64
Procedural::Combine::METHOD_BLEND
@ METHOD_BLEND
Definition: ProceduralTextureModifiers.h:776
Procedural::TorusGenerator::setNumSegCircle
TorusGenerator & setNumSegCircle(unsigned int numSegCircle)
Sets the number of segments along the guiding circle.
Definition: ProceduralTorusGenerator.h:77
Procedural::Shape::close
Shape & close()
Makes the shape a closed shape, ie it will automatically connect the last point to the first point.
Definition: ProceduralShape.h:222
Procedural::TriangleShape::setLengthB
TriangleShape & setLengthB(Ogre::Real length)
Sets length of edge B.
Definition: ProceduralShapeGenerators.h:406
Procedural::TriangleBuffer::Section::mSectionName
std::string mSectionName
Definition: ProceduralTriangleBuffer.h:50
Procedural::Boolean::setMesh1
Boolean & setMesh1(TriangleBuffer *tb)
Definition: ProceduralBoolean.h:50
Procedural::PlaneUVModifier::setPlaneCenter
PlaneUVModifier & setPlaneCenter(const Ogre::Vector3 &planeCenter)
Definition: ProceduralMeshModifiers.h:260
Procedural::ConeGenerator::setRadius
ConeGenerator & setRadius(Ogre::Real radius)
Sets the base radius (default=1)
Definition: ProceduralConeGenerator.h:90
Procedural::TextureBuffer::getWidth
Ogre::uint getWidth() const
Get the width of the stored image in px.
Definition: ProceduralTextureBuffer.h:288
Procedural::Lathe::setShapeToExtrude
Lathe & setShapeToExtrude(Shape *shapeToExtrude)
Sets the shape to extrude If a multishape is already defined, auto-disables it The shape is assumed t...
Definition: ProceduralLathe.h:110
Procedural::MeshGenerator::mTransform
bool mTransform
Definition: ProceduralMeshGenerator.h:87
Procedural::TubeGenerator::setHeight
TubeGenerator & setHeight(Ogre::Real height)
Sets the height of the tube (default=1)
Definition: ProceduralTubeGenerator.h:122
Procedural::TriangleBuffer::transformToMesh
Ogre::MeshPtr transformToMesh(const std::string &name, const Ogre::String &group="General") const
Builds an Ogre Mesh from this buffer.
Procedural::Cycloid::EPICYCLOID
@ EPICYCLOID
Draw a Epicycloid.
Definition: ProceduralTextureModifiers.h:1111
Procedural::Extruder
Extrudes a 2D shape along a path to build an extruded mesh.
Definition: ProceduralExtruder.h:50
Procedural::TubeGenerator::setNumSegHeight
TubeGenerator & setNumSegHeight(unsigned int numSegHeight)
Sets the number of segments along the height of the cylinder (default=1)
Definition: ProceduralTubeGenerator.h:80
Procedural::HemisphereUVModifier::setTextureRectangleTop
HemisphereUVModifier & setTextureRectangleTop(const Ogre::RealRect &textureRectangleTop)
Definition: ProceduralMeshModifiers.h:314
Procedural::Path::getDirectionAfter
Ogre::Vector3 getDirectionAfter(unsigned int i) const
Returns local direction after the current point.
Definition: ProceduralPath.h:178
Procedural::BezierCurve2::setNumSeg
BezierCurve2 & setNumSeg(unsigned int numSeg)
Sets number of segments per two control points.
Definition: ProceduralShapeGenerators.h:517
Procedural::PrismGenerator
Definition: ProceduralPrismGenerator.h:42
Procedural::EllipseTexture
Draw an ellipse.
Definition: ProceduralTextureModifiers.h:1395
Procedural::CircleTexture::CircleTexture
CircleTexture(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:561
Procedural::TriangleBuffer::vertex
TriangleBuffer & vertex(const Vertex &v)
Adds a new vertex to the buffer.
Definition: ProceduralTriangleBuffer.h:154
Procedural::MeshGenerator::setOrientation
T & setOrientation(const Ogre::Quaternion &orientation)
Sets an orientation to give when building the mesh.
Definition: ProceduralMeshGenerator.h:193
Ogre::Math::Sqrt
static Degree Sqrt(const Degree &fValue)
Procedural::Path::scale
Path & scale(const Ogre::Vector3 &amount)
Applies the given scale to all the points already defined.
Definition: ProceduralPath.h:303
Procedural::MeshGenerator::setTextureRectangle
T & setTextureRectangle(const Ogre::RealRect &textureRectangle)
Sets the texture rectangle.
Definition: ProceduralMeshGenerator.h:159
operator<
bool operator<(const ComPtr< T > &a, const ComPtr< T > &b) ASSUME_NOEXCEPT
Procedural::RoundedBoxGenerator
Definition: ProceduralRoundedBoxGenerator.h:42
Procedural::KochanekBartelsSplineControlPoint::continuity
Ogre::Real continuity
Continuity of the control point.
Definition: ProceduralSplines.h:142
Procedural::Gradient::Gradient
Gradient(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureGenerator.h:242
type
ExpressionType type
Ogre::ColourValue::b
float b
Procedural::Cell::PATTERN_CROSS
@ PATTERN_CROSS
Construct cells from vertices.
Definition: ProceduralTextureGenerator.h:85
Procedural::Noise::NOISE_TYPE
NOISE_TYPE
Noise generator type.
Definition: ProceduralTextureGenerator.h:497
Procedural::Segment::Segment
Segment(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:2552
Procedural::SIDE_RIGHT
@ SIDE_RIGHT
Definition: ProceduralShape.h:48
Procedural::Path::addPoint
Path & addPoint(const Ogre::Vector3 &pt)
Adds a point to the path, as a Vector3.
Definition: ProceduralPath.h:62
Procedural::BezierCurve2::BezierCurve2
BezierCurve2()
Default constructor.
Definition: ProceduralShapeGenerators.h:513
Procedural::TriangleBuffer::position
TriangleBuffer & position(Ogre::Real x, Ogre::Real y, Ogre::Real z)
Adds a new vertex to the buffer.
Definition: ProceduralTriangleBuffer.h:184
setPosition
void setPosition(const Vector3 &position, bool doUpdate=true)
Procedural::RoundedBoxGenerator::setSizeZ
RoundedBoxGenerator & setSizeZ(Ogre::Real sizeZ)
Sets the size of the box along Z axis.
Definition: ProceduralRoundedBoxGenerator.h:81
OgreLogManager.h
Procedural::Segment3D::Segment3D
Segment3D(Ogre::Vector3 a, Ogre::Vector3 b)
Contructor with arguments.
Definition: ProceduralGeometryHelpers.h:198
Procedural::Glow::Glow
Glow(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1621
Procedural::Utils::vectorAntiPermute
static Ogre::Vector3 vectorAntiPermute(const Ogre::Vector3 &in)
Shifts the components of the vector to the left.
Definition: ProceduralUtils.h:98
Procedural::MeshGenerator::mNumTexCoordSet
unsigned char mNumTexCoordSet
The number of texture coordinate sets to include.
Definition: ProceduralMeshGenerator.h:67
Procedural::Flip
Flip the image.
Definition: ProceduralTextureModifiers.h:1556
getPosition
const Vector3 & getPosition() const
Ogre::AxisAlignedBox
Procedural::KochanekBartelsSplineControlPoint::tension
Ogre::Real tension
Tension of the control point.
Definition: ProceduralSplines.h:136
Procedural::Cycloid::PARAMETER_d
@ PARAMETER_d
Set parameter d.
Definition: ProceduralTextureModifiers.h:1124
Procedural::HemisphereUVModifier::setTextureRectangleBottom
HemisphereUVModifier & setTextureRectangleBottom(const Ogre::RealRect &textureRectangleBottom)
Definition: ProceduralMeshModifiers.h:320
Ogre::Quaternion::IDENTITY
static const Quaternion IDENTITY
Procedural::Track::mInsertPoint
bool mInsertPoint
Tells whether we should add new points to principal curve if a key is defined here but not on princip...
Definition: ProceduralTrack.h:56
Ogre::Quaternion
Procedural::CubicHermiteSpline2::getPointCount
const size_t getPointCount() const
Gets the number of control points.
Definition: ProceduralShapeGenerators.h:96
Procedural::TriangleBuffer::estimateIndexCount
void estimateIndexCount(unsigned int indexCount)
Gives an estimation of the number of indices needed for this triangle buffer.
Definition: ProceduralTriangleBuffer.h:329
Procedural::Segment3D
Represents a 3D segment.
Definition: ProceduralGeometryHelpers.h:191
Procedural::EllipseTexture::EllipseTexture
EllipseTexture(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1409
Procedural::Abnormals::ABNORMALS_MIRROR
ABNORMALS_MIRROR
Methods how to fix broken normal maps.
Definition: ProceduralTextureModifiers.h:88
Procedural::MeshLinearTransform::setTranslation
MeshLinearTransform & setTranslation(const Ogre::Vector3 &translation)
Definition: ProceduralMeshModifiers.h:48
Procedural::CalculateNormalsModifier::NormalComputeMode
NormalComputeMode
Definition: ProceduralMeshModifiers.h:148
Procedural::CylinderUVModifier
Definition: ProceduralMeshModifiers.h:328
Procedural::TriangleBuffer
This is ogre-procedural's temporary mesh buffer.
Definition: ProceduralTriangleBuffer.h:39
Procedural::OilPaint::OilPaint
OilPaint(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:2082
Procedural::Blur::BLUR_TYPE
BLUR_TYPE
List of algorithms to blur.
Definition: ProceduralTextureModifiers.h:430
Procedural::Jitter
Exchange pixels at random positions.
Definition: ProceduralTextureModifiers.h:1727
Procedural::Cell::PATTERN_BOTH
@ PATTERN_BOTH
PATTERN_CROSS | PATTERN_CONE.
Definition: ProceduralTextureGenerator.h:84
Ogre
Procedural::Line::Line
Line()
Definition: ProceduralGeometryHelpers.h:91
Procedural::MeshUVTransform::setSwitchUV
MeshUVTransform & setSwitchUV(bool switchUV)
Definition: ProceduralMeshModifiers.h:86
Procedural::MultiPath
Definition: ProceduralPath.h:348
Procedural::MeshLinearTransform::MeshLinearTransform
MeshLinearTransform()
Definition: ProceduralMeshModifiers.h:44
Procedural::Blur
Reduce sharpness on input image.
Definition: ProceduralTextureModifiers.h:426
Procedural::Line2D::Line2D
Line2D()
Definition: ProceduralGeometryHelpers.h:116
Procedural::TorusGenerator::setRadius
TorusGenerator & setRadius(Ogre::Real radius)
Sets the radius of the guiding circle.
Definition: ProceduralTorusGenerator.h:89
Procedural::CylinderGenerator::setRadius
CylinderGenerator & setRadius(Ogre::Real radius)
Sets the radius of the cylinder (default=1)
Definition: ProceduralCylinderGenerator.h:100
Procedural::MultiShape::MultiShape
MultiShape(const Shape &shape)
Constructor from a single shape.
Definition: ProceduralMultiShape.h:54
Procedural::BezierCurve2::addPoint
BezierCurve2 & addPoint(const Ogre::Vector2 &pt)
Adds a control point.
Definition: ProceduralShapeGenerators.h:526
Procedural::Shape::insertPoint
Shape & insertPoint(size_t index, const Ogre::Vector2 &pt)
Inserts a point to the shape.
Definition: ProceduralShape.h:94
result
bool result
Procedural::BoxUVModifier::MT_PACKED
@ MT_PACKED
Definition: ProceduralMeshModifiers.h:366
Procedural::Sharpen::SHARP_BASIC
@ SHARP_BASIC
Use simplified block filter to sharp.
Definition: ProceduralTextureModifiers.h:2603
Procedural::Blit::Blit
Blit(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:305
Procedural::Cycloid::EPITROCHOID
@ EPITROCHOID
Draw a Epitrochoid.
Definition: ProceduralTextureModifiers.h:1112
Procedural::CircleShape::setRadius
CircleShape & setRadius(Ogre::Real radius)
Sets radius.
Definition: ProceduralShapeGenerators.h:275
Procedural::SpherifyModifier::setInputTriangleBuffer
SpherifyModifier & setInputTriangleBuffer(TriangleBuffer *inputTriangleBuffer)
Definition: ProceduralMeshModifiers.h:111
Procedural::Track::AddressingMode
AddressingMode
Defines addressing mode for the track ABSOLUTE_LINEIC : use the distance from the start of the princi...
Definition: ProceduralTrack.h:47
Procedural::Extruder::setMultiShapeToExtrude
Extruder & setMultiShapeToExtrude(const MultiShape *multiShapeToExtrude)
Sets the multishape to extrude.
Definition: ProceduralExtruder.h:86
u
TextureAddressingMode u
Procedural::PrismGenerator::setNumSides
PrismGenerator & setNumSides(unsigned int numSides)
Sets the number of prism sides (default=3)
Definition: ProceduralPrismGenerator.h:83
Procedural::WeldVerticesModifier::mTolerance
Ogre::Real mTolerance
Definition: ProceduralMeshModifiers.h:192
Vector< 2, Real >::dotProduct
Real dotProduct(const VectorBase< dims, Real > &vec) const
Procedural::CircleShape::realizeShape
Shape realizeShape()
Builds the shape.
Definition: ProceduralShapeGenerators.h:294
Procedural::SphereGenerator::setNumSegments
SphereGenerator & setNumSegments(unsigned int numSegments)
Sets the number of segments (default=16)
Definition: ProceduralSphereGenerator.h:82
Procedural::Shape::scale
Shape & scale(Ogre::Real amount)
Applies the given scale to all the points already defined.
Definition: ProceduralShape.h:435
Procedural::LinePath::setPoint2
LinePath & setPoint2(Ogre::Vector3 point2)
Sets second point.
Definition: ProceduralPathGenerators.h:187
Procedural::MultiPath::PathCoordinate::pointIndex
unsigned int pointIndex
Definition: ProceduralPath.h:354
Procedural::LinePath::LinePath
LinePath()
Default constructor.
Definition: ProceduralPathGenerators.h:177
Procedural::TriangleBuffer::append
void append(const TriangleBuffer &other)
Definition: ProceduralTriangleBuffer.h:74
Procedural::Extruder::setScaleTrack
Extruder & setScaleTrack(const Track *scaleTrack, unsigned int index=0)
Sets the scale track (optional)
Definition: ProceduralExtruder.h:122
Procedural::TorusGenerator::TorusGenerator
TorusGenerator(Ogre::Real radius=1.f, Ogre::Real sectionRadius=.2f, unsigned int numSegSection=16, unsigned int numSegCircle=16)
Constructor with arguments.
Definition: ProceduralTorusGenerator.h:49
Procedural::MeshGenerator::addPoint
void addPoint(TriangleBuffer &buffer, const Ogre::Vector3 &position, const Ogre::Vector3 &normal, const Ogre::Vector2 &uv) const
Adds a new point to a triangle buffer, using the format defined for that MeshGenerator.
Definition: ProceduralMeshGenerator.h:257
Procedural::Triangle3D
Represents a 3D triangle.
Definition: ProceduralGeometryHelpers.h:229
Procedural::RandomPixels
Draw a number of pixels at random positions.
Definition: ProceduralTextureModifiers.h:2241
Procedural::TriangleBuffer::rotate
TriangleBuffer & rotate(Ogre::Quaternion quat)
Applies the rotation immediately to all the points contained in that triangle buffer.
Definition: ProceduralTriangleBuffer.h:267
Procedural::Textile::Textile
Textile(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureGenerator.h:622
Procedural::RoundedCornerSpline3
Produces a path by rounding corners of a straight-lines path.
Definition: ProceduralPathGenerators.h:227
Procedural::Segment3D::mB
Ogre::Vector3 mB
Definition: ProceduralGeometryHelpers.h:194
Procedural::LinePath
Builds a line Path between 2 points.
Definition: ProceduralPathGenerators.h:170
Procedural::Path::extractSubPath
Path extractSubPath(unsigned int first, unsigned int last)
Extracts a part of the shape as a new path.
Definition: ProceduralPath.h:324
OgreManualObject.h
Procedural::Segment2D::mA
Ogre::Vector2 mA
Definition: ProceduralGeometryHelpers.h:142
Procedural::PrismGenerator::setNumSegHeight
PrismGenerator & setNumSegHeight(unsigned int numSegHeight)
Sets the number of segments along the height of the prism (default=1)
Definition: ProceduralPrismGenerator.h:95
Procedural::BaseSpline2::close
T & close()
Closes the spline.
Definition: ProceduralShapeGeneratorsBase.h:79
Procedural::MeshGenerator::setUTile
T & setUTile(Ogre::Real uTile)
Sets U Tile, ie the number by which u texture coordinates are multiplied (default=1)
Definition: ProceduralMeshGenerator.h:141
Procedural::BoxGenerator::setSizeX
BoxGenerator & setSizeX(Ogre::Real sizeX)
Sets size along X axis (default=1)
Definition: ProceduralBoxGenerator.h:56
Procedural::Utils::max
static Ogre::Vector3 max(const Ogre::Vector3 &v1, const Ogre::Vector3 &v2)
Gets the max of the coordinates between 2 vectors.
Definition: ProceduralUtils.h:54
Procedural::Circle
Represents a 2D circle.
Definition: ProceduralGeometryHelpers.h:41
Procedural::EdgeDetection::DETECTION_SOBEL
@ DETECTION_SOBEL
Sobel edge detector.
Definition: ProceduralTextureModifiers.h:1329
Procedural::Shape::reverse
Shape & reverse()
Reverses direction of the shape The outside is preserved.
Definition: ProceduralShape.h:159
Procedural::Flip::FLIP_AXIS
FLIP_AXIS
Flip axis selection.
Definition: ProceduralTextureModifiers.h:1560
Procedural::PlaneUVModifier::setPlaneSize
PlaneUVModifier & setPlaneSize(const Ogre::Vector2 &planeSize)
Definition: ProceduralMeshModifiers.h:266
Procedural::BaseSpline2::setOutSide
T & setOutSide(Side outSide)
Sets the out side of the shape.
Definition: ProceduralShapeGeneratorsBase.h:56
Procedural::HelixPath::setRadius
HelixPath & setRadius(Ogre::Real radius)
Sets the radius of the helix (default = 1.0)
Definition: ProceduralSpringGenerator.h:66
intersects
static bool intersects(const Plane &plane, const AxisAlignedBox &box)
Ogre::Exception::ERR_INVALID_STATE
ERR_INVALID_STATE
Procedural::RoundedBoxGenerator::setNumSegX
RoundedBoxGenerator & setNumSegX(unsigned short numSegX)
Sets the number of segments along X axis (default=1)
Definition: ProceduralRoundedBoxGenerator.h:102
Procedural::RoundedCornerSpline3::setRadius
RoundedCornerSpline3 & setRadius(Ogre::Real radius)
Sets the radius of the corners (default = 0.1)
Definition: ProceduralPathGenerators.h:238
Procedural::BezierCurve3
Builds a path from a Bezier-Curve.
Definition: ProceduralPathGenerators.h:283
Procedural::CapsuleGenerator::setRadius
CapsuleGenerator & setRadius(Ogre::Real radius)
Sets the radius of the cylinder part (default=1)
Definition: ProceduralCapsuleGenerator.h:73
Procedural::CubicHermiteSpline3::addPoint
CubicHermiteSpline3 & addPoint(const Ogre::Vector3 &p, CubicHermiteSplineAutoTangentMode autoTangentMode=AT_CATMULL)
Adds a control point.
Definition: ProceduralPathGenerators.h:129
Procedural::Shape::appendShape
Shape & appendShape(const Shape &other)
Appends another shape at the end of this one.
Definition: ProceduralShape.h:121
Ogre::Matrix3
Procedural::CatmullRomSpline3::CatmullRomSpline3
CatmullRomSpline3(const Ogre::SimpleSpline &input)
Copy constructor from an Ogre simplespline.
Definition: ProceduralPathGenerators.h:55
Procedural::TriangleBuffer::Section::mFirstIndex
unsigned int mFirstIndex
Definition: ProceduralTriangleBuffer.h:51
Procedural::MeshGenerator::realizeMesh
Ogre::MeshPtr realizeMesh(const std::string &name="", const Ogre::String &group="General")
Builds a mesh.
Definition: ProceduralMeshGenerator.h:110
OgreException.h
Procedural::ShowNormalsGenerator::VS_LINE
@ VS_LINE
Definition: ProceduralDebugRendering.h:43
Procedural::Lathe
Builds a mesh by rotating a shape 360 degrees around Y-axis.
Definition: ProceduralLathe.h:42
Procedural::MeshGenerator::mUTile
Ogre::Real mUTile
A pointer to the default scene manager.
Definition: ProceduralMeshGenerator.h:58
Ogre::uchar
unsigned char uchar
Procedural::RectangleShape::RectangleShape
RectangleShape()
Default constructor.
Definition: ProceduralShapeGenerators.h:224
Procedural::IcoSphereGenerator::setNumIterations
IcoSphereGenerator & setNumIterations(unsigned int numIterations)
Sets the number of iterations needed to build the sphere mesh.
Definition: ProceduralIcoSphereGenerator.h:77
Procedural::Utils::reframe
static Ogre::Vector2 reframe(const Ogre::RealRect &rect, const Ogre::Vector2 &input)
Transforms an input vector expressed in the 0,0->1,1 rect towards another rect.
Definition: ProceduralUtils.h:201
Procedural::RoundedCornerSpline3::getPointCount
const size_t getPointCount() const
Gets the number of control points.
Definition: ProceduralPathGenerators.h:267
Ogre::StringConverter::toString
static String toString(bool val, bool yesNo=false)
Procedural::MultiPath::addPath
MultiPath & addPath(const Path &path)
Definition: ProceduralPath.h:375
Procedural::MultiShape::getShape
const Shape & getShape(unsigned int i) const
Returns the i-th shape.
Definition: ProceduralMultiShape.h:78
Procedural::MultiPath::getNoIntersectionParts
std::vector< std::pair< unsigned int, unsigned int > > getNoIntersectionParts(unsigned int pathIndex) const
Definition: ProceduralPath.h:414
Procedural::Circle::isPointInside
bool isPointInside(const Ogre::Vector2 &p) const
Tells whether that point is inside the circle or not.
Definition: ProceduralGeometryHelpers.h:59
Procedural::TriangleBuffer::Section::mLastIndex
unsigned int mLastIndex
Definition: ProceduralTriangleBuffer.h:52
Procedural::BaseSpline3::mClosed
bool mClosed
Tells if the spline is closed or not.
Definition: ProceduralPathGeneratorsBase.h:48
Procedural::Combine
Combine inputs together.
Definition: ProceduralTextureModifiers.h:764
Procedural::Shape::getBoundedIndex
unsigned int getBoundedIndex(int i) const
Definition: ProceduralShape.h:205
Procedural::Boolean
Definition: ProceduralBoolean.h:35
Procedural::SpringGenerator::SpringGenerator
SpringGenerator(Ogre::Real height=1.f, Ogre::Real radiusHelix=1.f, Ogre::Real radiusCircle=0.2f, Ogre::Real numRound=5.0, int numSegPath=10, int numSegCircle=8)
Contructor with arguments.
Definition: ProceduralSpringGenerator.h:114
Procedural::RoundedCornerSpline3::addPoint
RoundedCornerSpline3 & addPoint(Ogre::Real x, Ogre::Real y, Ogre::Real z)
Adds a control point.
Definition: ProceduralPathGenerators.h:252
Procedural::CylinderGenerator::setCapped
CylinderGenerator & setCapped(bool capped)
Sets whether the cylinder has endings or not (default=true)
Definition: ProceduralCylinderGenerator.h:90
Procedural::TextureBufferPtr
TextureBuffer * TextureBufferPtr
Type for a TextureBuffer pointer.
Definition: ProceduralTextureBuffer.h:40
OgreMath.h
Procedural::Channel::SELECT_GREEN
@ SELECT_GREEN
Definition: ProceduralTextureModifiers.h:504
Procedural::CatmullRomSpline2::getPointCount
const size_t getPointCount() const
Gets the number of control points.
Definition: ProceduralShapeGenerators.h:140
Procedural::Cycloid
Draw a cycloid.
Definition: ProceduralTextureModifiers.h:1101
Procedural::KochanekBartelsSplineControlPoint::bias
Ogre::Real bias
Bias of the control point.
Definition: ProceduralSplines.h:139
Procedural::CylinderGenerator::CylinderGenerator
CylinderGenerator(Ogre::Real radius=1.f, Ogre::Real height=1.f, unsigned int numSegBase=16, unsigned int numSegHeight=1, bool capped=true)
Contructor with arguments.
Definition: ProceduralCylinderGenerator.h:51
Procedural::SphereGenerator
Definition: ProceduralSphereGenerator.h:41
Procedural::EdgeDetection::DETECTION_TYPE
DETECTION_TYPE
List of algorithms used for edge detection.
Definition: ProceduralTextureModifiers.h:1325
Procedural::RectangleShape
Builds a rectangular shape.
Definition: ProceduralShapeGenerators.h:218
Ogre::AxisAlignedBox::getMaximum
Vector3 & getMaximum(void)
Procedural::Cycloid::PARAMETER_e
@ PARAMETER_e
Set parameter e.
Definition: ProceduralTextureModifiers.h:1125
Procedural::Utils::vectorPermute
static Ogre::Vector3 vectorPermute(const Ogre::Vector3 &in)
Shifts the components of the vector to the right.
Definition: ProceduralUtils.h:92
Procedural::Colours
A colour filter.
Definition: ProceduralTextureModifiers.h:664
Procedural::Threshold::MODE_EXPAND_DOWNWARDS
@ MODE_EXPAND_DOWNWARDS
Set pixel below threshould value to black.
Definition: ProceduralTextureModifiers.h:2821
Procedural::AT_STRAIGHT
@ AT_STRAIGHT
Definition: ProceduralSplines.h:37
Procedural::EllipseShape::realizeShape
Shape realizeShape()
Builds the shape.
Definition: ProceduralShapeGenerators.h:352
Procedural::TriangleBuffer::applyTransform
TriangleBuffer & applyTransform(const Ogre::Matrix4 &matrix)
Applies a matrix to transform all vertices inside the triangle buffer.
Definition: ProceduralTriangleBuffer.h:237
Procedural::CylinderGenerator
Definition: ProceduralCylinderGenerator.h:41
Vector< 3, Real >
Procedural::TextureProcessing::~TextureProcessing
virtual ~TextureProcessing()
Definition: ProceduralTextureBuffer.h:347
Procedural::AlphaMask
Use alpha channel as an mask for an other image.
Definition: ProceduralTextureModifiers.h:243
Procedural::Track::Track
Track(AddressingMode addressingMode=AM_RELATIVE_LINEIC, bool insertPoint=true)
Default constructor.
Definition: ProceduralTrack.h:63
Procedural::MeshGenerator::mSwitchUV
bool mSwitchUV
If set to true, the UV coordinates coming from the mesh generator will be switched.
Definition: ProceduralMeshGenerator.h:75
Procedural::ShowNormalsGenerator::setTriangleBuffer
ShowNormalsGenerator & setTriangleBuffer(TriangleBuffer *triangleBuffer)
Sets the input Triangle Buffer.
Definition: ProceduralDebugRendering.h:56
Procedural::Cycloid::PARAMETER_r
@ PARAMETER_r
Set parameter r.
Definition: ProceduralTextureModifiers.h:1123
Procedural::BaseSpline2::mOutSide
Side mOutSide
The "out" side of the shape.
Definition: ProceduralShapeGeneratorsBase.h:50
Procedural::Path::getDirectionBefore
Ogre::Vector3 getDirectionBefore(unsigned int i) const
Returns local direction after the current point.
Definition: ProceduralPath.h:191
Procedural::Noise::NOISE_WHITE
@ NOISE_WHITE
White noise.
Definition: ProceduralTextureGenerator.h:499
Procedural::RoundedCornerSpline2::getPointCount
const size_t getPointCount() const
Gets the number of control points.
Definition: ProceduralShapeGenerators.h:489
Procedural::Crack::CRACK_LENGTH_DECISION
CRACK_LENGTH_DECISION
Methods how to create line length.
Definition: ProceduralTextureModifiers.h:970
Procedural::SphereGenerator::setRadius
SphereGenerator & setRadius(Ogre::Real radius)
Sets the radius of the sphere (default=1)
Definition: ProceduralSphereGenerator.h:58
Procedural::Cell::CELL_MODE
CELL_MODE
Mode how to paint cells.
Definition: ProceduralTextureGenerator.h:75
Procedural::Track::getAddressingMode
AddressingMode getAddressingMode() const
Gets addressing mode of the curve.
Definition: ProceduralTrack.h:66
Ogre::ColourValue::g
float g
Ogre::SimpleSpline::getNumPoints
unsigned short getNumPoints(void) const
Ogre::Quaternion::normalise
Real normalise(void)
Procedural::Track
Represents a curve by interpolating between a list of key/values.
Definition: ProceduralTrack.h:40
Procedural::BaseSpline3::close
T & close()
Closes the spline.
Definition: ProceduralPathGeneratorsBase.h:63
value
int32 value
Procedural::Cloud::Cloud
Cloud(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureGenerator.h:185
Procedural::ConeGenerator::ConeGenerator
ConeGenerator(Ogre::Real radius=1.f, Ogre::Real height=1.f, unsigned int numSegBase=16, unsigned int numSegHeight=1)
Contructor with arguments.
Definition: ProceduralConeGenerator.h:49
Procedural::HemisphereUVModifier::setInputTriangleBuffer
HemisphereUVModifier & setInputTriangleBuffer(TriangleBuffer *inputTriangleBuffer)
Definition: ProceduralMeshModifiers.h:308
Procedural::Lookup::Lookup
Lookup(TextureBufferPtr pBuffer)
Default constructor.
Definition: ProceduralTextureModifiers.h:1984
Procedural::Segment3D::Segment3D
Segment3D()
Definition: ProceduralGeometryHelpers.h:195
Procedural::BoxGenerator
Definition: ProceduralBoxGenerator.h:42
Procedural::BezierCurve3::getPointCount
const size_t getPointCount() const
Gets the number of control points.
Definition: ProceduralPathGenerators.h:325