Blender V4.3
OrientedLineRep.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
12#include "LineRep.h"
13
15
16namespace Freestyle {
17
18class OrientedLineRep : public LineRep {
19 public:
27 inline OrientedLineRep(const Vec3r &v1, const Vec3r &v2) : LineRep(v1, v2) {}
28
30 inline OrientedLineRep(const vector<Vec3r> &vertices) : LineRep(vertices) {}
31
33 inline OrientedLineRep(const list<Vec3r> &vertices) : LineRep(vertices) {}
34
35 virtual ~OrientedLineRep() {}
36
38 virtual void accept(SceneVisitor &v);
39};
40
41} /* namespace Freestyle */
Configuration definitions.
Class to define the representation of 3D Line.
ATTR_WARN_UNUSED_RESULT const BMVert * v2
ATTR_WARN_UNUSED_RESULT const BMVert * v
OrientedLineRep(const Vec3r &v1, const Vec3r &v2)
OrientedLineRep(const list< Vec3r > &vertices)
virtual void accept(SceneVisitor &v)
OrientedLineRep(const vector< Vec3r > &vertices)
inherits from class Rep
Definition AppCanvas.cpp:20