8 #include "maths/Rotation.h" 9 #include <ogr_geometry.h> 19 friend class boost::serialization::access;
20 template<
class Archive>
21 void serialize(Archive &ar,
const unsigned int version)
75 std::shared_ptr<LadLut>
ladlut =
nullptr;
90 OGRSpatialReference *mCrs =
nullptr;
91 OGREnvelope *mEnv =
nullptr;
bool randomShift
Specify if apply random shift to the scene part (true) or not (false, by default) ...
Definition: ScenePart.h:70
std::vector< Vertex * > getAllVertices()
Obtain all vertices in the scene part.
Definition: ScenePart.cpp:36
std::vector< Primitive * > mPrimitives
Vector of pointers to primitives used by this scene part.
Definition: ScenePart.h:39
Definition: Rotation.h:80
Rotation mRotation
Specify the rotation for the scene part.
Definition: ScenePart.h:84
std::shared_ptr< LadLut > ladlut
Look-up table for leaf angle distribution.
Definition: ScenePart.h:75
bool splitSubparts()
Split each subpart into a different scene part, with the first one corresponding to this scene part...
Definition: ScenePart.cpp:85
double onRayIntersectionArgument
Specify the extra value to be used for ray intersection handling computation, when needed (depends on...
Definition: ScenePart.h:65
std::string onRayIntersectionMode
Specify the handling mode for ray intersections.
Definition: ScenePart.h:60
void smoothVertexNormals()
Smooth normals for each vertex computing the mean for each triangle using it.
Definition: ScenePart.cpp:47
double mScale
Specify the scale for the scene part.
Definition: ScenePart.h:88
Class representing a scene part.
Definition: ScenePart.h:16
glm::dvec3 mOrigin
Specify the origin for the scene part.
Definition: ScenePart.h:80
Abstract class defining the common behavior for all primitives.
Definition: Primitive.h:20
ScenePart()=default
Default constructor for a scene part.
std::string mId
Identifier for the scene part.
Definition: ScenePart.h:43
std::vector< size_t > subpartLimit
Vector specifying the limit of a subpart as the index of first element of next subpart.
Definition: ScenePart.h:56