korialis
5556f4184c
fixed some const correctness issues on tetrahedrons
2021-11-16 15:29:10 +01:00
Paolo Cignoni
0aac589996
removed useless HG components from the vertex component set
...
Replaced by much simpler attributes
2021-11-05 16:02:24 +01:00
alemuntoni
1980f1a775
curvature ocf const correctness
2021-09-15 15:15:28 +02:00
alemuntoni
d69e3e67cc
cleanups
2021-03-24 17:59:53 +01:00
alemuntoni
4f3162ece5
all included from used_types.h have been made self sufficient
2021-03-24 15:48:57 +01:00
alemuntoni
0a2ed11ac2
(partial) ply const correctness
2021-03-18 18:21:59 +01:00
alemuntoni
98ff47110d
const correctness for make a copy from a const right Mesh
2020-09-10 17:01:05 +02:00
Luigi Malomo
93abca0369
fixed import of vertex texcoord component
2019-12-10 17:02:24 +01:00
T.Alderighi
67a80722d5
removed tetra complex...bootstrapping tetra in trimesh:
...
base done
foreach done
Allocator done
Append done
quality selection topology WIP
clean todo
2018-05-04 18:12:02 +02:00
T.Alderighi
b0384f68d1
stable allocate and tetra complex
2018-05-03 15:05:42 +02:00
Guido Ranzuglia
90dc1657d2
- fixed a long list of possible crashes due to IsCurvatureEnabled calling IsCurvatureDirEnabled
2016-12-19 14:46:03 +01:00
Paolo Cignoni
32333eba24
Huge copyright sanitization of the header files of vcg folder.
2016-06-13 05:29:25 +00:00
Paolo Cignoni
b15c84c753
Added missing IsVEInititialized and VEClear
2016-04-11 20:41:34 +00:00
Gianpaolo Palma
684fe8d464
Fixed wrong typedefs in the per vertex CurvatureDir component (ScalarType).
...
Added missing typedef in EmptyCore.
Added typedef WedgeColorType and WedgeNormalType.
2015-10-26 12:52:44 +00:00
granzuglia
9ab06cc9ef
- removed dangerous assert
2015-07-30 12:32:22 +00:00
granzuglia
af5f31d4f7
- added default constructor to VFAdjType
...
- removed compile time error on Av.reserve function call
2014-11-06 23:21:04 +00:00
Paolo Cignoni
c7b6bd26bf
Significantly improved documentation of the components.
...
Added IsNull to the VF vertex component and coherent initialization of the vf adjacency.
2014-11-03 15:01:27 +00:00
granzuglia
26541cfeae
simplex/vertex/component_ocf.h:
...
- removed Visual Studio warnings
2014-08-09 10:08:15 +00:00
Paolo Cignoni
3b38917e95
corrected the ImportData of the curvature type.
2014-08-09 00:11:32 +00:00
Paolo Cignoni
76b91b9957
added import in the importdata members to support of different types of curvature (float/double)
2014-07-12 21:09:27 +00:00
Paolo Cignoni
eb642099f1
Corrected another typeclash in the curvature types (a CurVecType definition was missing in the emptycore component)
2014-06-24 08:41:41 +00:00
Paolo Cignoni
4198a3bd7c
Cleaned up various type name clashes. There were some components that wrongly re-defined <ScalarType> covering the real <ScalarType> of the simplex. Renamed to something less ambiguous (like CurScalarType for denoting the scalar type used inside curvature types).
2014-06-19 08:31:51 +00:00
Paolo Cignoni
df97ef0c36
Added zero initialization to quality component. (and corrected a small bug in the ocf quality component)
2013-09-24 13:55:23 +00:00
Paolo Cignoni
4665f36e40
Improved component documentation. Added IsVFInitialized, VFClear function for VF component. Clarified the difference between null and uninitialized for a VF component.
2013-03-13 14:02:03 +00:00
Paolo Cignoni
8111bcda24
Corrected a very nasty bug introduced in Revision 4782 that reorganized ocf face component and added a standard interface for query the availabiilty of data:
...
bool FaceType::IsXXXAvaialble() ,must be defined in the XXX ocf type and not in the info type otherwise it would be defined also for non ocf components.
2013-02-06 11:22:11 +00:00
Paolo Cignoni
b48b0e568c
added initialization of mark component to zero. So all the element it is sure that are unitialized after the first unmarkall.
2012-12-21 15:33:18 +00:00
Paolo Cignoni
8476a1ff20
Reorganized ocf vertex component and added a standard interface for query the availability of data:
...
now we have
static bool vertextype::HasXXX() // statically says if a certain type is present
bool vertextype::IsXXXAvaialble() // NON STATIC (always true for non ocf objects)
So now ImportData correctly works for both sides of vertex ocf component.
2012-12-17 22:54:48 +00:00
Paolo Cignoni
3b466514b3
Added Standard exception throwing functions to claim requirements in the mesh algorithmic functions (Te Deum!)
...
for example, now at the beginning of a function requiring FFAdjacency you should just write:
RequireFFAdjacency(mesh);
No more assert please.
2012-12-06 10:34:08 +00:00
Paolo Cignoni
3fb4e6d061
re-Added to all the data members of vertex the const access member
2012-11-27 12:16:16 +00:00
Paolo Cignoni
8b4d04be7a
Added a bunch of 'c' to component members to clarify constant access
2012-11-15 19:11:28 +00:00
Paolo Cignoni
51fe0fb938
Added a bunch of 'c' to component members to clarify constant access
2012-11-15 19:07:34 +00:00
Paolo Cignoni
5c266a7ccb
HEAVY CHANGE:
...
The vertex and face component (natural and optional) have been cleaned and reordered.
Particular care has been devoted to have common behaviour in the import, const access, and so.
If you get compilation errors probably it is due to the fact that if you really need constant access to a member you have to use the "c" prefixed member (e.g. if you access to normal of a constant vertex you should use the cN() member.
2012-11-15 19:04:08 +00:00
Paolo Cignoni
f2be4a4d95
mismatch in the VertexVectorHasVFAdjacency and FaceVectorHasVFAdjacency names
2012-11-14 12:37:18 +00:00
Paolo Cignoni
3170472174
added a IMark()->cIMark()
2012-11-08 18:35:38 +00:00
Paolo Cignoni
1046deb107
Corrected bug recently introduced due to small difference in the signature of the flags functions...
2012-11-07 15:42:14 +00:00
Paolo Cignoni
7bc4277fcd
Cleaned up documentation of components (new doxygroup for them, written something for most of them...).
...
Cleaned Edge components (Added adjacency stuff, implemented the single emptycore)
2012-11-07 01:24:45 +00:00
Paolo Cignoni
2523982d4d
harmless gcc warning (comment in comment)
2012-10-31 21:04:58 +00:00
Paolo Cignoni
d784bebe07
Added guards to avoid useless (and sometime dangerous) inclusion of internal file of the vcglib
2012-10-25 21:29:10 +00:00
Paolo Cignoni
671af109a9
improved vertex component documentation
2012-10-25 21:20:10 +00:00
Paolo Cignoni
9658740974
Improving documentation. Reordered groups and started documenting main components
2012-10-25 13:47:31 +00:00
Paolo Cignoni
4c0acdbb7c
Removed all the UberXXX members from the various components. No more needed since many years. Still there just because we are quite lazy...
2012-10-25 13:46:08 +00:00
Paolo Cignoni
049c996846
Removed all the UberXXX members from the various components. No more needed since many years. Still there just because we are quite lazy...
2012-10-25 13:16:03 +00:00
Paolo Cignoni
b045c9b992
Removed old useless files. Why do we kept them?
2012-10-25 13:01:34 +00:00
Paolo Cignoni
fb60087ee4
component_ocf are now part of the standard inclusion sequence of complex.h
...
No more need of including them.
It was needed to avoid the issue of wrong inclusion order that could trigger a failure in the partial specialization of the reflection functions that should say if a component is present or not...
2012-10-15 09:17:48 +00:00
Paolo Cignoni
2577210a54
**** SIGNIFICANT CHANGES *****
...
- Cleaned up include order: Now you only need to include <vcg/complex/complex.h> (no more vertex/base.h etc)
- Added official VN() EN() FN() const members for knowing number of vertexes etc...
- Added exceptions (at last!)
Now instead of:
assert(HasPerVertexNormal(m))
you should write:
if(!HasPerFaceNormal(m)) throw vcg::MissingComponentException();
2012-10-04 11:10:25 +00:00
Marco Di Benedetto
c209a384a0
fixed Color4bOcf interface (missing "public" section).
2012-08-22 18:36:59 +00:00
Paolo Cignoni
45b0deb7eb
Important Change: ** LastBitFlag ** now is named ** FirstUnusedBitFlag **
...
Corrected the name of the function allocating a user bit among the flags of the simplexes.
Changed in ALL the simplexes (vertex, edge, face, etc) and updating functions.
Note that the LastBitFlag should never be used by common users...
2012-07-18 09:37:32 +00:00
granzuglia
db57bd4e19
added missing public keyword on the static Name function of some ocf components.
2012-07-03 11:12:21 +00:00
ganovelli
0f99bd505e
changes and minor fix to enable input/output with VMI on memory
2012-07-02 14:38:10 +00:00
Nico Pietroni
c1e19b4b55
added assert(0) for cVFi function if does not exixts the component
2012-05-25 13:19:03 +00:00